From 14b2372f1a74198ec4f485f9665ef0acc27ae5e3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 28 Aug 2011 09:49:23 +0000 Subject: New base classes for cient menus. --- src/client/menuwindow.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/client/menuwindow.h (limited to 'src/client/menuwindow.h') 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__ + -- cgit v1.2.3