diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-18 19:34:58 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-18 19:34:58 (GMT) |
| commit | dd0e6e7f4ddc5a1a9c25111275187b767d51bdb4 (patch) | |
| tree | 79213c37eab4ad4715a00d53029fd6d6c865bc73 /src/game/ToolButton.h | |
| parent | 26dbd547d3a3662c62e7b3ecadae5609f1726df4 (diff) | |
| download | powder-dd0e6e7f4ddc5a1a9c25111275187b767d51bdb4.zip powder-dd0e6e7f4ddc5a1a9c25111275187b767d51bdb4.tar.gz | |
Add descriptions to toolbuttons, add Tooltips to Button, ToolTip event for Windows
Diffstat (limited to 'src/game/ToolButton.h')
| -rw-r--r-- | src/game/ToolButton.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ToolButton.h b/src/game/ToolButton.h index 94042a9..db0cfac 100644 --- a/src/game/ToolButton.h +++ b/src/game/ToolButton.h @@ -13,7 +13,7 @@ class ToolButton: public ui::Button { int currentSelection; public: - ToolButton(ui::Point position, ui::Point size, std::string text_); + ToolButton(ui::Point position, ui::Point size, std::string text_, std::string toolTip = ""); virtual void OnMouseUp(int x, int y, unsigned int button); virtual void OnMouseClick(int x, int y, unsigned int button); virtual void Draw(const ui::Point& screenPos); |
