aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz/windows.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-03-27 19:07:08 -0700
committerPaul Gilbert2019-04-04 18:50:52 -0700
commit10a5b70b0af167c1f154a4c9dbe8829fe966fffa (patch)
treef80f2a480ba4a21e36a53b3533c1e46afbe25cf9 /engines/glk/frotz/windows.h
parentf04705084c6745b67766f33eac25cc73b4d3f524 (diff)
downloadscummvm-rg350-10a5b70b0af167c1f154a4c9dbe8829fe966fffa.tar.gz
scummvm-rg350-10a5b70b0af167c1f154a4c9dbe8829fe966fffa.tar.bz2
scummvm-rg350-10a5b70b0af167c1f154a4c9dbe8829fe966fffa.zip
GLK: FROTZ: Handle creating Glk window when switching to/from fixed width styles
Diffstat (limited to 'engines/glk/frotz/windows.h')
-rw-r--r--engines/glk/frotz/windows.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/glk/frotz/windows.h b/engines/glk/frotz/windows.h
index fe59cc7e00..f12d9eec20 100644
--- a/engines/glk/frotz/windows.h
+++ b/engines/glk/frotz/windows.h
@@ -102,9 +102,10 @@ private:
void update();
/**
- * Creates a new Glk window to attach to the window
+ * Creates a new Glk window to attach to the window if not already present, or recreates the window
+ * if the font style has changed to/from fixed width
*/
- void createGlkWindow();
+ void ensureGlkWindow();
/**
* Updates the current font/style
@@ -191,7 +192,7 @@ public:
/**
* Set the textstyle
*/
- void setStyle(int style = -1);
+ void setStyle(uint style = 0xf000);
/**
* Set reverse video