3 This file is part of the MSP Märklin suite
4 Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
12 #include <sigc++/sigc++.h>
13 #include <msp/gltk/entry.h>
17 class Input: public Msp::GLtk::Panel
20 sigc::signal<void> signal_accept;
21 sigc::signal<void> signal_cancel;
25 Msp::GLtk::Entry *entry;
28 Input(Designer &, const std::string &, const std::string & =std::string());
29 const std::string &get_text() const;
31 virtual void key_press(unsigned, unsigned, wchar_t);