aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/windows.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-08-04 19:41:05 -0700
committerPaul Gilbert2019-08-08 20:10:33 -0700
commitb2f6280e348aa595ee505c512e499f839b08e593 (patch)
tree6f1ab6b0352d38a3a469fc6674f58c8c9d020eb8 /engines/glk/windows.h
parent6fe59d14e5c4e592f4e1d8766c05de0f1e1989e5 (diff)
downloadscummvm-rg350-b2f6280e348aa595ee505c512e499f839b08e593.tar.gz
scummvm-rg350-b2f6280e348aa595ee505c512e499f839b08e593.tar.bz2
scummvm-rg350-b2f6280e348aa595ee505c512e499f839b08e593.zip
GLK: Add methods for sending windows to the front/back of draw order
Diffstat (limited to 'engines/glk/windows.h')
-rw-r--r--engines/glk/windows.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/glk/windows.h b/engines/glk/windows.h
index f3edbb2069..8d713036e7 100644
--- a/engines/glk/windows.h
+++ b/engines/glk/windows.h
@@ -581,6 +581,16 @@ public:
* Returns a pointer to the styles for the window
*/
virtual const WindowStyle *getStyles() const;
+
+ /**
+ * In arbitrary window positioning mode, brings a window to the front of all other windows
+ */
+ void bringToFront();
+
+ /**
+ * In arbitrary window positioning mode, sends a window to the back of all other windows
+ */
+ void sendToBack();
};
typedef Window *winid_t;