X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flabel.cpp;h=f42646709a3f90e43786742790df4f9e19eb2775;hb=c8291177b545ec81930603a5915234a60296db51;hp=f9274b47e2f665ff85ad13d6cf488be49bcec321;hpb=1aa6cd9b865e366737dcc9d2d36c4f8faed5bc4f;p=libs%2Fgltk.git diff --git a/source/label.cpp b/source/label.cpp index f9274b4..f426467 100644 --- a/source/label.cpp +++ b/source/label.cpp @@ -37,10 +37,10 @@ void Label::set_text(const string &t) rebuild(); } -void Label::rebuild_special(const Part &part, CachedPart &cache) +void Label::rebuild_special(const Part &part) { if(part.get_name()=="text") - text.build(part, geom, cache); + text.build(part, geom, part_cache); } void Label::on_style_change() @@ -50,14 +50,14 @@ void Label::on_style_change() Label::Loader::Loader(Label &l): - Widget::Loader(l) + DataFile::DerivedObjectLoader(l) { add("text", &Loader::text); } void Label::Loader::text(const string &t) { - static_cast