3 This file is part of libmspgltk
4 Copyright © 2010 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
14 Dialog::Dialog(const Resources &r):
20 void Dialog::add_button(Button &button, int code)
23 button.signal_clicked.connect(sigc::bind(sigc::mem_fun(this, &Dialog::response), code));
26 void Dialog::button_release(int x, int y, unsigned button)
28 Panel::button_release(x, y, button);
33 void Dialog::key_release(unsigned key, unsigned mod)
35 Panel::key_release(key, mod);
40 void Dialog::response(int code)
43 signal_response.emit(code);