diff options
author | Paul Gilbert | 2019-08-11 14:38:32 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-08-11 20:05:12 -0700 |
commit | ec3af0e0c610bd793a84cbfdfcef1b296d8883ba (patch) | |
tree | 2003aff794a84692581c6b52ce0c97501efdc528 /engines/glk/frotz/windows.h | |
parent | 2d7635736f3023c23f7e7537f6549b34479014b7 (diff) | |
download | scummvm-rg350-ec3af0e0c610bd793a84cbfdfcef1b296d8883ba.tar.gz scummvm-rg350-ec3af0e0c610bd793a84cbfdfcef1b296d8883ba.tar.bz2 scummvm-rg350-ec3af0e0c610bd793a84cbfdfcef1b296d8883ba.zip |
GLK: FROTZ: Allow window positioning before creating Glk window
This fixes a bug window with Athur that after the intro an extra
text buffer window was needlessly being created which covered the
play area, simply because one of the frotz windows had it's
properties set
Diffstat (limited to 'engines/glk/frotz/windows.h')
-rw-r--r-- | engines/glk/frotz/windows.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/glk/frotz/windows.h b/engines/glk/frotz/windows.h index d55c928a30..bd2cfd1c7f 100644 --- a/engines/glk/frotz/windows.h +++ b/engines/glk/frotz/windows.h @@ -164,16 +164,31 @@ public: void setSize(const Point &newSize); /** + * Copys a window's size to the underlying Glk one, if present + */ + void setSize(); + + /** * Set the position of a window */ void setPosition(const Point &newPos); /** + * Copys a window's position to the underlying Glk one, if present + */ + void setPosition(); + + /** * Set the cursor position */ void setCursor(const Point &newPos); /** + * Copys a window's position to the underlying Glk one, if present + */ + void setCursor(); + + /** * Clear the window */ void clear(); |