ColorPalette

From Lazarus wiki
Revision as of 22:22, 23 November 2012 by Chronos (talk | contribs)
Jump to navigationJump to search

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.

Screenshots

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.