diff options
Diffstat (limited to 'engines/teenagent/font.h')
-rw-r--r-- | engines/teenagent/font.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/engines/teenagent/font.h b/engines/teenagent/font.h index 72c5edc4f1..a61f145fa6 100644 --- a/engines/teenagent/font.h +++ b/engines/teenagent/font.h @@ -34,15 +34,18 @@ public: Font(); ~Font(); - void load(const Pack &pack, int id); + void load(const Pack &pack, int id, byte height, byte widthPack); uint render(Graphics::Surface *surface, int x, int y, const Common::String &str, byte color, bool showGrid = false); uint render(Graphics::Surface *surface, int x, int y, char c, byte color); static void grid(Graphics::Surface *surface, int x, int y, int w, int h, byte color); - byte gridColor, shadowColor; - byte height, widthPack; + byte getHeight() { return _height; } + void setShadowColor(byte color) { _shadowColor = color; } private: - byte *data; + byte *_data; + + byte _gridColor, _shadowColor; + byte _height, _widthPack; }; } // End of namespace TeenAgent |