diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-11-20 14:14:30 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-11-20 18:51:55 +0100 |
commit | 3f94c9e9ddfd807b449f3bb9b232cf2041fa12d2 (patch) | |
tree | 6ed50eaf47113ae1cf06a5985f5abd02c5da7076 /include/vcl | |
parent | 1307c65d74fc9a1241f0a50142921cadac1e882b (diff) |
windows opengl: Introduce OpenGLCompatibleDC.
This is to abstract the compatible DC creation and usage, to be reused in the
native theme rendering.
Change-Id: Id34bba4aeea7f46fc2aa42f292f0a525d753b8d7
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/salgtype.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/vcl/salgtype.hxx b/include/vcl/salgtype.hxx index dc219047f48f..23b8977f141c 100644 --- a/include/vcl/salgtype.hxx +++ b/include/vcl/salgtype.hxx @@ -46,6 +46,13 @@ struct SalTwoRect long mnDestY; long mnDestWidth; long mnDestHeight; + + SalTwoRect() {} + + SalTwoRect(long nSrcX, long nSrcY, long nSrcWidth, long nSrcHeight, long nDestX, long nDestY, long nDestWidth, long nDestHeight) + : mnSrcX(nSrcX), mnSrcY(nSrcY), mnSrcWidth(nSrcWidth), mnSrcHeight(nSrcHeight), mnDestX(nDestX), mnDestY(nDestY), mnDestWidth(nDestWidth), mnDestHeight(nDestHeight) + { + } }; typedef sal_uInt16 SalROPColor; |