-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2010-2011 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#ifndef MSP_GLTK_DIALOG_H_
#define MSP_GLTK_DIALOG_H_
class Dialog: public Panel
{
public:
+ class Loader: public DataFile::DerivedObjectLoader<Dialog, Panel::Loader>
+ {
+ public:
+ Loader(Dialog &, WidgetMap &);
+ private:
+ void action_button(const std::string &, int);
+ };
+
sigc::signal<void, int> signal_response;
private:
void add_button(Button &, int);
virtual void button_release(int, int, unsigned);
- virtual void key_release(unsigned, unsigned);
+ virtual bool key_release(unsigned, unsigned);
protected:
void response(int);