aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz/windows.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-03-06 20:16:24 -0800
committerPaul Gilbert2019-03-06 20:17:35 -0800
commit1c5a8930b3ca16c1a1ce05500f9d52741de28a48 (patch)
tree4f0f0923f0220b33d28acaedb153d06a4ef2b0d6 /engines/glk/frotz/windows.h
parentb56874027e6037ce99c3b6805f49ac10e790fb11 (diff)
downloadscummvm-rg350-1c5a8930b3ca16c1a1ce05500f9d52741de28a48.tar.gz
scummvm-rg350-1c5a8930b3ca16c1a1ce05500f9d52741de28a48.tar.bz2
scummvm-rg350-1c5a8930b3ca16c1a1ce05500f9d52741de28a48.zip
GLK: FROTZ: Create Glk windows on the fly as needed
This is laying groundwork for properly supporting Shogun, which sets up and uses Window 7
Diffstat (limited to 'engines/glk/frotz/windows.h')
-rw-r--r--engines/glk/frotz/windows.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/glk/frotz/windows.h b/engines/glk/frotz/windows.h
index 9d9af2aa00..0f2bdff772 100644
--- a/engines/glk/frotz/windows.h
+++ b/engines/glk/frotz/windows.h
@@ -77,6 +77,7 @@ class Window {
};
private:
Windows *_windows;
+ int _index;
winid_t _win;
uint _properties[TRUE_BG_COLOR + 1];
private:
@@ -99,6 +100,11 @@ private:
* Updates the local window properties based on an attached Glk window
*/
void update();
+
+ /**
+ * Creates a new Glk window to attach to the window
+ */
+ void createGlkWindow();
public:
/**
* Constructor
@@ -162,6 +168,11 @@ public:
* Update colors for the window
*/
void updateColors(uint fore, uint back);
+
+ /**
+ * Set the textstyle
+ */
+ void setStyle(uint style);
};
/**