+/* $Id$
+
+This file is part of libmspgltk
+Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
#include "label.h"
#include "part.h"
text=t;
}
-void Label::render_part(const Part &part) const
+void Label::render_special(const Part &part) const
{
if(part.get_name()=="text")
render_text(part, text);
- else
- 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