fixed blank items destroying menus

This commit is contained in:
David Anderson
2006-02-08 05:39:03 +00:00
parent 8d0a3ac9ae
commit 1e4c71e8e3
2 changed files with 47 additions and 18 deletions

View File

@@ -61,6 +61,8 @@ struct menuitem
MENUITEM_CALLBACK pfn;
size_t id;
CVector<int> blanks;
};
typedef unsigned int menu_t;
@@ -83,9 +85,8 @@ public:
int PagekeyToItem(page_t page, item_t key);
int GetMenuMenuid();
private:
CVector<menuitem * > m_Items;
public:
CVector<menuitem * > m_Items;
String m_Title;
String m_Text;