Download
(34Kb)
Download
Updated: 05-19-21 03:23 PM
Pictures
File Info
Compatibility:
The Burning Crusade Classic (2.5.1)
Shadowlands patch (9.0.5)
Classic Patch (1.13.5)
Updated:05-19-21 03:23 PM
Created:10-30-10 08:23 PM
Downloads:11,740
Favorites:139
MD5:

ColorPickerPlus  Popular! (More than 5000 hits)

Version: r50
by: jaslm [More]

ColorPickerPlus replaces the standard Color Picker to provide

  • color specification through a hue bar and gradient box
  • text entry for colors (RGB, hex, and HSV)
  • text entry for the alpha value (transparency/opacity)
  • a 36-swatch color palette that can be used for copy/paste
  • a class color palette
  • a copy/paste independent of palettes
  • a movable frame
  • a color swatch for the color to be replaced
  • a color swatch for the chosen color
With these enhancements, you can precisely describe a color and coordinate colors within and between add-ons.

Left-click on a palette swatch will choose that color.

Shift-left-click on a palette swatch will save the chosen color into the palette.

To switch between the customizable palette and the class color palette, click the button labelled "@".

Control-left-click on the chosen color will print the decimal RGB values for the color into the chat window. This was added as a utility for add-on developers.

This version works on three servers now (retail, classic classic, burning crusade classic).
Archived Files (1)
File Name
Version
Size
Author
Date
r49
33kB
jaslm
05-19-21 11:31 AM


Post A Reply Comment Options
Unread 05-19-21, 03:26 PM  
jaslm
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 13
Uploads: 1
Re: Multi-Version support

Originally Posted by Sunnova
If your code can run on all three versions of wow, create a ColorPickerPlus-BCC.toc file with interface of 20501, and a ColorPickerPlus-Classic.toc interface of 11307. Leave your standard .toc file for retail, and now no one will have to edit the toc for the different versions of the game.
Many thanks for providing me with this simple solution to the version problem!
Report comment to moderator  
Reply With Quote
Unread 05-19-21, 12:59 PM  
Sunnova
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 5
Uploads: 4
Multi-Version support

If your code can run on all three versions of wow, create a ColorPickerPlus-BCC.toc file with interface of 20501, and a ColorPickerPlus-Classic.toc interface of 11307. Leave your standard .toc file for retail, and now no one will have to edit the toc for the different versions of the game.
Report comment to moderator  
Reply With Quote
Unread 01-19-19, 01:12 PM  
jaslm
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 13
Uploads: 1
Originally Posted by Lybrial
How to open that addon?
When it is installed, ColorPickerPlus replaces the standard ColorPicker in the game. The way to see it is simple to bring up the ColorPicker. There are lots of places to do that, for example, setting a text color in the chat area options...
Report comment to moderator  
Reply With Quote
Unread 01-19-19, 11:41 AM  
Lybrial
A Flamescale Wyrmkin
AddOn Compiler - Click to view compilations

Forum posts: 120
File comments: 55
Uploads: 1
How to open that addon?
Report comment to moderator  
Reply With Quote
Unread 03-05-17, 09:15 AM  
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1240
File comments: 226
Uploads: 21
Re: Re: Potentially stupid question...

Originally Posted by jaslm
Originally Posted by myrroddin
As an author of AddOns, how would I support this in my code? Is it a drop n replace for the default colour picker? There is an AceOptions-3.0 call to "color" to use the colour picker in the Interface/AddOns list; will that be affected?
Your code simply makes calls for the default ColorPicker. If the user has the ColorPickerPlus addon enabled, that's what they will get instead of the default ColorPicker.
Awesome! Thank you for writing something that should be in the default UI.
Report comment to moderator  
Reply With Quote
Unread 02-25-17, 04:07 PM  
jaslm
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 13
Uploads: 1
Re: Potentially stupid question...

Originally Posted by myrroddin
As an author of AddOns, how would I support this in my code? Is it a drop n replace for the default colour picker? There is an AceOptions-3.0 call to "color" to use the colour picker in the Interface/AddOns list; will that be affected?
Your code simply makes calls for the default ColorPicker. If the user has the ColorPickerPlus addon enabled, that's what they will get instead of the default ColorPicker.
Report comment to moderator  
Reply With Quote
Unread 02-25-17, 08:57 AM  
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1240
File comments: 226
Uploads: 21
Potentially stupid question...

As an author of AddOns, how would I support this in my code? Is it a drop n replace for the default colour picker? There is an AceOptions-3.0 call to "color" to use the colour picker in the Interface/AddOns list; will that be affected?
Report comment to moderator  
Reply With Quote
Unread 12-08-16, 01:27 PM  
jaslm
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 13
Uploads: 1
R35 - major changes to ColorPickerPlus

The latest version of ColorPickerPlus involved major changes to override the problems with the Blizzard ColorPicker API. It includes a different way of entering color values with a hue bar and saturation/brightness gradient square, and adds a palette in which you can store your own 36 colors.

There is no "copy/paste" anymore, because you can do that by saving a color to the palette and then reusing it where you like.

Looking forward to hearing whether it meets your color-picking needs.
Report comment to moderator  
Reply With Quote
Unread 10-31-16, 04:00 PM  
jaslm
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 13
Uploads: 1
ColorPickerPlus not displaying properly

The default ColorPicker and ColorPickerPlus are both somewhat broken. It will take a change by Blizzard to fix this problem. Here's what I reported:

The ColorPickerFrame display does not reflect the color passed in on the ColorSelect:Show call. This can be seen in the color wheel, bar and swatch. The initial display shows white as the color setting, and thereafter whatever color the last click set the value on the wheel to.

This breaks both the default ColorPicker and my addon ColorPickerPlus.

ColorSelect:SetColorRGB seems to set color internally, but not to display it properly in the WoW widgets.

ColorPickerPlus can still copy and paste colors, and allows text entry, but without the display working properly, it's pretty confusing.
Report comment to moderator  
Reply With Quote
Unread 08-15-16, 10:31 AM  
jaslm
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 13
Uploads: 1
Originally Posted by pikadude1006
The shift-copy to print 0-100 values feature is currently broken. The issue is that IsShiftKeyDown() == 1 is used to see if the shift key is being held. This function has returned true/false rather than 1/0 for some time now. Changing line 98 to;

if IsShiftKeyDown() then

Has fixed it on my client.
Thank you, pikadude1006. The fix is in r31 now.
Report comment to moderator  
Reply With Quote
Unread 08-15-16, 06:33 AM  
pikadude1006
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 23
Uploads: 2
The shift-copy to print 0-100 values feature is currently broken. The issue is that IsShiftKeyDown() == 1 is used to see if the shift key is being held. This function has returned true/false rather than 1/0 for some time now. Changing line 98 to;

if IsShiftKeyDown() then

Has fixed it on my client.
Report comment to moderator  
Reply With Quote
Unread 07-31-16, 02:39 PM  
jaslm
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 13
Uploads: 1
Originally Posted by Bizerk
Most addons use values between 0-1 for colors can you add that as an input?
Most users have access to external color tables in RGB or Hex, and I'd rather not complicate the interface just for WoW add-on writers. They can always multiply the 0-1 value by 255 for the RGB value.

Some time back I added the shift-click on the Copy button to allow add-on developers to see what the selected color would be in the 0-1 notation. That was to help with color specification internal to their add-on code. I don't plan to support it in the other direction.
Last edited by jaslm : 07-31-16 at 02:40 PM.
Report comment to moderator  
Reply With Quote
Unread 07-31-16, 02:24 PM  
Bizerk
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 81
Uploads: 1
Most addons use values between 0-1 for colors can you add that as an input?
Last edited by Bizerk : 07-31-16 at 02:24 PM.
Report comment to moderator  
Reply With Quote
Unread 10-22-12, 07:50 PM  
Doondoon
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 16
File comments: 40
Uploads: 1
This Mod seems to have completely messed up my colours, all colours i pick are very very dull and completely not the colour i picked, now have to go photoshop find the rbg and edit the lua

Ok on further inspection, it appears this is my bad. The text boxes aren't big enough for my font i guess to display 3 figures, so it only displays 2, this is where i was going wrong.
Last edited by Doondoon : 10-22-12 at 07:56 PM.
Report comment to moderator  
Reply With Quote
Unread 02-21-11, 09:30 AM  
jaslm
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 13
Uploads: 1
Originally posted by BobJustBob
Great AddOn. I've been using EnhancedColorPicker for the longest time, and this was a nice upgrade, the hex input is really nice especially.
Thank you!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: