diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-04 20:47:58 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-04 20:47:58 (GMT) |
| commit | ea51cde1f07d2a63f824e78c44adad0993115853 (patch) | |
| tree | a6afee4bafb5de2f91caf1235351b7cc6fc2e606 /src/game/GameController.h | |
| parent | 89cdeef9ad9c164e9f484cded3096bcbc72b7207 (diff) | |
| download | powder-ea51cde1f07d2a63f824e78c44adad0993115853.zip powder-ea51cde1f07d2a63f824e78c44adad0993115853.tar.gz | |
Change brush size with [ and ] keys, change order of drawing for Lua, Fix print and tpt.log so they log to the console when it is open
Diffstat (limited to 'src/game/GameController.h')
| -rw-r--r-- | src/game/GameController.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/GameController.h b/src/game/GameController.h index 3b5ff88..fffe26a 100644 --- a/src/game/GameController.h +++ b/src/game/GameController.h @@ -54,11 +54,12 @@ public: bool MouseWheel(int x, int y, int d); bool KeyPress(int key, Uint16 character, bool shift, bool ctrl, bool alt); bool KeyRelease(int key, Uint16 character, bool shift, bool ctrl, bool alt); + void Tick(); void SetZoomEnabled(bool zoomEnable); void SetZoomPosition(ui::Point position); - void AdjustBrushSize(int direction); - void AdjustZoomSize(int direction); + void AdjustBrushSize(int direction, bool logarithmic = false); + void AdjustZoomSize(int direction, bool logarithmic = false); void DrawPoints(int toolSelection, queue<ui::Point*> & pointQueue); void DrawRect(int toolSelection, ui::Point point1, ui::Point point2); void DrawLine(int toolSelection, ui::Point point1, ui::Point point2); |
