From b2f6280e348aa595ee505c512e499f839b08e593 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 4 Aug 2019 19:41:05 -0700 Subject: GLK: Add methods for sending windows to the front/back of draw order --- engines/glk/windows.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'engines/glk/windows.h') 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; -- cgit v1.2.3