mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
-add: getWidth()
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@255 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -299,6 +299,11 @@ return 0;
|
||||
return temp;
|
||||
}
|
||||
|
||||
int Font::getWidth(void)
|
||||
{
|
||||
return fontwidth;
|
||||
}
|
||||
|
||||
int Font::getHeight(void)
|
||||
{
|
||||
return height;
|
||||
|
@@ -68,6 +68,7 @@ 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 getWidth(void);
|
||||
int getSize(){return font.width;}
|
||||
int setSize(int isize);
|
||||
|
||||
|
Reference in New Issue
Block a user