Difference between revisions of "PickColor"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> procedure PickColor(out Color, X, Y: Integer); </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Activates t...") |
(No difference)
|
Latest revision as of 23:07, 1 July 2011
Definition
procedure PickColor(out Color, X, Y: Integer);
Availability
SCAR Divi 3.00 > Current
Description
Activates the color picker tool to allow the user to pick a color. The color is returned in Color and the picked coordinate in X and Y.
Example
var c, x, y: Integer; begin PickColor(c, x, y); WriteLn('Color ' + IntToStr(c) + ' at (' + IntToStr(x) + ', ' + IntToStr(y) + ')'); end.