diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-11 22:59:45 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-11 22:59:45 (GMT) |
| commit | fc2f52099c0bbb2412046252bf7b5e4113bbe8e4 (patch) | |
| tree | aa820daf182a845758c3ba2c649df54a228748d4 /includes/interface | |
| parent | 2eb09c1daac8199532694167f418146fa57e7735 (diff) | |
| download | powder-fc2f52099c0bbb2412046252bf7b5e4113bbe8e4.zip powder-fc2f52099c0bbb2412046252bf7b5e4113bbe8e4.tar.gz | |
More stuff, started console
Diffstat (limited to 'includes/interface')
| -rw-r--r-- | includes/interface/Sandbox.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/interface/Sandbox.h b/includes/interface/Sandbox.h index 10d588f..32a0471 100644 --- a/includes/interface/Sandbox.h +++ b/includes/interface/Sandbox.h @@ -16,11 +16,14 @@ namespace ui { class Sandbox: public ui::Component { private: + int lastCoordX, lastCoordY; + int activeElement; bool isMouseDown; Renderer * ren; Simulation * sim; public: Sandbox(); + virtual Simulation * GetSimulation(); virtual void OnMouseMovedInside(int localx, int localy, int dx, int dy); virtual void OnMouseDown(int localx, int localy, unsigned int button); virtual void OnMouseUp(int localx, int localy, unsigned int button); |
