summaryrefslogtreecommitdiff
path: root/src/game/ToolButton.h
diff options
context:
space:
mode:
authorSimon 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)
commitd5e57e04d0c1ca9cae9a29996df587599691a563 (patch)
treeafc56955f8a4330a7f21a47d738010a014173d4d /src/game/ToolButton.h
parente420ee51b1f8441be074d23a21d10770b5184de1 (diff)
downloadpowder-d5e57e04d0c1ca9cae9a29996df587599691a563.zip
powder-d5e57e04d0c1ca9cae9a29996df587599691a563.tar.gz
Fix tool buttons
Diffstat (limited to 'src/game/ToolButton.h')
-rw-r--r--src/game/ToolButton.h2
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);