]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/panel.h
typedef tweaks
[libs/gltk.git] / source / panel.h
index 748ecb48d508c53c32a7186ede84472c581d7b85..54e75ef5309e9e23d62645fadaf5064cafa7fddb 100644 (file)
@@ -23,12 +23,15 @@ class Panel: public Container
 public:
        class Loader: public Widget::Loader
        {
+       public:
+               typedef std::map<std::string, Widget *> WidgetMap;
+
        private:
                Panel &pnl;
-               std::map<std::string, Widget *> &wdg_map;
+               WidgetMap &wdg_map;
        
        public:
-               Loader(Panel &, std::map<std::string, Widget *> &);
+               Loader(Panel &, WidgetMap &);
        private:
                template<typename T>
                void child(const std::string &);