]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/label.cpp
Support different font colors in different states
[libs/gltk.git] / source / label.cpp
index e6b7efb0192b460185df5ac4d11a870ceb20e339..2de02f638249de9f7c544cc257c79b11f05300be 100644 (file)
@@ -29,7 +29,7 @@ void Label::autosize_special(const Part &part, Geometry &ageom)
 void Label::rebuild_special(const Part &part)
 {
        if(part.get_name()=="text")
-               text.build(part, geom, part_cache);
+               text.build(part, state, geom, part_cache);
 }
 
 void Label::on_style_change()