summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2014-10-12 13:10:52 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2014-10-12 13:10:52 +0100
commit7e5728dadffc5a281b5adfac4b262c7f3a12b57c (patch)
tree5a992b35a310007b7a69bb2740cd5672492f089a
parentd9561129bd1b8b09beb6dba5a544889259aae235 (diff)
downloadfpGUI-7e5728dadffc5a281b5adfac4b262c7f3a12b57c.tar.xz
Surface the Window related to the Canvas instance.
This is so we can do more advance things with themes like calling invalidate on a widget (eg: animated theme on hover)
-rw-r--r--src/corelib/fpg_main.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/fpg_main.pas b/src/corelib/fpg_main.pas
index 02f0acde..8bdb33bd 100644
--- a/src/corelib/fpg_main.pas
+++ b/src/corelib/fpg_main.pas
@@ -183,6 +183,7 @@ type
function DrawText(x, y, w, h: TfpgCoord; const AText: TfpgString; AFlags: TfpgTextFlags = TextFlagsDflt; ALineSpace: integer = 2): integer; overload;
function DrawText(x, y: TfpgCoord; const AText: TfpgString; AFlags: TfpgTextFlags = TextFlagsDflt; ALineSpace: integer = 2): integer; overload;
function DrawText(r: TfpgRect; const AText: TfpgString; AFlags: TfpgTextFlags = TextFlagsDflt; ALineSpace: integer = 2): integer; overload;
+ property Window: TfpgWindowBase read FWindow;
end;