diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-08-26 07:12:25 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-08-26 17:19:27 (GMT) |
commit | bf6a3925109ea55b57633d02fc752344d55a9fae (patch) | |
tree | be967562e6477e58c810d6b5460b6638f0da1252 /src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h | |
parent | 52f5e632da1bd5ef413b3108564b9b47850ce441 (diff) | |
download | Qt-bf6a3925109ea55b57633d02fc752344d55a9fae.zip Qt-bf6a3925109ea55b57633d02fc752344d55a9fae.tar.gz Qt-bf6a3925109ea55b57633d02fc752344d55a9fae.tar.bz2 |
Implement QDirectFBScreen::surfaceForWidget
Allow applications to get a pointer to the surface of the window surface
for a given widget or a subsurface of the widget.
This function ignores whether or not the widget is fully or partially
obscured.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h index 0da3a98..707561b 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h +++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h @@ -89,6 +89,7 @@ public: void endPaint(const QRegion &); QImage *buffer(const QWidget *widget); + IDirectFBSurface *surfaceForWidget(const QWidget *widget, QRect *rect) const; private: void updateFormat(); #ifdef QT_DIRECTFB_WM |