diff options
Diffstat (limited to 'src/game/GameView.h')
| -rw-r--r-- | src/game/GameView.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/game/GameView.h b/src/game/GameView.h index 18cd8e4..0b31182 100644 --- a/src/game/GameView.h +++ b/src/game/GameView.h @@ -19,6 +19,11 @@ enum DrawMode DrawPoints, DrawLine, DrawRect, DrawFill }; +enum SelectMode +{ + SelectNone, SelectStamp, SelectCopy +}; + class GameController; class GameModel; class GameView: public ui::Window @@ -57,6 +62,11 @@ private: bool drawModeReset; ui::Point drawPoint1; ui::Point drawPoint2; + + SelectMode selectMode; + ui::Point selectPoint1; + ui::Point selectPoint2; + void changeColour(); public: GameView(); @@ -73,6 +83,7 @@ public: void NotifyZoomChanged(GameModel * sender); void NotifyColourSelectorVisibilityChanged(GameModel * sender); void NotifyColourSelectorColourChanged(GameModel * sender); + void NotifyClipboardChanged(GameModel * sender); virtual void OnMouseMove(int x, int y, int dx, int dy); virtual void OnMouseDown(int x, int y, unsigned button); virtual void OnMouseUp(int x, int y, unsigned button); |
