summaryrefslogtreecommitdiff
path: root/src/game/GameView.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-04-02 16:01:28 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-04-02 16:01:28 (GMT)
commitefddc12e5d2aadc5eee1927245ad38b9dee89aed (patch)
treecf7ad38119f0734609944158e33bbb944925c777 /src/game/GameView.h
parent289556ac7078963b6af361f5812dd62e6712359f (diff)
downloadpowder-efddc12e5d2aadc5eee1927245ad38b9dee89aed.zip
powder-efddc12e5d2aadc5eee1927245ad38b9dee89aed.tar.gz
Stamps browser, placement + clipboard sampling and placement - No clipboard or stamp thumbnail generation, needs thumbnail generator from SaveLoader
Diffstat (limited to 'src/game/GameView.h')
-rw-r--r--src/game/GameView.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/GameView.h b/src/game/GameView.h
index 0b31182..1be2d96 100644
--- a/src/game/GameView.h
+++ b/src/game/GameView.h
@@ -21,7 +21,7 @@ enum DrawMode
enum SelectMode
{
- SelectNone, SelectStamp, SelectCopy
+ SelectNone, SelectStamp, SelectCopy, PlaceClipboard, PlaceStamp
};
class GameController;
@@ -67,6 +67,9 @@ private:
ui::Point selectPoint1;
ui::Point selectPoint2;
+ Thumbnail * clipboardThumb;
+ Thumbnail * stampThumb;
+
void changeColour();
public:
GameView();
@@ -84,6 +87,7 @@ public:
void NotifyColourSelectorVisibilityChanged(GameModel * sender);
void NotifyColourSelectorColourChanged(GameModel * sender);
void NotifyClipboardChanged(GameModel * sender);
+ void NotifyStampChanged(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);