summaryrefslogtreecommitdiff
path: root/include/vcl/salgtype.hxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-11-20 14:14:30 +0100
committerJan Holesovsky <kendy@collabora.com>2014-11-20 18:51:55 +0100
commit3f94c9e9ddfd807b449f3bb9b232cf2041fa12d2 (patch)
tree6ed50eaf47113ae1cf06a5985f5abd02c5da7076 /include/vcl/salgtype.hxx
parent1307c65d74fc9a1241f0a50142921cadac1e882b (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/salgtype.hxx')
-rw-r--r--include/vcl/salgtype.hxx7
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;