summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-07-26 12:50:13 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-07-26 12:50:13 +0000
commit1c2e942655c6280bc46b7a0eedefb827a7aca0ca (patch)
tree44adef1076af8a61663e329b78a7e20013aefa1f /examples
parent544f3d4974a01a1f4cd6621c112dcde84e541bbb (diff)
downloadfpGUI-1c2e942655c6280bc46b7a0eedefb827a7aca0ca.tar.xz
* Added a DrawString() method to TfpgStyle
* Changed TfpgCheckBox, TfpgRadioButton, TfpgLabel and TfpbButton to use fpgStyle.DrawString instead. * Updated the prototype test app to demo these features. * TfpgCheckBox now handle image painting correctly based on the widget state and mouse state (up, down). * Minor improvement to the look of the X in the CheckBox image.
Diffstat (limited to 'examples')
-rw-r--r--examples/gui/stdimages/stdimglist.lpr2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gui/stdimages/stdimglist.lpr b/examples/gui/stdimages/stdimglist.lpr
index 06212cfc..25ed254c 100644
--- a/examples/gui/stdimages/stdimglist.lpr
+++ b/examples/gui/stdimages/stdimglist.lpr
@@ -54,7 +54,7 @@ begin
img := TfpgImage(sl.Objects[n]);
if img <> nil then
- Canvas.DrawImage(x+150, y, img);
+ Canvas.DrawImage(x+130, y, img);
inc(y, img.Height+8);
if y > Height-32 then // largest images are 32 in height