mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
* neutrino: GUI Painting of Vol. Mute and Clock (Part1)
- Added getDigitHeight() and getDigitOffset() to fontrenderer (better numerics display) git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2151 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -51,7 +51,7 @@ class Font
|
||||
FT_Error getGlyphBitmap(FT_ULong glyph_index, FTC_SBit *sbit);
|
||||
|
||||
// these are HACKED values, because the font metrics were unusable.
|
||||
int height,ascender,descender,upper,lower;
|
||||
int height,DigitHeight,DigitOffset,ascender,descender,upper,lower;
|
||||
int fontwidth;
|
||||
|
||||
public:
|
||||
@@ -68,6 +68,8 @@ class Font
|
||||
int getRenderWidth(const char * text, const bool utf8_encoded = false);
|
||||
int getRenderWidth(const std::string & text, const bool utf8_encoded = false);
|
||||
int getHeight(void);
|
||||
int getDigitHeight(void);
|
||||
int getDigitOffset(void);
|
||||
int getWidth(void);
|
||||
int getSize(){return font.width;}
|
||||
int setSize(int isize);
|
||||
|
Reference in New Issue
Block a user