SubMenuItem.h

Go to the documentation of this file.
00001 
00005 /* Copyright © 2009 James Legg.
00006     This program is free software: you can redistribute it and/or modify
00007     it under the terms of the GNU General Public License as published by
00008     the Free Software Foundation, either version 3 of the License, or
00009     (at your option) any later version.
00010 */
00011 #ifndef SUBMENUITEM_H_
00012 #define SUBMENUITEM_H_
00013 
00014 #include "MenuItem.h"
00015 #include "Menu.h"
00016 
00017 namespace UI
00018 {
00019 
00020 class Menu;
00021 
00024 class SubMenuItem : public UI::MenuItem
00025 {
00026 public:
00027     SubMenuItem(std::wstring label);
00028     virtual ~SubMenuItem();
00029     virtual void draw();
00030     Menu * get_menu();
00031 private:
00032     Menu menu;
00033 };
00034 
00035 }
00036 
00037 #endif /*SUBMENUITEM_H_*/

Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:13 2010 by Doxygen version 1.4.7 for Racer version svn335.