Difference between revisions of "ColorPalette"

From Lazarus wiki
Jump to navigationJump to search
Line 1: Line 1:
 
===About===
 
===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.
+
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:
 
Custom palette example:

Revision as of 16:15, 30 October 2006

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.