aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz/windows.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-02-27 21:53:41 -0800
committerPaul Gilbert2019-02-27 21:53:41 -0800
commit833e1d11c0647c46757347bbc955259c40e9e83d (patch)
treeddd8e906717fe09028716a632400a19d6f93b885 /engines/glk/frotz/windows.h
parent27f4eb8f1b78572c005833cfa068e44b56722e01 (diff)
downloadscummvm-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.h10
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();
};
/**