From c62fe609a69058e2e30f757e9a06f72a98464232 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 17 Sep 2010 15:19:34 +0000 Subject: Bump network protocol version to 19, menudescriptions use the info infrastructure, client-side lazy info update requests. Updated ROADMAP --- src/ui/button.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ui/button.cc') 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; } -- cgit v1.2.3