Difference between revisions of "ColorPalette"

From Free Pascal wiki
Jump to navigationJump to search
 
Line 21: Line 21:
  
 
===Sceenshots===
 
===Sceenshots===
 
+
[Image:ColorPalette.png|ColorPalette]
  
 
===Author===
 
===Author===

Revision as of 14:10, 27 October 2006

About

ColorPalette is a color palette grid with custom palette support. The OnColorPick event is fired when user picks a color. The LoadPalette procedure loads custom palette.

Custom palette example:

$COLS 8
# sets count of palette grid columns

0,0,0
# inserts color r,g,b
255,255,255

$NONE
# inserts empty palette grid cell

$BLENDWB 128,128,128 3
# creates color gradient white -> color -> black with specified steps


This component is designed for cross-platform usage.

Sceenshots

[Image:ColorPalette.png|ColorPalette]

Author

Tom Gregorovic

License

Modified LGPL

Download

Comming soon...

Change Log

  • Version 0.1

Notes

Status: Alpha

Issues:

  • Tested on Windows XP.
  • Tested with gtk1 and gtk2 under Linux (Kubuntu 6.06).

Installation

Install LazColorPalette package in the Lazarus IDE. The ColorPalette is added to the 'Misc' component palette page.