]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/text.h
Improve widget part caching
[libs/gltk.git] / source / text.h
index dc5710bdc2dddd6789de34d0c7ba2ee4816b0878..03cc787bb741151bff97e264ed6998022b354694 100644 (file)
@@ -7,9 +7,9 @@
 namespace Msp {
 namespace GLtk {
 
-class CachedPart;
 class Geometry;
 class Part;
+class PartCache;
 class Style;
 
 /**
@@ -52,8 +52,8 @@ public:
        unsigned coords_to_offset(unsigned, unsigned) const;
        Geometry coords_to_geometry(const Part &, const Geometry &, unsigned, unsigned, unsigned) const;
 
-       void build(const Part &, const Geometry &, CachedPart &) const;
-       void build(const Part &, const Geometry &, unsigned, CachedPart &) const;
+       void build(const Part &, const Geometry &, PartCache &) const;
+       void build(const Part &, const Geometry &, unsigned, PartCache &) const;
 
        Text &operator=(const std::string &);
 private: