That makes sense I guess. A little disheartening, but sure clears up some of the behaviors I've seen.
Well, in this instance I'd like to create four buttons (which I do by array). Then I'm calling Set[Highlight/Disabled/Normal/Pushed]Texture to each of these buttons. They don't need to be secure or anything jazzy since each of them only open up a sub panel in the Mod itself, But I'd like to be able to change the icons on the fly (I have a pre-tailored directory to choose icons from). I'm thinking I'll need to call the appropriate Set[]Texture again on the chosen button with the new texture, something like:
f[1]:SetPushedTexture("\\Interface\\BUTTONS\\internal_artwork_example")
Is repetition of calling this function on the button some 20 times in a row going to cause any problems? (I'd like to reuse a button for a preview)
↧