From 7e5728dadffc5a281b5adfac4b262c7f3a12b57c Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Sun, 12 Oct 2014 13:10:52 +0100 Subject: 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) --- src/corelib/fpg_main.pas | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3-70-g09d2