summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-05-23 18:31:53 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-05-23 18:31:53 (GMT)
commitf1953603c057813cf4093d73b6ecce96ae6c372b (patch)
tree09f7aefb19b1993198a8e0025e895cca4d209d38 /src/game/GameView.cpp
parentc112715ea7f32dab8713dba9d31cdcea1ad37b76 (diff)
downloadpowder-f1953603c057813cf4093d73b6ecce96ae6c372b.zip
powder-f1953603c057813cf4093d73b6ecce96ae6c372b.tar.gz
Use mouse hover callback for menu buttons
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index a10d9e4..ed8e6fe 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -238,7 +238,7 @@ class GameView::MenuAction: public ui::ButtonAction
public:
Menu * menu;
MenuAction(GameView * _v, Menu * menu_) { v = _v; menu = menu_; }
- void ActionCallback(ui::Button * sender)
+ void MouseEnterCallback(ui::Button * sender)
{
v->c->SetActiveMenu(menu);
}