comparison engine/core/video/fonts/abstractfont.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 47b49b9b0c0a
comparison
equal deleted inserted replaced
243:a822b1a6e3cd 244:7887f3854862
86 * 86 *
87 * @return true if anti aliasing is used. 87 * @return true if anti aliasing is used.
88 */ 88 */
89 virtual bool isAntiAlias() = 0; 89 virtual bool isAntiAlias() = 0;
90 90
91 virtual int getStringIndexAt(const std::string &text, int x) = 0; 91 virtual int getStringIndexAt(const std::string &text, int x) const = 0;
92 92
93 /** Gets given text as Image 93 /** Gets given text as Image
94 * The rsulting image is pooled, so it's not that time critical 94 * The rsulting image is pooled, so it's not that time critical
95 */ 95 */
96 virtual Image* getAsImage(const std::string& text) = 0; 96 virtual Image* getAsImage(const std::string& text) = 0;