]> git.sesse.net Git - vlc/commitdiff
* skins2/src/bitmap_font.hpp: getHeight() now really returns the height of the
authorOlivier Teulière <ipkiss@videolan.org>
Tue, 15 Nov 2005 20:49:50 +0000 (20:49 +0000)
committerOlivier Teulière <ipkiss@videolan.org>
Tue, 15 Nov 2005 20:49:50 +0000 (20:49 +0000)
   font, and not always 12...

modules/gui/skins2/src/bitmap_font.hpp

index 120164e22e8c43ad481400cb30c4e32f2baae520..c95cbbc598da5bbaf8dc2f22509c5777a6a3b60a 100644 (file)
@@ -46,7 +46,7 @@ class BitmapFont: public GenericFont
             uint32_t color, int maxWidth = -1 ) const;
 
         /// Get the font size
-        virtual int getSize() const { return 12; }
+        virtual int getSize() const { return m_height; }
 
     private:
         /// Description of a glyph