Color picker
Is there a way to embed the color picker into my own frame instead of using WoW's popup? Would I just have to look into the colorpicker.xml and recreate it for my own use, or is there another way?
|
The ColorPickerFrame primarily uses the ColorPickerFrame.func to tell something that is has been used to "select" a color (as the mouse drags across it etc..). You can use it with any widget that has a region that can change color (Texture, FontString) or to just to get the changed r, g, b values.
You can create a Button, make it look like anything then eg. Lua Code:
Just the basic basics. You would need to decide what to do to make it work for your situation (and fix any errors, cold coded). If you want to use a different color picker maybe color picker advanced but I don't know how that one works but presumably the same...ish |
What are you working on with the color picker? Have you considered using a different color picker, like Color Picker Advanced, for your project?
|
I actually changed what I am doing for this, so think you for the responses :)
|
All times are GMT -6. The time now is 10:28 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI