]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/label.cpp
Add a missing colon to button.h
[libs/gltk.git] / source / label.cpp
index d0aba354c9555a86485640e6ded619463d4d1b84..36637d0828e66995c8c8519b06c38e4cab48dbc6 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of libmspgltk
+Copyright © 2007  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #include "label.h"
 #include "part.h"
 
@@ -24,5 +31,17 @@ void Label::render_part(const Part &part) const
                Widget::render_part(part);
 }
 
+
+Label::Loader::Loader(Label &l):
+       Widget::Loader(l)
+{
+       add("text", &Label::text);
+}
+
+Label &Label::Loader::get_object()
+{
+       return static_cast<Label &>(wdg);
+}
+
 } // namespace GLtk
 } // namespace Msp