summaryrefslogtreecommitdiff
path: root/prototypes
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-02-01 08:41:01 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-02-01 08:41:01 +0000
commit352a0d6eb4320cf3c6cabffb27f93f285a8bfeb9 (patch)
tree8bd877e2426ba6979e9709949a33f66d1a493239 /prototypes
parent606d4914596a3455d1757aa4e8c408c218316639 (diff)
downloadfpGUI-352a0d6eb4320cf3c6cabffb27f93f285a8bfeb9.tar.xz
* Applied patch from Jean-Marc which fixes a minor issue in the TfpgMemo and TfpgMenu components. It also adds a new BackgroundColor property to TfpgButton.
* Minor fixes to Jean-Marc's patch with button painting. * The threedee example now uses the new Button.BackgroundColor property.
Diffstat (limited to 'prototypes')
-rw-r--r--prototypes/fpgui2/tests/frm_threedee.pas3
1 files changed, 3 insertions, 0 deletions
diff --git a/prototypes/fpgui2/tests/frm_threedee.pas b/prototypes/fpgui2/tests/frm_threedee.pas
index a31a829e..dd3bc46d 100644
--- a/prototypes/fpgui2/tests/frm_threedee.pas
+++ b/prototypes/fpgui2/tests/frm_threedee.pas
@@ -214,6 +214,7 @@ begin
tb.BackgroundColor := clWindowBackground;
lblName1.BackgroundColor := clWindowBackground;
lblName2.BackgroundColor := clWindowBackground;
+ btnQuit.BackgroundColor := clButtonFace;
end
else
begin
@@ -223,6 +224,7 @@ begin
tb.BackgroundColor := clM2DarkBlue;
lblName1.BackgroundColor := clM2DarkBlue;
lblName2.BackgroundColor := clM2DarkBlue;
+ btnQuit.BackgroundColor := clM2DarkBlue;
end;
end;
@@ -250,6 +252,7 @@ begin
Text := 'Quit';
FontDesc := '#Label1';
ImageName := 'stdimg.quit';
+ BackgroundColor := clM2DarkBlue;
OnClick := @btnQuitClicked;
end;