diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-08 13:35:27 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-08 13:35:27 (GMT) |
| commit | 10e82df5434c086c2afc3627e5cdf7b88205487f (patch) | |
| tree | 50fa2561d17305530cf4384c7d75dd4b84fd8129 /src/interface/Engine.h | |
| parent | 152bc8f0924a4502fe6013b1d9957ffe9df8316f (diff) | |
| download | powder-10e82df5434c086c2afc3627e5cdf7b88205487f.zip powder-10e82df5434c086c2afc3627e5cdf7b88205487f.tar.gz | |
Fullscreen and scale setting from sim options
Diffstat (limited to 'src/interface/Engine.h')
| -rw-r--r-- | src/interface/Engine.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/interface/Engine.h b/src/interface/Engine.h index 824f968..cd1c341 100644 --- a/src/interface/Engine.h +++ b/src/interface/Engine.h @@ -37,6 +37,11 @@ namespace ui inline bool Running() { return running_; } void Exit(); + void SetFullscreen(bool fullscreen) { Fullscreen = fullscreen; } + inline bool GetFullscreen() { return Fullscreen; } + void SetScale(int scale) { Scale = scale; } + inline int GetScale() { return Scale; } + void Tick(); void Draw(); @@ -55,6 +60,8 @@ namespace ui inline Window* GetWindow() { return state_; } float FpsLimit; Graphics * g; + int Scale; + bool Fullscreen; unsigned int FrameIndex; private: |
