summaryrefslogtreecommitdiff
path: root/src/interface
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-26 01:13:33 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-26 01:13:33 (GMT)
commit9e1be78bc21d1fb76a19ce12ef36193aea6e2b93 (patch)
tree081b67d551bb44fecbf6deb99b6c44ea9789614c /src/interface
parentb2d3257ae944a3ea3b57dc8ee4171b1b2f85483e (diff)
downloadpowder-9e1be78bc21d1fb76a19ce12ef36193aea6e2b93.zip
powder-9e1be78bc21d1fb76a19ce12ef36193aea6e2b93.tar.gz
I've got to a point where I can no longer be bothered to think of a proper commit comment
Diffstat (limited to 'src/interface')
-rw-r--r--src/interface/Button.cpp2
-rw-r--r--src/interface/Button.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interface/Button.cpp b/src/interface/Button.cpp
index 782d89b..8fe847e 100644
--- a/src/interface/Button.cpp
+++ b/src/interface/Button.cpp
@@ -152,7 +152,7 @@ void Button::Draw(const Point& screenPos)
}
}
-void Button::OnMouseUnclick(int x, int y, unsigned int button)
+void Button::OnMouseUp(int x, int y, unsigned int button)
{
if(button != 1)
{
diff --git a/src/interface/Button.h b/src/interface/Button.h
index fe4e9f9..1075b32 100644
--- a/src/interface/Button.h
+++ b/src/interface/Button.h
@@ -39,7 +39,7 @@ public:
std::string ButtonText;
virtual void OnMouseClick(int x, int y, unsigned int button);
- virtual void OnMouseUnclick(int x, int y, unsigned int button);
+ virtual void OnMouseUp(int x, int y, unsigned int button);
//virtual void OnMouseUp(int x, int y, unsigned int button);
virtual void OnMouseEnter(int x, int y);