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;
55 bool containsChar(uint16 c);
64 int16 getColorIndex()
const {
return _colorIndex; }
65 int16 getCharHeight()
const {
return _charHeight; }
66 int16 getLineIncr()
const {
return _lineIncr; }
67 const Common::Rect calculateRectForText(uint16 *text, uint textLength);
75 uint _charRangesCount;
83 void load(
Resource *resource)
override;
84 void unload()
override;
93 #endif // ILLUSIONS_FONTRESOURCE_H Definition: fontresource.h:42
Definition: fontresource.h:58
Definition: fontresource.h:80
Definition: fontresource.h:32
Definition: fontresource.h:49
Definition: resourcesystem.h:51
Definition: resourcesystem.h:42
Definition: resourcesystem.h:78
Definition: illusions.h:92