diff options
| author | Simon 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) |
| commit | f1953603c057813cf4093d73b6ecce96ae6c372b (patch) | |
| tree | 09f7aefb19b1993198a8e0025e895cca4d209d38 /src/game/GameView.cpp | |
| parent | c112715ea7f32dab8713dba9d31cdcea1ad37b76 (diff) | |
| download | powder-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.cpp | 2 |
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); } |
