mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
lcd fontrenderer: port to new API usage
Origin commit data
------------------
Branch: ni/coolstream
Commit: 754262bbc3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-12-25 (Thu, 25 Dec 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -56,13 +56,15 @@ class LcdFont
|
||||
|
||||
FT_Error getGlyphBitmap(FT_ULong glyph_index, FTC_SBit *sbit);
|
||||
|
||||
public:
|
||||
void RenderString(int x, int y, int width, const char *text, int color, int selected=0, const bool utf8_encoded = false);
|
||||
public:
|
||||
void RenderString(int x, int y, int width, const char *text, int color,
|
||||
int selected = 0, const bool utf8_encoded = true);
|
||||
|
||||
int getRenderWidth(const char *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);
|
||||
|
||||
LcdFont(CLCDDisplay *fb, LcdFontRenderClass *render, FTC_FaceID faceid, int isize);
|
||||
~LcdFont(){}
|
||||
LcdFont(CLCDDisplay *fb, LcdFontRenderClass *render, FTC_FaceID faceid, int isize);
|
||||
~LcdFont(){}
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user