00001 #ifndef HWMENU_H_
00002 #define HWMENU_H_
00003
00004 #include <hwWidget.h>
00005 #include <vector>
00006
00007 class hwMenuItem;
00008
00009 class hwMenu : public hwWidget
00010 {
00011 public:
00012
00013 hwMenu(const string& title);
00014
00015 ~hwMenu();
00016
00017 string draw();
00018
00019 void add(hwMenuItem* item);
00020
00021 string getTitle()
00022 {
00023 return myTitle;
00024 }
00025
00026 private:
00027
00028 string myTitle;
00029 vector<hwMenuItem*> myItems;
00030 };
00031
00032 #endif
00033