How to display an icon ?
Hello !
I am a begginer in addon building. I found a tutorial for text or frame but I didnt find anything about icon. I think I can use this http://wiki.esoui.com/Texture_List but it is all I found for help me :/ Can someone help me ? Thanks ! |
Hi Skyndia,
there are two ways showing icons.
All you need is to know a valid path. But the WIKI list is a bit out-dated. One way to find those paths is to scan the LUA scripts of the game for strings starting with "esoui/art/". Look here: http://www.esoui.com/forums/showpost...2&postcount=56 For you own DDS files the path is "OurAddonFolder/OurOptionalSubPath/OurImage.dds" It must be DDS (paint.net and gimp can save that format) The image width and height must match 2^n (2,4,8,16,32,64,....) I guess our masters can tell you more. CU Quote:
|
You can also use xml declaration as below :
Lua Code:
It's a detailled and complex display, but you can only use Lua Code:
per exemple. I'll update the wiki with all 1.6 stuff this weekend, not in the mood to code. |
Thank you both, now I can work on this :)
|
You also can use Photoshop to open, edit and save DDS files by using the official NVIDIA Texture Tools.
And note that even if it isn't mentioned, it also works with Photoshop CC 2014. |
You can use this to view textures. It does not have every texture, but it has over 3400.
You can find it here: TextureIt |
All times are GMT -6. The time now is 06:27 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI