summaryrefslogtreecommitdiff
path: root/prototypes/fpgui2/tests/themetest.lpr
diff options
context:
space:
mode:
Diffstat (limited to 'prototypes/fpgui2/tests/themetest.lpr')
-rw-r--r--prototypes/fpgui2/tests/themetest.lpr6
1 files changed, 6 insertions, 0 deletions
diff --git a/prototypes/fpgui2/tests/themetest.lpr b/prototypes/fpgui2/tests/themetest.lpr
index 0aa5f251..65b65fc8 100644
--- a/prototypes/fpgui2/tests/themetest.lpr
+++ b/prototypes/fpgui2/tests/themetest.lpr
@@ -461,6 +461,7 @@ var
part: TfpgImage;
r: TRect;
x, y: TfpgCoord;
+ nr: TfpgRect;
begin
Canvas.BeginDraw;
inherited HandlePaint;
@@ -535,6 +536,11 @@ begin
// Canvas.StretchDraw(5, 69, 17, 17, partimg);
img.Free;
+
+ nr.SetRect(20, 250, 100, 4);
+ Canvas.DrawControlFrame(nr);
+ nr.SetRect(70, 241, 11, 21);
+ Canvas.DrawButtonFace(nr, []);
Canvas.EndDraw;