diff options
author | Paul Gilbert | 2019-02-17 14:32:42 -0800 |
---|---|---|
committer | Paul Gilbert | 2019-02-17 14:32:56 -0800 |
commit | 8fcf009668c6975fbe8e7eac2e676f9aa1f87421 (patch) | |
tree | 97165cefa4670e643ef42ce33bf873a78cb819a8 /engines/glk/frotz/windows.h | |
parent | 046f65a2c4cb38848fdbde6e89a2c2b3f7d4666c (diff) | |
download | scummvm-rg350-8fcf009668c6975fbe8e7eac2e676f9aa1f87421.tar.gz scummvm-rg350-8fcf009668c6975fbe8e7eac2e676f9aa1f87421.tar.bz2 scummvm-rg350-8fcf009668c6975fbe8e7eac2e676f9aa1f87421.zip |
GLK: FROTZ: More properly fix transparency handling of header
Diffstat (limited to 'engines/glk/frotz/windows.h')
-rw-r--r-- | engines/glk/frotz/windows.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/glk/frotz/windows.h b/engines/glk/frotz/windows.h index 001fb50cf0..3ee2fe6d93 100644 --- a/engines/glk/frotz/windows.h +++ b/engines/glk/frotz/windows.h @@ -63,14 +63,14 @@ class Window { /** * Get */ - operator zword() const { + operator uint() const { return _owner->getProperty(_prop); } /** * Set */ - PropertyAccessor &operator=(zword val) { + PropertyAccessor &operator=(uint val) { _owner->setProperty(_prop, val); return *this; } @@ -78,17 +78,17 @@ class Window { private: Windows *_windows; winid_t _win; - zword _properties[TRUE_BG_COLOR + 1]; + uint _properties[TRUE_BG_COLOR + 1]; private: /** * Get a property value */ - const zword &getProperty(WindowProperty propType); + const uint &getProperty(WindowProperty propType); /** * Set a property value */ - void setProperty(WindowProperty propType, zword value); + void setProperty(WindowProperty propType, uint value); /** * Called when trying to reposition or resize windows. Does special handling for the lower window |