WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   [HELP] XML widget to call the ColorPicker? (https://www.wowinterface.com/forums/showthread.php?t=40407)

Zax 06-05-11 09:14 AM

[HELP] XML widget to call the ColorPicker?
 
Hello,

I have a settings UI in one of my addons that allows to choose a color but I don't know how to display this small colored square.
This square show which color ahs been chosen and opens the built-in ColorPicker when clicked.

I looked into some addons - like RatingBuster or GatherMate2 for example - but didn't understand how these squares are made and displayed in the settings UI.

Thanks for your help.

Lombra 06-11-11 08:45 PM

I think ChatConfigCheckBoxWithSwatchTemplate does something like that. At least visually. Find it in ChatConfigFrame.xml.

Zax 06-12-11 02:11 AM

Thanks Lombra, that's what I searched for :)


All times are GMT -6. The time now is 10:41 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI