diff options
author | Paul Gilbert | 2019-02-27 21:53:41 -0800 |
---|---|---|
committer | Paul Gilbert | 2019-02-27 21:53:41 -0800 |
commit | 833e1d11c0647c46757347bbc955259c40e9e83d (patch) | |
tree | ddd8e906717fe09028716a632400a19d6f93b885 /engines/glk/frotz/windows.h | |
parent | 27f4eb8f1b78572c005833cfa068e44b56722e01 (diff) | |
download | scummvm-rg350-833e1d11c0647c46757347bbc955259c40e9e83d.tar.gz scummvm-rg350-833e1d11c0647c46757347bbc955259c40e9e83d.tar.bz2 scummvm-rg350-833e1d11c0647c46757347bbc955259c40e9e83d.zip |
GLK: FROTZ: Move window clearing to a Window method
Diffstat (limited to 'engines/glk/frotz/windows.h')
-rw-r--r-- | engines/glk/frotz/windows.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/glk/frotz/windows.h b/engines/glk/frotz/windows.h index f24be2d636..dce980b7c8 100644 --- a/engines/glk/frotz/windows.h +++ b/engines/glk/frotz/windows.h @@ -108,10 +108,7 @@ public: /** * Assignment operator */ - Window &operator=(winid_t win) { - _win = win; - return *this; - } + Window &operator=(winid_t win); /** * Cast operator for getting a Glk window @@ -145,6 +142,11 @@ public: * Set the cursor position */ void setCursor(const Point &newPos); + + /** + * Clear the window + */ + void clear(); }; /** |