summaryrefslogtreecommitdiff
path: root/src/render/RenderView.h
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2012-09-26 00:32:30 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-09-26 15:46:03 (GMT)
commit95cc715d71f6fb1a9887272e9cb5a0dc14e2da4e (patch)
tree0dd953c351bc44b011d962d39de8fbbe047ee94d /src/render/RenderView.h
parent0f38fa71ab19db40449cb0b9884899f529f4cc25 (diff)
downloadpowder-95cc715d71f6fb1a9887272e9cb5a0dc14e2da4e.zip
powder-95cc715d71f6fb1a9887272e9cb5a0dc14e2da4e.tar.gz
render preset buttons in render options interface, also shift + 1 life view shortcut
modify it if you don't like how it looks, but it turned out better than I expected
Diffstat (limited to 'src/render/RenderView.h')
-rw-r--r--src/render/RenderView.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/RenderView.h b/src/render/RenderView.h
index 695a342..03a4065 100644
--- a/src/render/RenderView.h
+++ b/src/render/RenderView.h
@@ -15,6 +15,7 @@
#include "RenderModel.h"
#include "graphics/Renderer.h"
#include "interface/Checkbox.h"
+#include "interface/Button.h"
class RenderController;
class RenderModel;
@@ -30,6 +31,7 @@ public:
class RenderModeAction;
class DisplayModeAction;
class ColourModeAction;
+ class RenderPresetAction;
RenderView();
void NotifyRendererChanged(RenderModel * sender);
void NotifyRenderChanged(RenderModel * sender);
@@ -39,6 +41,7 @@ public:
void OnMouseDown(int x, int y, unsigned button);
virtual void OnDraw();
virtual void OnTick(float dt);
+ virtual void OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool alt);
virtual void ToolTip(ui::Component * sender, ui::Point mousePosition, std::string toolTip);
virtual ~RenderView();
};