mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
driver/fontrenderer: let RenderString() and getRenderWidth() default to UTF8
Origin commit data
------------------
Branch: ni/coolstream
Commit: bec2e87412
Author: martii <m4rtii@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -71,11 +71,11 @@ class Font
|
||||
FULLBG = 2
|
||||
};
|
||||
|
||||
void RenderString(int x, int y, const int width, const char * text, const fb_pixel_t color, const int boxheight = 0, const unsigned int flags = 0);
|
||||
void RenderString(int x, int y, const int width, const std::string & text, const fb_pixel_t color, const int boxheight = 0, const unsigned int flags = 0);
|
||||
void RenderString(int x, int y, const int width, const char * text, const fb_pixel_t color, const int boxheight = 0, const unsigned int flags = IS_UTF8);
|
||||
void RenderString(int x, int y, const int width, const std::string & text, const fb_pixel_t color, const int boxheight = 0, const unsigned int flags = IS_UTF8);
|
||||
|
||||
int getRenderWidth(const char * text, const bool utf8_encoded = false);
|
||||
int getRenderWidth(const std::string & text, const bool utf8_encoded = false);
|
||||
int getRenderWidth(const char * text, const bool utf8_encoded = true);
|
||||
int getRenderWidth(const std::string & text, const bool utf8_encoded = true);
|
||||
int getHeight(void);
|
||||
int getDigitHeight(void);
|
||||
int getMaxDigitWidth(void);
|
||||
|
Reference in New Issue
Block a user