3 This file is part of R²C²
4 Copyright © 2006-2008, 2010 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
12 #include <sigc++/sigc++.h>
13 #include <msp/gltk/dialog.h>
14 #include <msp/gltk/entry.h>
18 class InputDialog: public Msp::GLtk::Dialog
21 sigc::signal<void, const std::string &> signal_accept;
25 Msp::GLtk::Entry *entry;
28 InputDialog(Designer &, const std::string &, const std::string & =std::string());
30 virtual void key_press(unsigned, unsigned, wchar_t);
31 virtual void on_response(int);