src/opengl/qwindowsurface_x11gl_p.h
changeset 30 5dc02b23752f
parent 18 2f34d5167611
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
    66     // Inherreted from QWindowSurface
    66     // Inherreted from QWindowSurface
    67     QPaintDevice *paintDevice();
    67     QPaintDevice *paintDevice();
    68     void flush(QWidget *widget, const QRegion &region, const QPoint &offset);
    68     void flush(QWidget *widget, const QRegion &region, const QPoint &offset);
    69     void setGeometry(const QRect &rect);
    69     void setGeometry(const QRect &rect);
    70     bool scroll(const QRegion &area, int dx, int dy);
    70     bool scroll(const QRegion &area, int dx, int dy);
       
    71     QPixmap grabWidget(const QWidget *widget, const QRect& rectangle = QRect()) const;
    71 
    72 
    72 private:
    73 private:
    73     GC      m_GC;
    74     GC      m_windowGC;
       
    75     GC      m_pixmapGC;
    74     QPixmap m_backBuffer;
    76     QPixmap m_backBuffer;
    75     QWidget *m_window;
    77     QWidget *m_window;
    76 };
    78 };
    77 
    79 
    78 
    80