mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
driver/fontrenderer: adding an additional bool to RenderString() seems inappropriate.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2047b51780
Author: martii <m4rtii@gmx.de>
Date: 2013-07-24 (Wed, 24 Jul 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -65,8 +65,14 @@ class Font
|
||||
};
|
||||
fontmodifier stylemodifier;
|
||||
|
||||
void RenderString(int x, int y, const int width, const char * text, const fb_pixel_t color, const int boxheight = 0, const bool utf8_encoded = false, const bool useFullBg = false);
|
||||
void RenderString(int x, int y, const int width, const std::string & text, const fb_pixel_t color, const int boxheight = 0, const bool utf8_encoded = false, const bool useFullBg = false);
|
||||
enum renderflags
|
||||
{
|
||||
IS_UTF8 = 1,
|
||||
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);
|
||||
|
||||
int getRenderWidth(const char * text, const bool utf8_encoded = false);
|
||||
int getRenderWidth(const std::string & text, const bool utf8_encoded = false);
|
||||
|
Reference in New Issue
Block a user