]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/text.h
Make func a normal argument of Text::process_lines
[libs/gltk.git] / source / text.h
index f688d4936d90d6354a56d07bac9163da74b52ccb..c49b167a844945d3a55cab385e9bbb5fa7c2f502 100644 (file)
@@ -61,8 +61,8 @@ public:
 private:
        void find_lines();
 
-       template<typename T, void (Text::*)(unsigned, const Geometry &, T &) const>
-       void process_lines(const Part &, const Geometry &, unsigned, T &) const;
+       template<typename T>
+       void process_lines(const Part &, const Geometry &, unsigned, void (Text::*)(unsigned, const Geometry &, T &) const, T &) const;
 
        void build_line(unsigned, const Geometry &, RenderData &) const;
        void coords_to_geom_line(unsigned, const Geometry &, CoordsToGeomData &) const;