diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-25 16:28:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-25 16:35:59 +0300 |
commit | 684171f30e61ab2c594324a3ff78d0d2df6defb3 (patch) | |
tree | 993b60b0e0511670e5f35420351a3ada78b153f3 /src/gui/sdlfont.h | |
parent | a2af9029410b20748b053bf0ca6f78ee27efef9e (diff) | |
download | plus-684171f30e61ab2c594324a3ff78d0d2df6defb3.tar.gz plus-684171f30e61ab2c594324a3ff78d0d2df6defb3.tar.bz2 plus-684171f30e61ab2c594324a3ff78d0d2df6defb3.tar.xz plus-684171f30e61ab2c594324a3ff78d0d2df6defb3.zip |
add in sdlfont map support also for calculating string widths.
Diffstat (limited to 'src/gui/sdlfont.h')
-rw-r--r-- | src/gui/sdlfont.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/sdlfont.h b/src/gui/sdlfont.h index 41edf4145..9e439279f 100644 --- a/src/gui/sdlfont.h +++ b/src/gui/sdlfont.h @@ -99,6 +99,7 @@ class TextChunkList final SDLTextChunk *end; uint32_t size; std::map<SDLTextChunkSmall, SDLTextChunk*> search; + std::map<std::string, SDLTextChunk*> searchWidth; }; /** |