CTextBox: add switch for utf8 disable/enable

Origin commit data
------------------
Branch: ni/coolstream
Commit: 37c863d141
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-12 (Sun, 12 Jul 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2015-07-12 18:31:01 +02:00
committed by Jacek Jendrzej
parent c3d2f362e6
commit 360105e76e
2 changed files with 5 additions and 2 deletions

View File

@@ -148,6 +148,7 @@ class CTextBox
int m_nBgRadiusType;
bool m_nPaintBackground;
bool m_SaveScreen;
bool m_utf8_encoded;
Font* m_pcFontText;
int m_nFontTextHeight;
@@ -192,6 +193,8 @@ class CTextBox
void setWindowMaxDimensions(const int width, const int height);
void setWindowMinDimensions(const int width, const int height);
void setFontUseDigitHeight(bool set=true);
void enableUTF8(bool enable = true){m_utf8_encoded = enable;}
void disableUTF8(bool enable = false){enableUTF8(false);}
inline bool isPainted(void) {if( frameBuffer == NULL) return (false); else return (true);};
inline CBox getWindowsPos(void) {return(m_cFrame);};