|
|
#1 |
|
Member
Join Date: Oct 2006
Posts: 21
|
OK, for icons....
I understand the call, but I need to dynamically update the icon texture when the value of the field that the icon is under is changed. How can you dynamically update the icon texture via the AceConfig gui calls? I mean, is there a way to change it dynamically through the "get" argument? I'm making a rather complex options setup for my addon, sorry for all the questions, I'm really pushing the limits of the framework. for example (I know this is not proper!) Code:
mytest= {
order = 1,
type = 'input',
icon = function() return("Interface\\Buttons\\UI-GroupLoot-Pass-Up") end,
name = "test",
get = function(info, texval) <change "icon" above to a new texture from 'texval'> end,
},
Thanks, again. Last edited by Soren; 04-12-2011 at 04:03 PM. |
|
|
|
|
|
#2 |
|
Asian Sheep Lover
Join Date: Aug 2007
Location: Singapore
Posts: 4,033
|
set = function(info, texval) mytests.icon = "new\\texture\\path" end,
mytests.icon shouldn't even be a function to begin with.
__________________
Author/Maintainer of Postal, Omen3, GemHelper, BankItems, WoWEquip, GatherMate, Routes, HandyNotes and some others. |
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
All times are GMT. The time now is 10:41 AM.
WowAce Forums




