diff options
author | Zoolooc <lucianm@users.sourceforge.net> | 2011-03-07 22:12:13 +0100 |
---|---|---|
committer | Zoolooc <lucianm@users.sourceforge.net> | 2011-03-07 22:12:13 +0100 |
commit | aacb78d4335e498417835d518c64b33acb58c749 (patch) | |
tree | 463ecd627f9eaa55035d8777a9c5317668a3347f /glcdgraphics/font.h | |
parent | 379c2fefdeb4ae8d55add2d9ae44ea274cb7937b (diff) | |
download | graphlcd-base-aacb78d4335e498417835d518c64b33acb58c749.tar.gz graphlcd-base-aacb78d4335e498417835d518c64b33acb58c749.tar.bz2 |
consolidate Uf8 sequence detection in Utf8CodeAdjustCounter
Diffstat (limited to 'glcdgraphics/font.h')
-rw-r--r-- | glcdgraphics/font.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glcdgraphics/font.h b/glcdgraphics/font.h index 6bf72f5..f3427d5 100644 --- a/glcdgraphics/font.h +++ b/glcdgraphics/font.h @@ -83,6 +83,8 @@ public: void WrapText(int Width, int Height, std::string & Text, std::vector <std::string> & Lines, int * TextWidth = NULL) const; + + static void Utf8CodeAdjustCounter(const std::string & str, int & c, unsigned int & i); }; } // end of namespace |