diff options
| author | jacob1 <jfu614@gmail.com> | 2012-09-20 23:33:16 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-25 19:09:24 (GMT) |
| commit | 187a5189d597786e51a89221b16393e4ccc37256 (patch) | |
| tree | ccd7af7fb8b6c3928364a5b361d037f1a00c2573 /src/render/RenderView.h | |
| parent | 5ee1c7ff801b475b4447c5ee6db4a77d0f75f532 (diff) | |
| download | powder-187a5189d597786e51a89221b16393e4ccc37256.zip powder-187a5189d597786e51a89221b16393e4ccc37256.tar.gz | |
some improvements to the render options interface and checkboxes (icons and tooltips coming next)
Diffstat (limited to 'src/render/RenderView.h')
| -rw-r--r-- | src/render/RenderView.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/RenderView.h b/src/render/RenderView.h index c084916..695a342 100644 --- a/src/render/RenderView.h +++ b/src/render/RenderView.h @@ -24,6 +24,8 @@ class RenderView: public ui::Window { std::vector<ui::Checkbox*> renderModes; std::vector<ui::Checkbox*> displayModes; std::vector<ui::Checkbox*> colourModes; + std::string toolTip; + int toolTipPresence; public: class RenderModeAction; class DisplayModeAction; @@ -36,6 +38,8 @@ public: void AttachController(RenderController * c_) { c = c_; } void OnMouseDown(int x, int y, unsigned button); virtual void OnDraw(); + virtual void OnTick(float dt); + virtual void ToolTip(ui::Component * sender, ui::Point mousePosition, std::string toolTip); virtual ~RenderView(); }; |
