diff options
author | Paul Gilbert | 2018-12-31 18:34:42 -0800 |
---|---|---|
committer | Paul Gilbert | 2018-12-31 18:34:42 -0800 |
commit | 1021da132b2ed37232461c1ff44b78164b0a4ee5 (patch) | |
tree | 51efb87db162a9a229ad5d6fb1c2ecb8d9d230fe /engines/glk/window_text_grid.h | |
parent | f25b3d93c1596eadc49578b8b331609168678429 (diff) | |
download | scummvm-rg350-1021da132b2ed37232461c1ff44b78164b0a4ee5.tar.gz scummvm-rg350-1021da132b2ed37232461c1ff44b78164b0a4ee5.tar.bz2 scummvm-rg350-1021da132b2ed37232461c1ff44b78164b0a4ee5.zip |
GLK: Splitting font related info from Conf into their own classes
Diffstat (limited to 'engines/glk/window_text_grid.h')
-rw-r--r-- | engines/glk/window_text_grid.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/glk/window_text_grid.h b/engines/glk/window_text_grid.h index 749a910b96..1081df81b0 100644 --- a/engines/glk/window_text_grid.h +++ b/engines/glk/window_text_grid.h @@ -24,6 +24,7 @@ #define GLK_WINDOW_TEXT_GRID_H #include "glk/windows.h" +#include "glk/conf.h" namespace Glk { @@ -51,6 +52,8 @@ class TextGridWindow : public Window { }; typedef Common::Array<TextGridRow> TextGridRows; private: + MonoFontInfo &_font; +private: /** * Mark a given text row as modified */ @@ -88,6 +91,11 @@ public: virtual ~TextGridWindow(); /** + * Get the font info structure associated with the window + */ + virtual FontInfo *getFontInfo() override { return &_font; } + + /** * Rearranges the window */ virtual void rearrange(const Rect &box) override; |