]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/entry.cpp
Support different font colors in different states
[libs/gltk.git] / source / entry.cpp
index 12eff06ae4ffbc542e3b80726242b60ea03ee4ee..f21aacbd07beff04c64aae4be124bdfab4e138fd 100644 (file)
@@ -102,7 +102,7 @@ void Entry::set_multiline(bool m)
 void Entry::rebuild_special(const Part &part)
 {
        if(part.get_name()=="text")
-               text.build(part, geom, first_row, part_cache);
+               text.build(part, state, geom, first_row, part_cache);
        else if(part.get_name()=="cursor")
        {
                const Graphic *graphic = part.get_graphic(state);