mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-16 18:03:42 +02:00
driver/fontrenderer: adding an additional bool to RenderString() seems inappropriate.
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