src/opengl/qwindowsurface_x11gl_p.h
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
--- a/src/opengl/qwindowsurface_x11gl_p.h	Mon Jun 21 22:38:13 2010 +0100
+++ b/src/opengl/qwindowsurface_x11gl_p.h	Thu Jul 22 16:41:55 2010 +0100
@@ -68,9 +68,11 @@
     void flush(QWidget *widget, const QRegion &region, const QPoint &offset);
     void setGeometry(const QRect &rect);
     bool scroll(const QRegion &area, int dx, int dy);
+    QPixmap grabWidget(const QWidget *widget, const QRect& rectangle = QRect()) const;
 
 private:
-    GC      m_GC;
+    GC      m_windowGC;
+    GC      m_pixmapGC;
     QPixmap m_backBuffer;
     QWidget *m_window;
 };