I have installed your mod and it sounds useful, However I'm not seeing any place in the menu to activate corner icons. Would it look like the side icons configuration or am I missing some thing?
I'm a tard! It seems as though it failed to download. All is well.
I am wondering if it would be possible to have functionality like gridstatushots where you can limit the icons to 'my lifebloom' etc?
GridIndicatorCornerIcons provides an indicator. It doesn't know anything about the status(es) you choose to display through it. To change something about a status (such as showing only your Lifebloom) you need to change that setting in the options for that status.
I opened a ticket for an issue regarding the option window of Grid. Somehow the new tabbed options of Grid are broken (layout-wise) on the "frame"-tab if I activate one of your indicator plugins. Please take a look at this ticket here I opened for this issue over at the Grid issue tracker. I also saw that GridManaBars was updated with or because of the same problem - perhaps you can get some ideas from the author.
The original GridFrame - Icon supports an additional parameter for "SetIndicator": the texCoords (just after the stack-argument).
This parameter may be a table of the 4 coords: {left, right, top, bottom} which are used to crop an icon from a texture-file (WoW-API http://www.wowwiki.com/API_Texture_SetTexCoord)
Message: ...ridIndicatorCornerIcons\GridIndicatorCornerIcons.lua:373: attempt to index field 'Indicators' (a nil value)
Time: 12/10/12 19:06:45
Count: 1
Stack: ...ridIndicatorCornerIcons\GridIndicatorCornerIcons.lua:373: in function `CleanOptionsMenu'
...ridIndicatorCornerIcons\GridIndicatorCornerIcons.lua:346: in function <...ridIndicatorCornerIcons\GridIndicatorCornerIcons.lua:342>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
...rkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:514: in function `InitializeAddon'
...rkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:629: in function <...rkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:621>
Locals: <none>
Message: ...ridIndicatorCornerIcons\GridIndicatorCornerIcons.lua:373: attempt to index field 'Indicators' (a nil value)
Time: 12/10/12 19:06:50
Count: 1
Stack: ...ridIndicatorCornerIcons\GridIndicatorCornerIcons.lua:373: in function <...ridIndicatorCornerIcons\GridIndicatorCornerIcons.lua:372>
[C]: in function `UpdateOptionsMenu'
Interface\AddOns\Grid\GridFrame.lua:1357: in function `PostReset'
Interface\AddOns\Grid\GridCore.lua:203: in function `Reset'
Interface\AddOns\Grid\GridFrame.lua:1334: in function <Interface\AddOns\Grid\GridFrame.lua:1308>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
...rkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:543: in function <...rkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:536>
(tail call): ?
(tail call): ?
...
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
...rkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:543: in function `EnableAddon'
...rkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:636: in function <...rkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:621>
[C]: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:299: in function `UIParentLoadAddOn'
Interface\FrameXML\UIParent.lua:322: in function `CombatLog_LoadUI'
Interface\FrameXML\UIParent.lua:692: in function <Interface\FrameXML\UIParent.lua:657>
Locals: self = <table> {
SetDefaultModuleLibraries = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:383
UpdateFrameUnits = <function> defined @Interface\AddOns\Grid\GridFrame.lua:1418
EnableModule = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:348
modules = <table> {
}
CancelTimer = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3-AceTimer\AceTimer-3.0.lua:311
IterateEmbeds = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:458
ResetAllFrames = <function> defined @Interface\AddOns\Grid\GridFrame.lua:1391
RegisterFrame = <function> defined @Interface\AddOns\Grid\GridFrame.lua:1375
SendMessage_UpdateFrameUnits = <function> defined @Interface\AddOns\Grid\GridFrame.lua:1337
InvertBarColor = <function> defined @Interface\AddOns\Grid\GridFrame.lua:1408
defaultModuleState = true
IsEnabled = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:467
ScheduleTimer = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3-AceTimer\AceTimer-3.0.lua:276
DisableModule = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:366
RegisterMessage = <function> defined @Interface\AddOns\ArkInventory\Libs\CallbackHandler\CallbackHandler-1.0.lua:117
UnregisterMessage = <function> defined @Interface\AddOns\ArkInventory\Libs\CallbackHandler\CallbackHandler-1.0.lua:180
RegisterBucketEvent = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3-AceBucket\AceBucket-3.0.lua:213
Grid_StatusLost = <function> defined @Interface\AddOns\Grid\GridFrame.lua:1567
db = <table> {
}
LibSharedMedia_Update = <function> defined @Interface\AddOns\Grid\GridFrame.lua:1341
StatusForIndicator = <function> defined @Interface\AddOns\Grid\GridFrame.lua:1497
SetEnabledState = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:440
enabledState = true
RegisterEvent = <function> defined @Interface\AddOns\ArkInventory\Libs\CallbackHandler\CallbackHandler-1.0.lua:117
IterateModules = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3-AceAddon\AceAddon-3.0.lua:453
UpdateOptionsMenu = <function> defined =[C]:-1
registeredFrameCount = 26
InitializeFrame = <function> defined @Interface\AddOns\Grid\GridFrame.lua:54
InitialConfigFunction = <function> defined @Interface\AddOns\Grid\GridFrame.lua:43
Enable = <function> defined @Interface\AddOns\Ark
In the function GridIndicatorCornerIcons:CleanOptionsMenu() (lines 372-411), all occurrences of "Indicators" should be replaced by "GridIndicator", as seen in the code:
function GridIndicatorCornerIcons:CleanOptionsMenu()
if not Grid.options.args.GridIndicator.args.iconTLcornerleft then return end
if not GridIndicatorCornerIcons:IsEnabled() then return end
Grid.options.args.GridIndicator.args.GridIndicatorCornerIcons = {
type = "group",
icon = "Interface\\AddOns\\GridIndicatorCornerIcons\\GridIndicatorCornerIcons-icon-TRTLBLBR",
name = L["Icon (Corners)"],
desc = L["Options for Icon (Corners) indicators."],
order = 8.2,
args = {
["iconTLcornerleft"] = Grid.options.args.GridIndicator.args.iconTLcornerleft,
["iconTLcornerright"] = Grid.options.args.GridIndicator.args.iconTLcornerright,
["iconTRcornerleft"] = Grid.options.args.GridIndicator.args.iconTRcornerleft,
["iconTRcornerright"] = Grid.options.args.GridIndicator.args.iconTRcornerright,
["iconBLcornerleft"] = Grid.options.args.GridIndicator.args.iconBLcornerleft,
["iconBLcornerright"] = Grid.options.args.GridIndicator.args.iconBLcornerright,
["iconBRcornerleft"] = Grid.options.args.GridIndicator.args.iconBRcornerleft,
["iconBRcornerright"] = Grid.options.args.GridIndicator.args.iconBRcornerright
}
}
Grid.options.args.GridIndicator.args.GridIndicatorCornerIcons.args.iconTLcornerleft.icon = "Interface\\AddOns\\GridIndicatorCornerIcons\\GridIndicatorCornerIcons-icon-TLleft"
Grid.options.args.GridIndicator.args.GridIndicatorCornerIcons.args.iconTLcornerright.icon = "Interface\\AddOns\\GridIndicatorCornerIcons\\GridIndicatorCornerIcons-icon-TLright"
Grid.options.args.GridIndicator.args.GridIndicatorCornerIcons.args.iconTRcornerleft.icon = "Interface\\AddOns\\GridIndicatorCornerIcons\\GridIndicatorCornerIcons-icon-TRleft"
Grid.options.args.GridIndicator.args.GridIndicatorCornerIcons.args.iconTRcornerright.icon = "Interface\\AddOns\\GridIndicatorCornerIcons\\GridIndicatorCornerIcons-icon-TRright"
Grid.options.args.GridIndicator.args.GridIndicatorCornerIcons.args.iconBLcornerleft.icon = "Interface\\AddOns\\GridIndicatorCornerIcons\\GridIndicatorCornerIcons-icon-BLleft"
Grid.options.args.GridIndicator.args.GridIndicatorCornerIcons.args.iconBLcornerright.icon = "Interface\\AddOns\\GridIndicatorCornerIcons\\GridIndicatorCornerIcons-icon-BLright"
Grid.options.args.GridIndicator.args.GridIndicatorCornerIcons.args.iconBRcornerleft.icon = "Interface\\AddOns\\GridIndicatorCornerIcons\\GridIndicatorCornerIcons-icon-BRleft"
Grid.options.args.GridIndicator.args.GridIndicatorCornerIcons.args.iconBRcornerright.icon = "Interface\\AddOns\\GridIndicatorCornerIcons\\GridIndicatorCornerIcons-icon-BRright"
Grid.options.args.GridIndicator.args.iconTLcornerleft = nil
Grid.options.args.GridIndicator.args.iconTLcornerright = nil
Grid.options.args.GridIndicator.args.iconTRcornerleft = nil
Grid.options.args.GridIndicator.args.iconTRcornerright = nil
Grid.options.args.GridIndicator.args.iconBLcornerleft = nil
Grid.options.args.GridIndicator.args.iconBLcornerright = nil
Grid.options.args.GridIndicator.args.iconBRcornerleft = nil
Grid.options.args.GridIndicator.args.iconBRcornerright = nil
end
Apparently the latest version of Grid changed that argument. I tested the change locally and it works fine; however the configuration doesn't seem to work, but I think that's a moot point.
The problem you are all complaining about (in the posts I've deleted so as not to clutter up the thread) was fixed in December. If you don't see it in the Curse Client, either change your Curse Client settings to show you alpha versions, or download the update by hand from the link above.
http://www.wowace.com/addons/grid-indicator-corner-icons/files/
Thanks, mleebert. :)
I'm a tard! It seems as though it failed to download. All is well.
I am wondering if it would be possible to have functionality like gridstatushots where you can limit the icons to 'my lifebloom' etc?
GridIndicatorCornerIcons provides an indicator. It doesn't know anything about the status(es) you choose to display through it. To change something about a status (such as showing only your Lifebloom) you need to change that setting in the options for that status.
I opened a ticket for an issue regarding the option window of Grid. Somehow the new tabbed options of Grid are broken (layout-wise) on the "frame"-tab if I activate one of your indicator plugins. Please take a look at this ticket here I opened for this issue over at the Grid issue tracker. I also saw that GridManaBars was updated with or because of the same problem - perhaps you can get some ideas from the author.
Thanks in advance!
This parameter may be a table of the 4 coords: {left, right, top, bottom} which are used to crop an icon from a texture-file (WoW-API http://www.wowwiki.com/API_Texture_SetTexCoord)
Could you please extend your Icon-Indicators to also handle this parameter? Grid-Status-Plugins that makes use of it, can't be used with your corner-icons:
(used texture in this example: http://wowprogramming.com/utils/artbrowser/Interface/LFGFRAME/LFGROLE.png)
For Reference:
GridFrame.lua:665 & GridFrame.lua:722
By the way: Thanks for your awesome plugins.
http://www.wowace.com/addons/grid-indicator-corner-icons/files/
The toc is 50100 for the upcoming 5.1 Patch. Enable 'Load out of date AddOns' for current live server.
(btw. it's used by http://www.curse.com/addons/wow/gridstatusroleblizzicons)
In the function GridIndicatorCornerIcons:CleanOptionsMenu() (lines 372-411), all occurrences of "Indicators" should be replaced by "GridIndicator", as seen in the code:
Apparently the latest version of Grid changed that argument. I tested the change locally and it works fine; however the configuration doesn't seem to work, but I think that's a moot point.
Update your plugin!
The problem you are all complaining about (in the posts I've deleted so as not to clutter up the thread) was fixed in December. If you don't see it in the Curse Client, either change your Curse Client settings to show you alpha versions, or download the update by hand from the link above.