3 This file is part of libmspgltk
4 Copyright © 2010 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
18 void Dialog::add_button(Button &button, int code)
21 button.signal_clicked.connect(sigc::bind(sigc::mem_fun(this, &Dialog::response), code));
24 void Dialog::button_release(int x, int y, unsigned button)
26 Panel::button_release(x, y, button);
31 void Dialog::key_release(unsigned key, unsigned mod)
33 Panel::key_release(key, mod);
38 void Dialog::response(int code)
41 signal_response.emit(code);