summaryrefslogtreecommitdiff
path: root/src/game/GameView.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-06-09 18:42:07 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-06-09 18:42:07 (GMT)
commit050ad82155344d9ff0db551386c804154bceb560 (patch)
tree34e938679d13c1b5e7676bc213236bbf399f581f /src/game/GameView.h
parentc408e035faf88f968ea208d48ced4b7c3c9dc32d (diff)
downloadpowder-050ad82155344d9ff0db551386c804154bceb560.zip
powder-050ad82155344d9ff0db551386c804154bceb560.tar.gz
Unify stamp and clipboard placement code, GameSave translation and transoformation working (not particularly well)
Diffstat (limited to 'src/game/GameView.h')
-rw-r--r--src/game/GameView.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/game/GameView.h b/src/game/GameView.h
index 85f60ed..b7c6989 100644
--- a/src/game/GameView.h
+++ b/src/game/GameView.h
@@ -23,7 +23,7 @@ enum DrawMode
enum SelectMode
{
- SelectNone, SelectStamp, SelectCopy, PlaceClipboard, PlaceStamp
+ SelectNone, SelectStamp, SelectCopy, PlaceSave
};
class GameController;
@@ -73,8 +73,7 @@ private:
ui::Point mousePosition;
- Thumbnail * clipboardThumb;
- Thumbnail * stampThumb;
+ Thumbnail * placeSaveThumb;
Particle sample;
@@ -99,8 +98,7 @@ public:
void NotifyZoomChanged(GameModel * sender);
void NotifyColourSelectorVisibilityChanged(GameModel * sender);
void NotifyColourSelectorColourChanged(GameModel * sender);
- void NotifyClipboardChanged(GameModel * sender);
- void NotifyStampChanged(GameModel * sender);
+ void NotifyPlaceSaveChanged(GameModel * sender);
void NotifyLogChanged(GameModel * sender, string entry);
virtual void OnMouseMove(int x, int y, int dx, int dy);
virtual void OnMouseDown(int x, int y, unsigned button);