diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-11-02 02:39:36 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-10 07:58:44 +0100 |
commit | e62559bb3e5a6f9b25028585dfa041172e645a0f (patch) | |
tree | 9a4b6b61c30a187468d3f0dfa6c949e01ee1e70d /vcl/inc/win | |
parent | c8431b7fe226f6681adba7dc03f88235264081bb (diff) |
a little bit more sanity
Change-Id: I080984c5faaa8cf349ba37ffdb116b6d8d016552
Diffstat (limited to 'vcl/inc/win')
-rw-r--r-- | vcl/inc/win/salgdi.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h index 57b138199ce8..363ab0fce023 100644 --- a/vcl/inc/win/salgdi.h +++ b/vcl/inc/win/salgdi.h @@ -152,6 +152,7 @@ private: bool mbVirDev : 1; // is VirDev bool mbWindow : 1; // is Window bool mbScreen : 1; // is Screen compatible + HWND mhWnd; // Window-Handle, when Window-Graphics public: HDC getHDC() const { return mhLocalDC; } @@ -166,7 +167,6 @@ public: }; public: - HWND mhWnd; // Window-Handle, when Window-Graphics HWND gethWnd(); HFONT mhFonts[ MAX_FALLBACK ]; // Font + Fallbacks @@ -194,7 +194,7 @@ public: HFONT ImplDoSetFont( FontSelectPattern* i_pFont, float& o_rFontScale, HFONT& o_rOldFont ); public: - explicit WinSalGraphics(WinSalGraphics::Type eType, bool bScreen); + explicit WinSalGraphics(WinSalGraphics::Type eType, bool bScreen, HWND hWnd); virtual ~WinSalGraphics(); bool isPrinter() const; @@ -202,6 +202,8 @@ public: bool isWindow() const; bool isScreen() const; + void setHWND(HWND hWnd); + protected: virtual bool setClipRegion( const vcl::Region& ); // draw --> LineColor and FillColor and RasterOp and ClipRegion |