summaryrefslogtreecommitdiff
path: root/vcl/inc/win
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-11-13 23:53:34 +0100
committerJan Holesovsky <kendy@collabora.com>2014-11-14 00:07:49 +0100
commit19ad91f7bc7ca96c55e0ca3450608f616f87c4ed (patch)
tree834b12da4c292940f7148e80d679647ed4959e9c /vcl/inc/win
parent966fc1f2ab7c8c59ceac8b77c6feaa33f6e8ee02 (diff)
windows opengl: Proof-of-concept text rendering.
We don't have a method that would paint a texture with transparency yet. We also need to limit the size of the DIBSection exactly to what we are going to paint, no point in creating a huge bitmap that is mostly empty (but the part where is the text being drawn). Change-Id: Ice0bf325743d08e19e636be73cef6aff3cde5704
Diffstat (limited to 'vcl/inc/win')
-rw-r--r--vcl/inc/win/salgdi.h1
-rw-r--r--vcl/inc/win/salvd.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h
index 69ea4cfde2cb..5e4d32fbb360 100644
--- a/vcl/inc/win/salgdi.h
+++ b/vcl/inc/win/salgdi.h
@@ -146,6 +146,7 @@ class WinSalGraphics : public SalGraphics
{
friend class WinSalGraphicsImpl;
friend class ScopedFont;
+ friend class WinLayout;
private:
boost::scoped_ptr<SalGraphicsImpl> mpImpl;
diff --git a/vcl/inc/win/salvd.h b/vcl/inc/win/salvd.h
index 546a1f0dda53..2c59f47ab7e9 100644
--- a/vcl/inc/win/salvd.h
+++ b/vcl/inc/win/salvd.h
@@ -51,8 +51,11 @@ public:
virtual void ReleaseGraphics( SalGraphics* pGraphics );
virtual bool SetSize( long nNewDX, long nNewDY );
virtual void GetSize( long& rWidth, long& rHeight );
+
+ static HBITMAP ImplCreateVirDevBitmap(HDC hDC, long nDX, long nDY, sal_uInt16 nBitCount, void **ppDummy);
};
+
#endif // INCLUDED_VCL_INC_WIN_SALVD_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */