aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz/windows.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-03-12 21:08:03 -0700
committerPaul Gilbert2019-03-12 21:09:53 -0700
commit7a13a6067805fdc15b76646ed052d7394f182b16 (patch)
tree72ecc1020f89eb1a300a6077889cd3970e863359 /engines/glk/frotz/windows.h
parent5c0340318f8f283e568e2763cc64d032fef41219 (diff)
downloadscummvm-rg350-7a13a6067805fdc15b76646ed052d7394f182b16.tar.gz
scummvm-rg350-7a13a6067805fdc15b76646ed052d7394f182b16.tar.bz2
scummvm-rg350-7a13a6067805fdc15b76646ed052d7394f182b16.zip
GLK: FROTZ: Move remainder of font/style logic into Window
Diffstat (limited to 'engines/glk/frotz/windows.h')
-rw-r--r--engines/glk/frotz/windows.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/engines/glk/frotz/windows.h b/engines/glk/frotz/windows.h
index 0f2bdff772..8b971cc9c4 100644
--- a/engines/glk/frotz/windows.h
+++ b/engines/glk/frotz/windows.h
@@ -105,6 +105,20 @@ private:
* Creates a new Glk window to attach to the window
*/
void createGlkWindow();
+
+ /**
+ * Updates the current font/style
+ */
+ void updateStyle();
+public:
+ int _currFont;
+ int _prevFont;
+ int _tempFont;
+ int _currStyle;
+ int _oldStyle;
+ int _quotes;
+ int _dashes;
+ int _spaces;
public:
/**
* Constructor
@@ -170,9 +184,14 @@ public:
void updateColors(uint fore, uint back);
/**
+ * Set the font
+ */
+ uint setFont(uint font);
+
+ /**
* Set the textstyle
*/
- void setStyle(uint style);
+ void setStyle(int style = -1);
};
/**