summaryrefslogtreecommitdiff
path: root/examples/gui/colorwheel
diff options
context:
space:
mode:
authorJean-Marc.Levecque <jmarc.levecque@bbox.fr>2015-07-10 22:11:53 +0200
committerJean-Marc.Levecque <jmarc.levecque@bbox.fr>2015-07-10 22:11:53 +0200
commitd1d24360c15cfdd9d4047c90513c54498420191b (patch)
tree02338c99c1e7b157216924530ea0dfc3e633e93f /examples/gui/colorwheel
parent1666378b202710c886d75917736d09a450c6441d (diff)
downloadfpGUI-d1d24360c15cfdd9d4047c90513c54498420191b.tar.xz
Selection of predefined colors shown on colorwheel and valuebar
Signed-off-by: Jean-Marc.Levecque <jmarc.levecque@bbox.fr>
Diffstat (limited to 'examples/gui/colorwheel')
-rw-r--r--examples/gui/colorwheel/frm_main.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/gui/colorwheel/frm_main.pas b/examples/gui/colorwheel/frm_main.pas
index a7139889..7335e448 100644
--- a/examples/gui/colorwheel/frm_main.pas
+++ b/examples/gui/colorwheel/frm_main.pas
@@ -386,6 +386,8 @@ begin
edG.Value := rgb.Green;
edB.Value := rgb.Blue;
eHex.Text:= Hexa(rgb.Red,rgb.Green,rgb.Blue);
+ ConvertToInt(eHex.Text);
+ RGBChanging;
end;
procedure TMainForm.AfterCreate;