aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz/windows.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-02-15 19:23:53 -0800
committerPaul Gilbert2019-02-16 15:17:51 -0800
commit25b066520ed1247e2b3cd70433f9aa86c3587f7c (patch)
tree54902ed749cff2c208677f5a3568610a9e7a03cf /engines/glk/frotz/windows.cpp
parentf4fa6efad1ff41b3ed50c43ceec6904cfd3efa08 (diff)
downloadscummvm-rg350-25b066520ed1247e2b3cd70433f9aa86c3587f7c.tar.gz
scummvm-rg350-25b066520ed1247e2b3cd70433f9aa86c3587f7c.tar.bz2
scummvm-rg350-25b066520ed1247e2b3cd70433f9aa86c3587f7c.zip
GLK: FROTZ: Improved setup and handling of fg/bg colors
Diffstat (limited to 'engines/glk/frotz/windows.cpp')
-rw-r--r--engines/glk/frotz/windows.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/glk/frotz/windows.cpp b/engines/glk/frotz/windows.cpp
index a9728e15a7..4f59666705 100644
--- a/engines/glk/frotz/windows.cpp
+++ b/engines/glk/frotz/windows.cpp
@@ -127,6 +127,11 @@ const zword &Window::getProperty(WindowProperty propType) {
void Window::setProperty(WindowProperty propType, zword value) {
switch (propType) {
+ case TRUE_FG_COLOR:
+ case TRUE_BG_COLOR:
+ _properties[propType] = value;
+ break;
+
default:
warning("Setting window property %d not yet supported", (int)propType);
}