mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
add: getWidth()
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@255 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: f548d2e3c0
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-02-04 (Thu, 04 Feb 2010)
Origin message was:
------------------
-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;
|
return temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int Font::getWidth(void)
|
||||||
|
{
|
||||||
|
return fontwidth;
|
||||||
|
}
|
||||||
|
|
||||||
int Font::getHeight(void)
|
int Font::getHeight(void)
|
||||||
{
|
{
|
||||||
return height;
|
return height;
|
||||||
|
@@ -68,6 +68,7 @@ class Font
|
|||||||
int getRenderWidth(const char * text, const bool utf8_encoded = false);
|
int getRenderWidth(const char * text, const bool utf8_encoded = false);
|
||||||
int getRenderWidth(const std::string & text, const bool utf8_encoded = false);
|
int getRenderWidth(const std::string & text, const bool utf8_encoded = false);
|
||||||
int getHeight(void);
|
int getHeight(void);
|
||||||
|
int getWidth(void);
|
||||||
int getSize(){return font.width;}
|
int getSize(){return font.width;}
|
||||||
int setSize(int isize);
|
int setSize(int isize);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user