summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-14 15:01:57 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-14 15:01:57 (GMT)
commit7ccb7e53fe941a4b076bc4856dfba0c0476af249 (patch)
treef3e7b9f938258e6ac8e558dfc717baeae65a7d69 /src/game/GameView.cpp
parent8604b3054858fbeed30b82120bb1f401c50fe542 (diff)
downloadpowder-7ccb7e53fe941a4b076bc4856dfba0c0476af249.zip
powder-7ccb7e53fe941a4b076bc4856dfba0c0476af249.tar.gz
Show some info when selecting stamps, #104
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index 435e277..0d561a3 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -1268,6 +1268,8 @@ void GameView::OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool
case 's':
selectMode = SelectStamp;
selectPoint1 = ui::Point(-1, -1);
+ infoTip = "\x0F\xEF\xEF\x10Select an area to create a stamp";
+ infoTipPresence = 120;
break;
case 'w':
c->SwitchGravity();
@@ -1293,6 +1295,8 @@ void GameView::OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool
{
selectMode = SelectCopy;
selectPoint1 = ui::Point(-1, -1);
+ infoTip = "\x0F\xEF\xEF\x10Select an area to copy";
+ infoTipPresence = 120;
}
break;
case 'v':