]> git.tdb.fi Git - libs/gl.git/blobdiff - source/font.h
Make use of the ability to load multiple arguments diretly into member variables
[libs/gl.git] / source / font.h
index 278a14aa82ab53fd3cd2c57172f3dbbb3d33fe7a..7307122a5fb5a0ea07b3cdd903f6e591bbc89614 100644 (file)
@@ -42,20 +42,20 @@ public:
        void  draw_string(const std::string &) const;
        void  draw_string(const std::string &, Codecs::Decoder &) const;
        void  draw_multiline(const std::string &) const;
-       
+
        template<class C>
        float get_string_width(const std::string &str) const
        {
                typename C::Decoder dec;
                return get_string_width(str, dec);
-       }       
-       
+       }
+
        template<class C>
        void draw_string(const std::string &str) const
        {
                typename C::Decoder dec;
                draw_string(str, dec);
-       }       
+       }
 private:
        struct Glyph
        {
@@ -68,8 +68,6 @@ private:
                        Glyph &glyph;
 
                        void texcoords(float, float, float, float);
-                       void size(float, float);
-                       void offset(float, float);
                };
 
                unsigned code;