diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2013-03-22 14:14:17 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2013-03-22 14:14:17 (GMT) |
| commit | 9abe51526cac2634af0541c3de69834dd30e9f78 (patch) | |
| tree | 6ae4deadfe00a83094b9d288d8c11d8ce823577a /src/game/ToolButton.h | |
| parent | 2c311b9a36a88fadd96f3d39acb1ab2590835d81 (diff) | |
| download | powder-9abe51526cac2634af0541c3de69834dd30e9f78.zip powder-9abe51526cac2634af0541c3de69834dd30e9f78.tar.gz | |
Move all GUI source files into gui/
Diffstat (limited to 'src/game/ToolButton.h')
| -rw-r--r-- | src/game/ToolButton.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/game/ToolButton.h b/src/game/ToolButton.h deleted file mode 100644 index 6fdd733..0000000 --- a/src/game/ToolButton.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef TOOLBUTTON_H_ -#define TOOLBUTTON_H_ - -#include "interface/Button.h" - -class ToolButton: public ui::Button { - int currentSelection; -public: - ToolButton(ui::Point position, ui::Point size, std::string text_, std::string toolTip = ""); - virtual void OnMouseUnclick(int x, int y, unsigned int button); - virtual void OnMouseClick(int x, int y, unsigned int button); - virtual void Draw(const ui::Point& screenPos); - void SetSelectionState(int state); - int GetSelectionState(); - virtual ~ToolButton(); -}; - -#endif /* TOOLBUTTON_H_ */ |
