X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flabel.cpp;h=0e0134d73766a4cb5f05830386d772790d6dca7d;hb=3db68f2604b657e79f1b2b317c19c41c2d5a985b;hp=9676fa37ab148bfaccb23d1ccc65b38f363d48d7;hpb=e7bc29984e91ee36555d6a4e4eece22170d10ba4;p=libs%2Fgltk.git diff --git a/source/label.cpp b/source/label.cpp index 9676fa3..0e0134d 100644 --- a/source/label.cpp +++ b/source/label.cpp @@ -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); }