X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdrawingview.h;h=21220e88a99c4479e28a525ef481638204b480fe;hb=dbfab6256efe6b03e9750e33081d9dcdcdfc1c34;hp=55384fa48a3c7c686abc5ba2d44b46dd2d961718;hpb=642cf72c11b49a9e00128ab6258a2438c785a5ab;p=architektonas diff --git a/src/drawingview.h b/src/drawingview.h index 55384fa..21220e8 100644 --- a/src/drawingview.h +++ b/src/drawingview.h @@ -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__ +