diff options
author | Stijn Buys <ingar@osirion.org> | 2010-09-17 15:19:34 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-09-17 15:19:34 +0000 |
commit | c62fe609a69058e2e30f757e9a06f72a98464232 (patch) | |
tree | 53f6a671bd84924ddf7d278cf10a3e527670088e /src/ui/button.cc | |
parent | 0c509866a37ab47ff0e48d357ca55e31658c37c2 (diff) |
Bump network protocol version to 19, menudescriptions use the info infrastructure, client-side lazy info update requests.
Updated ROADMAP
Diffstat (limited to 'src/ui/button.cc')
-rw-r--r-- | src/ui/button.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/button.cc b/src/ui/button.cc index 85cad7e..9196b90 100644 --- a/src/ui/button.cc +++ b/src/ui/button.cc @@ -81,6 +81,9 @@ bool Button::on_keypress(const int key, const unsigned int modifier) if (key == 512 + SDL_BUTTON_LEFT) { core::cmd() << button_command << std::endl; audio::play("ui/button"); + + emit(EventButtonClicked); + return true; } |