Difference between revisions of "ColorPalette"

From Lazarus wiki
Jump to navigationJump to search
Line 23: Line 23:
  
 
===Sceenshots===
 
===Sceenshots===
<center>[[Image:ColorPalette.png|ColorPalette]]<\center>
+
<center>[[Image:ColorPalette.png|ColorPalette]]</center>
  
 
===Author===
 
===Author===

Revision as of 17:37, 12 June 2007

English (en) français (fr)

About

ColorPalette is a color palette grid with ability to use custom palette. 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

ColorPalette

Author

Tom Gregorovic

License

Modified LGPL

Download

ColorPalette on the Lazarus CCR at SourceForge.net

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.