diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-14 13:00:39 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-14 13:00:39 (GMT) |
| commit | d5e57e04d0c1ca9cae9a29996df587599691a563 (patch) | |
| tree | afc56955f8a4330a7f21a47d738010a014173d4d /src/game/ToolButton.h | |
| parent | e420ee51b1f8441be074d23a21d10770b5184de1 (diff) | |
| download | powder-d5e57e04d0c1ca9cae9a29996df587599691a563.zip powder-d5e57e04d0c1ca9cae9a29996df587599691a563.tar.gz | |
Fix tool buttons
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 db0cfac..b311d0b 100644 --- a/src/game/ToolButton.h +++ b/src/game/ToolButton.h @@ -14,7 +14,7 @@ class ToolButton: public ui::Button { int currentSelection; public: 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 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); |
