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>2008-10-12 14:55:10 +0000
committerStijn Buys <ingar@osirion.org>2008-10-12 14:55:10 +0000
commitb417df720584c101f3799874a0c836a543a8d0a8 (patch)
treefb7105ed662f13753a6ab8d3efb047bad04f2316 /src/ui/window.h
parent18383a5fc596bf9546f14d7393ee66c57720b116 (diff)
user interface updates, work-in-progress
Diffstat (limited to 'src/ui/window.h')
-rw-r--r--src/ui/window.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/ui/window.h b/src/ui/window.h
index a134f04..919559f 100644
--- a/src/ui/window.h
+++ b/src/ui/window.h
@@ -9,32 +9,36 @@
#include "ui/widget.h"
-namespace ui {
+namespace ui
+{
-class Window : public Widget {
+class Window : public Widget
+{
public:
Window(Window *parent=0);
~Window();
-
+
virtual void draw_border();
-
+
/// set the label of the previous window
void set_previous(Window *previous);
/// clear the label of the previous window
void clear_previous();
-
- inline std::string const &previous() const { return window_previous; }
-
+
+ inline const std::string &previous() const {
+ return window_previous;
+ }
+
protected:
typedef std::list<Window *> Windows;
Windows window_children;
-
+
Windows::iterator find_window(Window *window);
-
+
virtual void add_window(Window *window);
virtual void remove_window(Window *window);
-
+
/// label of the previous window that got activated
/** This label is used to implement the 'menu previous'
* command