]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/text.h
Update text information when widget style changes
[libs/gltk.git] / source / text.h
index 46bd18f9075844cf7401bd7193119e817e0fd8ff..7be119216aae4086210e8cfec8133be9b65a2c8d 100644 (file)
@@ -41,10 +41,13 @@ public:
        const std::string &get() const { return text; }
        unsigned size() const { return text.size(); }
 
+       void update_style();
+
        void render(const Part &, const Geometry &) const;
 
        Text &operator=(const std::string &);
-       //operator const std::string &() const { return text; }
+private:
+       void find_lines();
 };
 
 } // namespace GLtk