Mercurial > fife-parpg
diff engine/core/video/fonts/fontbase.h @ 244:7887f3854862
'Fixed' segfault in rio de hola. Font system in FIFE is odd.
Also don't call onActionFinished in ~Instance.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 25 Mar 2009 09:38:10 +0000 |
parents | 90005975cdbb |
children | 5d6b1820b953 |
line wrap: on
line diff
--- a/engine/core/video/fonts/fontbase.h Wed Mar 25 08:48:31 2009 +0000 +++ b/engine/core/video/fonts/fontbase.h Wed Mar 25 09:38:10 2009 +0000 @@ -55,7 +55,7 @@ int getGlyphSpacing() const; void setAntiAlias(bool antiAlias); bool isAntiAlias(); - virtual int getStringIndexAt(const std::string &text, int x); + virtual int getStringIndexAt(const std::string &text, int x) const; Image* getAsImage(const std::string& text); Image* getAsImageMultiline(const std::string& text);