diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-28 14:51:39 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-28 14:51:39 (GMT) |
| commit | b5728a9e3e983460a957fa0e576b751ebfe87172 (patch) | |
| tree | cb20500bc94da3fd00782981a45c9b05c6af36eb /src/Renderer.h | |
| parent | 58ba7f8800403c572bae99115facc808c6dc34a3 (diff) | |
| download | powder-b5728a9e3e983460a957fa0e576b751ebfe87172.zip powder-b5728a9e3e983460a957fa0e576b751ebfe87172.tar.gz | |
Zoom
Diffstat (limited to 'src/Renderer.h')
| -rw-r--r-- | src/Renderer.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Renderer.h b/src/Renderer.h index d43e0cb..9ed7dbb 100644 --- a/src/Renderer.h +++ b/src/Renderer.h @@ -5,6 +5,7 @@ #include "Config.h" #include "simulation/Simulation.h" #include "Graphics.h" +#include "interface/Point.h" class Simulation; @@ -41,7 +42,15 @@ public: Graphics * g; gcache_item *graphicscache; + //Zoom window + ui::Point zoomWindowPosition; + ui::Point zoomScopePosition; + int zoomScopeSize; + bool zoomEnabled; + int ZFACTOR; + //Renderers + void RenderZoom(); void DrawWalls(); void DrawSigns(); void render_gravlensing(); |
