diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/window.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/ui/window.h b/src/ui/window.h index 6c44d54..58535ba 100644 --- a/src/ui/window.h +++ b/src/ui/window.h @@ -20,16 +20,20 @@ public: Window(Widget *parent = 0); ~Window(); + /** + * @brief show the window and set input focus + * show() sets focus on the window and all of its parents + **/ + virtual void show(); + /// set the label of the previous window + // FIXME should be removed void set_previous(Window *previous); /// clear the label of the previous window + // FIXME should be removed void clear_previous(); - /// show the window - /**show() sets focus on the window and all of its parents - */ - virtual void show(); inline const std::string &previous() const { return window_previous; @@ -38,6 +42,7 @@ public: protected: virtual void draw_border(); + // FIXME should be removed std::string window_previous; }; |