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-08-28 09:49:23 +0000
committerStijn Buys <ingar@osirion.org>2011-08-28 09:49:23 +0000
commit14b2372f1a74198ec4f485f9665ef0acc27ae5e3 (patch)
tree0d03c4c08f5b1134b9be05875a2a27148d64dedc /src/client/menuwindow.h
parent8b9b47e71cfd3ca1a9c3b8f9574ab460c9a8f437 (diff)
New base classes for cient menus.
Diffstat (limited to 'src/client/menuwindow.h')
-rw-r--r--src/client/menuwindow.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/client/menuwindow.h b/src/client/menuwindow.h
new file mode 100644
index 0000000..82aaf8b
--- /dev/null
+++ b/src/client/menuwindow.h
@@ -0,0 +1,34 @@
+/*
+ client/menuwindow.h
+ This file is part of the Osirion project and is distributed under
+ the terms and conditions of the GNU General Public License version 2
+*/
+
+#ifndef __INCLUDED_CLIENT_MENUWINDOW_H__
+#define __INCLUDED_CLIENT_MENUWINDOW_H__
+
+#include "ui/window.h"
+
+namespace client
+{
+
+/**
+ * @brief generic base class for client windows
+ * This class implements the default layout for most client
+ * windows
+ **/
+class MenuWindow : public ui::Window
+{
+public:
+ MenuWindow(ui::Widget *parent = 0);
+ virtual ~MenuWindow();
+
+protected:
+
+ virtual void resize();
+};
+
+}
+
+#endif // __INCLUDED_CLIENT_MENUWINDOW_H__
+