]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/qg_graphicview.h
Beginnings of new render path (Snapper)...
[architektonas] / src / widgets / qg_graphicview.h
index 04d58a1ca0dc0c0e1e61de6b37018838c55045b7..b870809af51e246809d768aaa13defae1bd895d3 100644 (file)
@@ -5,7 +5,6 @@
 #include "graphicview.h"
 #include "rs_layerlistlistener.h"
 #include "rs_blocklistlistener.h"
-#include "qg_scrollbar.h"
 
 class RS_Document;
 class PaintInterface;
@@ -71,20 +70,19 @@ class QG_GraphicView: public QWidget, public GraphicView//, //public Q3FilePrevi
                void slotHScrolled(int value);
                void slotVScrolled(int value);
 
-       private:
-#warning "!!! Double buffering is not necessary anymore !!!"
-               //! Buffer for double-buffering
-               QPixmap * buffer;
+//     private:
+//#warning "!!! Double buffering is not necessary anymore !!!"
+//             //! Buffer for double-buffering
+//             QPixmap * buffer;
 //             int refCount;
 
+#if 0
        protected:
                int lastWidth;
                int lastHeight;
                //! Horizontal scrollbar.
-//             QG_ScrollBar * hScrollBar;
                QScrollBar * hScrollBar;
                //! Vertical scrollbar.
-//             QG_ScrollBar * vScrollBar;
                QScrollBar * vScrollBar;
                //! Layout used to fit in the view and the scrollbars.
                QGridLayout * layout;
@@ -100,6 +98,7 @@ class QG_GraphicView: public QWidget, public GraphicView//, //public Q3FilePrevi
                QCursor * curMagnifier;
                //! Hand mouse cursor
                QCursor * curHand;
+#endif
 };
 
 #endif