diff options
Diffstat (limited to 'src/game/GameView.h')
| -rw-r--r-- | src/game/GameView.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/GameView.h b/src/game/GameView.h index 284fd82..85a96e7 100644 --- a/src/game/GameView.h +++ b/src/game/GameView.h @@ -7,6 +7,7 @@ #include "interface/Window.h" #include "interface/Point.h" #include "interface/Button.h" +#include "Brush.h" using namespace std; @@ -19,6 +20,7 @@ private: queue<ui::Point*> pointQueue; GameController * c; Renderer * ren; + Brush * activeBrush; //UI Elements ui::Button * searchButton; ui::Button * reloadButton; @@ -37,10 +39,12 @@ public: void NotifyRendererChanged(GameModel * sender); void NotifySimulationChanged(GameModel * sender); void NotifyPausedChanged(GameModel * sender); + void NotifySaveChanged(GameModel * sender); + void NotifyBrushChanged(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); - //virtual void OnMouseWheel(int x, int y, int d) {} + virtual void OnMouseWheel(int x, int y, int d); //virtual void OnKeyPress(int key, bool shift, bool ctrl, bool alt) {} //virtual void OnKeyRelease(int key, bool shift, bool ctrl, bool alt) {} virtual void OnTick(float dt); |
