From e2b15c76e438e8325feafef23435d473f9c2e776 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 29 Jul 2011 21:08:53 +0000 Subject: Do not raise ui::Window instances on show(), emit signals on window show() and hide(). --- src/ui/window.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/ui/window.h') diff --git a/src/ui/window.h b/src/ui/window.h index 58535ba..401c370 100644 --- a/src/ui/window.h +++ b/src/ui/window.h @@ -23,8 +23,15 @@ public: /** * @brief show the window and set input focus * show() sets focus on the window and all of its parents + * The window will emit an EventWindowShow **/ virtual void show(); + + /** + * @brief hide the window + * The window will emit an EventWindowHide + **/ + virtual void hide(); /// set the label of the previous window // FIXME should be removed -- cgit v1.2.3