summaryrefslogtreecommitdiff
path: root/vcl/inc/salgdi.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-07-25 15:41:14 +0200
committerJan Holesovsky <kendy@collabora.com>2018-11-09 18:42:23 +0100
commit8fcfa3853a81106db2ea1f16341d30ae9055be95 (patch)
treebec28547f652250f5f0283b71afa36eb4422bd01 /vcl/inc/salgdi.hxx
parent4e6b448b998e3589baa2de46fb2135f1162695ed (diff)
custom widgets: Custom Widget Themes
Change-Id: I7ec57d18fe99f906aeb6dbb40d0d30c2ac8b51c4
Diffstat (limited to 'vcl/inc/salgdi.hxx')
-rw-r--r--vcl/inc/salgdi.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx
index e2d6a62278eb..f8a643d7f662 100644
--- a/vcl/inc/salgdi.hxx
+++ b/vcl/inc/salgdi.hxx
@@ -26,6 +26,7 @@
#include "salgdiimpl.hxx"
#include "sallayout.hxx"
#include <basegfx/matrix/b2dhommatrix.hxx>
+#include <WidgetDrawInterface.hxx>
#include <config_cairo_canvas.h>
@@ -663,6 +664,13 @@ protected:
bool m_bAntiAliasB2DDraw : 1;
inline long GetDeviceWidth(const OutputDevice* pOutDev) const;
+
+ bool hasWidgetDraw()
+ {
+ return bool(m_pWidgetDraw);
+ }
+
+ std::unique_ptr<vcl::WidgetDrawInterface> m_pWidgetDraw;
};
#endif // INCLUDED_VCL_INC_SALGDI_HXX