summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/directfb/qdirectfbscreen.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2011-11-18 21:09:03 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-24 08:31:02 +0100
commit6b22448fa3e27bb50ae8d9ee527ce262752c7874 (patch)
tree7288af482dd4fb2d8cf6edeca774bbe50b663341 /src/plugins/platforms/directfb/qdirectfbscreen.h
parent0948237d7f110876e143a49ebc196b69c1f5a7b2 (diff)
directfb: Access the screen layer through QWindow::screen()
Instead of assuming which layer was assigned to Qt, resolve the to be used layer via QWindow::screen()->handle(). Add a method to the DirectFB QPlatformScreen to provide a pointer to the IDirectFBDisplayLayer Change-Id: Iaea9466ca84daff752a4932deafbe38f48123715 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/plugins/platforms/directfb/qdirectfbscreen.h')
-rw-r--r--src/plugins/platforms/directfb/qdirectfbscreen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/directfb/qdirectfbscreen.h b/src/plugins/platforms/directfb/qdirectfbscreen.h
index 2b2f8d1d89..b719146c90 100644
--- a/src/plugins/platforms/directfb/qdirectfbscreen.h
+++ b/src/plugins/platforms/directfb/qdirectfbscreen.h
@@ -62,6 +62,9 @@ public:
QImage::Format format() const { return m_format; }
QSizeF physicalSize() const { return m_physicalSize; }
+ // DirectFb helpers
+ IDirectFBDisplayLayer *dfbLayer() const;
+
public:
QRect m_geometry;
int m_depth;