lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO Libraries

Category: LotRO Libraries[Class] Another Color Picker
Interface Information
Download
Thurallor's Portal Bug Reports Feature Requests
How do I install this? (FAQ)
Name: [Class] Another Color Picker   Popular!
Author:
Date: 11-15-2022 11:12 PM
Size: 581.60 Kb
Version: 3.0
Rate File: 5 out of 5 with 2 votes  
Pictures
Click to enlarge 

Views: 0
Size: 96.62 Kb
Dimensions: 426 x 319
ColorPicker in action
 
Click to enlarge 

Views: 0
Size: 71.19 Kb
Dimensions: 422 x 320
You can "freeze" any dimension at a certain value (e.g. Hue = 270 deg.)
 
Description
Note: I am no longer playing LOTRO or doing plugins. Any other competent plugin author is invited to take over maintenance of this and/or any of my other plugins. --Thurallor 6/13/2023

Introduction

Here's a handy "Color Picker" class to be used in your own plugins. I created this because I needed it for my plugins and there wasn't an existing class that allowed you to view the full gamut of available colors. (Galuhad's Color Picker is fine for most purposes, but it only shows colors that have 100% saturation. You can't choose "washed out" colors with it.)

The user interface is one that nearly all users will find familiar. You can use the red/green/blue or the hue/saturation/value color space, whichever is more comfortable to you.

How to Use
  1. Place the Thurallor directory from the attached zip file into your Plugins directory.
  2. You can use the "ColorPickerDemo" plugin to try it out.
  3. Look at the ColorPickerDemo.lua source code for an example of how to use the class in your own plugins.
Revision History
  • Version 3.0 (15-Nov-2022):
    • Accommodates the (unannounced) API change introduced in Update 34.
    • New feature: You can now restrict the color palette by "freezing" a dimension (R, G, B, H, S, V) at a certain value.
    • Adds Portuguese language support.
  • Version 2.3 (28-Aug-2015):
    • Bug fix: Not assigning a ColorChanged event handler will no longer generate error messages.
    • The source code will now discover its own location; you no longer have to set the ThurallorDir variable.
  • Version 2.2 (20-Apr-2015):
    • The window now properly handles screen size changes by redrawing itself.
    • You can now press the enter key as an equivalent to clicking the OK button.
    • English color names will no longer be displayed in non-English clients.
  • Version 2.1 (24-Oct-2014): Fixed a minor portability bug.
  • Version 2.0 (18-Oct-2014): Added "Turbine Colors" and "Recent Colors" swatch lists.
  • Version 1.0 (7-Oct-2013): Bug fixes
  • Version 0.9 (6-Oct-2013): Initial release.
Archive List (Old Versions)
File Name
Version
Size
Author
Date
2.3
576.82 Kb
Thurallor
08-28-2015 04:01 PM
2.2
576.05 Kb
Thurallor
04-20-2015 01:44 PM
2.1
574.93 Kb
Thurallor
10-24-2014 05:52 PM
2.0
572.46 Kb
Thurallor
10-18-2014 01:24 PM
1.0
561.19 Kb
Thurallor
10-07-2013 06:06 PM
File Statistics
User Rating:
5 out of 5 with 2 votes
Downloads: 27356
Views: 70883
Favorites: 2
Uploaded By:
 
Last Modified: 06-13-2023 11:18 AM by Thurallor    

View Pictures. Download Now! Post A Comment

There have been no comments posted to this file.
Be the first to add one.

 
Category Jump:
Search this Category:
 

All times are GMT -5. The time now is 06:54 PM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui