src/opengl/qwindowsurface_x11gl_p.h
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
    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