]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/label.cpp
Enable loading of entry widgets from datafiles
[libs/gltk.git] / source / label.cpp
index 9676fa37ab148bfaccb23d1ccc65b38f363d48d7..0e0134d73766a4cb5f05830386d772790d6dca7d 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"
 
@@ -16,12 +23,10 @@ void Label::set_text(const std::string &t)
        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);
 }