aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/window_text_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/window_text_buffer.h')
-rw-r--r--engines/glk/window_text_buffer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/glk/window_text_buffer.h b/engines/glk/window_text_buffer.h
index 1eacbb9710..47d87a45ab 100644
--- a/engines/glk/window_text_buffer.h
+++ b/engines/glk/window_text_buffer.h
@@ -26,6 +26,7 @@
#include "glk/windows.h"
#include "glk/picture.h"
#include "glk/speech.h"
+#include "glk/conf.h"
#include "common/array.h"
#include "common/ustr.h"
@@ -54,6 +55,8 @@ class TextBufferWindow : public Window, Speech {
};
typedef Common::Array<TextBufferRow> TextBufferRows;
private:
+ PropFontInfo &_font;
+private:
void reflow();
void touchScroll();
bool putPicture(Picture *pic, uint align, uint linkval);
@@ -150,6 +153,11 @@ public:
uint drawPicture(uint image, uint align, uint scaled, uint width, uint height);
/**
+ * 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;