]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/dialog.h
Implement mouse wheel scrolling in List
[libs/gltk.git] / source / dialog.h
index eb2d17620117675781b605657e51d73080a79a38..1925c61ee740460cb9897791fdaf6bef8559ed34 100644 (file)
@@ -1,10 +1,3 @@
-/* $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_
 
@@ -22,6 +15,14 @@ Dialog's action buttons are clicked, it will emit a signal and delete itself.
 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: