CComponentsText: add switch for utf8 disable/enable

This commit is contained in:
2015-07-12 18:38:32 +02:00
committed by Jacek Jendrzej
parent 37c863d141
commit ccdaacb0a0
3 changed files with 8 additions and 1 deletions

View File

@@ -194,7 +194,7 @@ class CTextBox
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);}
void disableUTF8(bool enable = false){enableUTF8(enable);}
inline bool isPainted(void) {if( frameBuffer == NULL) return (false); else return (true);};
inline CBox getWindowsPos(void) {return(m_cFrame);};