diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-07 23:11:21 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-07 23:11:21 (GMT) |
| commit | c88079d084f2f3b7ec891da22f8c497cd2652853 (patch) | |
| tree | ba24b70fb653b24a23e51c18a1d8d876233f71a5 /src/game/GameView.h | |
| parent | bbfbb81086897d50b67bf1494ac150eb607add72 (diff) | |
| download | powder-c88079d084f2f3b7ec891da22f8c497cd2652853.zip powder-c88079d084f2f3b7ec891da22f8c497cd2652853.tar.gz | |
Element sampling HUD thingy (No very good with MVC)
Diffstat (limited to 'src/game/GameView.h')
| -rw-r--r-- | src/game/GameView.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/GameView.h b/src/game/GameView.h index 9843743..85f60ed 100644 --- a/src/game/GameView.h +++ b/src/game/GameView.h @@ -71,12 +71,21 @@ private: ui::Point selectPoint1; ui::Point selectPoint2; + ui::Point mousePosition; + Thumbnail * clipboardThumb; Thumbnail * stampThumb; + Particle sample; + void changeColour(); public: GameView(); + + //Breaks MVC, but any other way is going to be more of a mess. + ui::Point GetMousePosition(); + void SetSample(Particle sample); + void AttachController(GameController * _c){ c = _c; } void NotifyRendererChanged(GameModel * sender); void NotifySimulationChanged(GameModel * sender); |
