summaryrefslogtreecommitdiff
path: root/src/interface/DropDown.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-14 13:22:41 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-14 13:22:41 (GMT)
commitdb519a7036f18b026cde23dc8c588776c0d35f1f (patch)
tree80053ec2246219fc37a405f4d83fbf63b51a2e48 /src/interface/DropDown.h
parentd5e57e04d0c1ca9cae9a29996df587599691a563 (diff)
downloadpowder-db519a7036f18b026cde23dc8c588776c0d35f1f.zip
powder-db519a7036f18b026cde23dc8c588776c0d35f1f.tar.gz
Varying borders for button, exit dropdown menu with Esc or outside click, fixes #100
Diffstat (limited to 'src/interface/DropDown.h')
-rw-r--r--src/interface/DropDown.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interface/DropDown.h b/src/interface/DropDown.h
index 813c035..3aba971 100644
--- a/src/interface/DropDown.h
+++ b/src/interface/DropDown.h
@@ -39,6 +39,8 @@ public:
void SetActionCallback(DropDownAction * action) { callback = action;}
virtual void Draw(const Point& screenPos);
virtual void OnMouseClick(int x, int y, unsigned int button);
+ virtual void OnMouseEnter(int x, int y);
+ virtual void OnMouseLeave(int x, int y);
virtual ~DropDown();
};