22 #ifndef ILLUSIONS_FONTRESOURCE_H 23 #define ILLUSIONS_FONTRESOURCE_H 25 #include "illusions/graphics.h" 26 #include "illusions/resourcesystem.h" 30 class IllusionsEngine;
36 void load(
Resource *resource)
override;
37 bool isFlag(
int flag)
override;
57 bool containsChar(uint16 c);
66 int16 getColorIndex()
const {
return _colorIndex; }
67 int16 getCharHeight()
const {
return _charHeight; }
68 int16 getLineIncr()
const {
return _lineIncr; }
69 const Common::Rect calculateRectForText(uint16 *text, uint textLength);
77 uint _charRangesCount;
85 void load(
Resource *resource)
override;
86 void unload()
override;
95 #endif // ILLUSIONS_FONTRESOURCE_H Definition: fontresource.h:42
Definition: fontresource.h:60
Definition: fontresource.h:82
Definition: fontresource.h:32
Definition: fontresource.h:49
Definition: resourcesystem.h:51
Definition: resourcesystem.h:42
Definition: resourcesystem.h:78
Definition: illusions.h:92