diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2011-05-30 22:50:45 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2011-05-30 22:50:45 +0200 |
commit | 8b7ea2983245e2c2e046054a0acd0995e86e285e (patch) | |
tree | 39d8cb608a8be5a2dbffb4d98e747adb06ba6f0e /glcdgraphics/font.h | |
parent | 9ef1de248a0c077f74f7724357cee4a37b493cde (diff) | |
download | graphlcd-base-8b7ea2983245e2c2e046054a0acd0995e86e285e.tar.gz graphlcd-base-8b7ea2983245e2c2e046054a0acd0995e86e285e.tar.bz2 |
integrate utf8-changes made by zoolooc: 'consolidate Uf8 sequence detection in Utf8CodeAdjustCounter'
Diffstat (limited to 'glcdgraphics/font.h')
-rw-r--r-- | glcdgraphics/font.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glcdgraphics/font.h b/glcdgraphics/font.h index 1315123..3bab7df 100644 --- a/glcdgraphics/font.h +++ b/glcdgraphics/font.h @@ -81,6 +81,7 @@ public: void WrapText(int Width, int Height, std::string & Text, std::vector <std::string> & Lines, int * TextWidth = NULL) const; bool IsUTF8(void) const { return isutf8; } + static void Utf8CodeAdjustCounter(const std::string & str, uint32_t & c, unsigned int & i); }; } // end of namespace |