aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/window_text_grid.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/window_text_grid.h')
-rw-r--r--engines/glk/window_text_grid.h8
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;