Quantcast
Download
(33 Kb)
Download
Updated: 07-27-17 03:11 PM
Pictures
File Info
Compatibility:
Tomb of Sargeras (7.2.0)
Updated:07-27-17 03:11 PM
Created:10-30-10 08:23 PM
Downloads:8,015
Favorites:131
MD5:

ColorPickerPlus  Popular! (More than 5000 hits)

Version: r43
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.

------------------------------------------------------------------------
r41 | [email protected] | 2017-03-04 17:38:48 -0600 (Sat, 04 Mar 2017) | 1 line
Changed paths:
M /trunk/ColorPickerPlus.lua

Addition of Class Colors Palette, and button that switches between customizable palette and Class Colors Palette.
Archived Files (8)
File Name
Version
Size
Author
Date
r42
32kB
jaslm
03-29-17 01:54 PM
r41
32kB
jaslm
03-05-17 09:00 AM
r38
32kB
jaslm
01-14-17 08:45 AM
r37
32kB
jaslm
12-30-16 04:08 PM
r36
32kB
jaslm
12-12-16 12:27 PM
r35
34kB
jaslm
12-08-16 01:16 PM
r33
25kB
jaslm
10-25-16 04:27 PM
r32
26kB
jaslm
09-10-16 03:01 PM


Post A Reply Comment Options
Unread 03-05-17, 09:15 AM  
myrroddin
A Molten Giant
 
myrroddin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 844
File comments: 198
Uploads: 13
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: 11
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 Molten Giant
 
myrroddin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 844
File comments: 198
Uploads: 13
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: 11
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: 11
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: 11
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: 11
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: 2
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: 11
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
Unread 02-21-11, 05:37 AM  
BobJustBob
A Murloc Raider

Forum posts: 4
File comments: 15
Uploads: 0
Great AddOn. I've been using EnhancedColorPicker for the longest time, and this was a nice upgrade, the hex input is really nice especially.
Report comment to moderator  
Reply With Quote
Unread 11-19-10, 03:31 PM  
jaslm
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 11
Uploads: 1
Originally posted by Astrocanis
It would be nice if it were capable of being called independently.
This addon works to extend the basic color picker within the game, so any time you bring up the WoW color dialog it will have the additions this offers. I'm not quite sure what you're asking for. Could you explain a bit more?
Report comment to moderator  
Reply With Quote
Unread 11-19-10, 07:39 AM  
Astrocanis
A Black Drake

Forum posts: 84
File comments: 28
Uploads: 0
It would be nice if it were capable of being called independently.
Report comment to moderator  
Reply With Quote
Unread 11-09-10, 07:55 PM  
jaslm
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 11
Uploads: 1
Originally posted by Xhelius
The only thing missing for me would be the ability to adjust the Alpha channel. EnhancedColorPicker allows this. Thanks ! !
ColorPickerPlus supports alpha channel input. See the second photo of the dialog box. It depends totally on the calling addon whether to allow adjustment of transparency.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: