Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-07-29 21:08:53 +0000
committerStijn Buys <ingar@osirion.org>2011-07-29 21:08:53 +0000
commite2b15c76e438e8325feafef23435d473f9c2e776 (patch)
tree835208e1b9e17557bd9a0b0b76a5b7f2af0f6125 /src/ui/window.h
parente1330a195c465309c25822d9365d3b0812fb8048 (diff)
Do not raise ui::Window instances on show(), emit signals on window show() and hide().
Diffstat (limited to 'src/ui/window.h')
-rw-r--r--src/ui/window.h7
1 files changed, 7 insertions, 0 deletions
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