Thread Tools Display Modes
06-05-11, 09:14 AM   #1
Zax
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 147
[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.
  Reply With Quote
06-11-11, 08:45 PM   #2
Lombra
A Molten Giant
 
Lombra's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 554
I think ChatConfigCheckBoxWithSwatchTemplate does something like that. At least visually. Find it in ChatConfigFrame.xml.
__________________
Grab your sword and fight the Horde!
  Reply With Quote
06-12-11, 02:11 AM   #3
Zax
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 147
Thanks Lombra, that's what I searched for
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » [HELP] XML widget to call the ColorPicker?


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