WoW:Using the ColorPickerFrame: Difference between revisions

Line 62: Line 62:
This can then be used with the previously described ShowColorPicker function:
This can then be used with the previously described ShowColorPicker function:
  ShowColorPicker(r, g, b, a, myColorCallback);
  ShowColorPicker(r, g, b, a, myColorCallback);
==Limitations==
[[File:ColorPickerTools.jpg|320px|right|thumb|ColorTools.]]
The color picker has three main limitations:
*You have no way to know exactly which color is chosen (no color code)
*You can't copy color values from one instance of the color picker to another one
*You cannot move the color picker in case it obscures another underlying frame
All these problems are solved with the addon [http://wow.curse.com/downloads/wow-addons/details/colortools.aspx ColorTools ].