From 1c2e942655c6280bc46b7a0eedefb827a7aca0ca Mon Sep 17 00:00:00 2001 From: graemeg Date: Thu, 26 Jul 2007 12:50:13 +0000 Subject: * 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. --- examples/gui/stdimages/stdimglist.lpr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/gui') 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 -- cgit v1.2.3-70-g09d2