Difference between revisions of "ColorPalette"

From Lazarus wiki
Jump to navigationJump to search
Line 46: Line 46:
 
===Installation===
 
===Installation===
 
Install LazColorPalette package in the Lazarus IDE. The ColorPalette is added to the 'Misc' component palette page.
 
Install LazColorPalette package in the Lazarus IDE. The ColorPalette is added to the 'Misc' component palette page.
 +
 +
[[Category:Components]]

Revision as of 06:24, 4 October 2010

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.