Thread Tools Display Modes
04/29/14, 12:48 PM   #1
lyravega
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 93
Icon Texture Replace?

Is there a way to replace an icon with a rather simple code?

Complex is fine too, anything! Also, is there a place that I can check/learn about the codes like "ZO_..."?

Last edited by lyravega : 04/29/14 at 12:51 PM.
  Reply With Quote
04/29/14, 01:23 PM   #2
Iyanga
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 183
<Control>:SetTexture(string filename)

That's a one-liner, if you are lucky.

You just need to know what to insert as <Control>, which depends on what you actually want to replace and the filename of the texture, which depends on what you want the texture to be.
  Reply With Quote
04/29/14, 01:49 PM   #3
lyravega
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 93
Thanks I know the filename, I'll figure the control with trial and error hopefully.

By the way, the <Control> stuff, is there a list of these anywhere? The wiki helps with API and EVENTS, but rest I have hard time trouble finding.
  Reply With Quote
04/29/14, 03:33 PM   #4
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 648
You can use the Zgoo addon.
  Reply With Quote
04/29/14, 09:39 PM   #5
lyravega
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 93
Thank you very much, that addOn was very useful!

Question; is there anything I should pay attention while replacing an icon, for example? Anything I should do beforehand or afterwards? Or simply doing it is fine?
  Reply With Quote
04/29/14, 09:53 PM   #6
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 648
Well, again, it depends on what you are replacing and when.
  Reply With Quote
04/29/14, 10:53 PM   #7
lyravega
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 93
Just simple icons And they'll be replaced with custom stuff, so I was thinking of putting a function which would replace them in my "initialize" function. It'll run once in short, on load.
  Reply With Quote
04/29/14, 11:11 PM   #8
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 648
Then you should be fine.
  Reply With Quote
04/29/14, 11:36 PM   #9
lyravega
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 93
Alright, thank you very much!
  Reply With Quote
04/29/14, 11:58 PM   #10
ingeniousclown
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 122
I have an artist working on icons for me for Advanced Filters, s/he figured out that if you don't save your .dds textures with mipmaps, it will come out more crisp. Great for iconography, probably bad for general texturing.

...not sure if that helps you.
  Reply With Quote
04/30/14, 12:16 AM   #11
lyravega
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 93
Thanks for the information
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Icon Texture Replace?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off