summaryrefslogtreecommitdiff
path: root/src/game/GameView.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-17 22:09:48 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-17 22:09:48 (GMT)
commit5b51e670447ea175fb9b0b7035403b274e16972e (patch)
tree6f9c9d0a6eb6434ba26eb2f03b5e8e3d8ec179f4 /src/game/GameView.h
parent706bd0fa97b5f3da67d44f570a18f9f45ae4fad7 (diff)
downloadpowder-5b51e670447ea175fb9b0b7035403b274e16972e.zip
powder-5b51e670447ea175fb9b0b7035403b274e16972e.tar.gz
PPM screen recording
Diffstat (limited to 'src/game/GameView.h')
-rw-r--r--src/game/GameView.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/GameView.h b/src/game/GameView.h
index 71a6e93..c449ba2 100644
--- a/src/game/GameView.h
+++ b/src/game/GameView.h
@@ -35,6 +35,12 @@ class GameView: public ui::Window
{
private:
DrawMode drawMode;
+
+ bool doScreenshot;
+ bool recording;
+ int screenshotIndex;
+ int recordingIndex;
+
bool isMouseDown;
bool zoomEnabled;
bool zoomCursorFixed;
@@ -114,6 +120,9 @@ private:
virtual ui::Point lineSnapCoords(ui::Point point1, ui::Point point2);
virtual ui::Point rectSnapCoords(ui::Point point1, ui::Point point2);
+ void screenshot();
+ void record();
+
void enableShiftBehaviour();
void disableShiftBehaviour();
void enableCtrlBehaviour();