]> Shamusworld >> Repos - architektonas/blobdiff - src/drawingview.h
Changed Actions to emit signal when needing a graphical update.
[architektonas] / src / drawingview.h
index 55384fa48a3c7c686abc5ba2d44b46dd2d961718..21220e88a99c4479e28a525ef481638204b480fe 100644 (file)
@@ -14,13 +14,14 @@ class DrawingView: public QWidget
                DrawingView(QWidget * parent = NULL);
 
        public:
-               void SetRotateToolActive(bool state = true);
+//             void SetRotateToolActive(bool state = true);
                void SetToolActive(Action * action);
                void SetGridSize(uint32_t);
                void UpdateGridBackground(void);
 
        public slots:
                void AddNewObjectToDocument(Object *);
+               void HandleActionUpdate(void);
                void SetCurrentLayer(int);
 
        protected:
@@ -50,8 +51,8 @@ class DrawingView: public QWidget
                bool collided;
 //Should this go into Object's class variables???
 //maybe, maybe not... :-P
-               bool rotateTool;
-               double rx, ry;
+//             bool rotateTool;
+//             double rx, ry;
                bool scrollDrag;
                Vector oldPoint;
 //             bool addLineTool;
@@ -60,6 +61,10 @@ class DrawingView: public QWidget
 
        public:
                Action * toolAction;
+
+//     public:
+//             static Container document;
 };
 
 #endif // __DRAWINGVIEW_H__
+