Setup UI menu code

This commit is contained in:
Dr. Chat
2015-05-09 16:47:52 -05:00
parent 4411a4499d
commit 459024059a
9 changed files with 108 additions and 21 deletions

View File

@@ -14,6 +14,9 @@ namespace ui {
MenuItem::MenuItem(Type type) : type_(type), parent_item_(nullptr) {}
MenuItem::MenuItem(Type type, const std::wstring &text) :
type_(type), parent_item_(nullptr), text_(text) {}
MenuItem::~MenuItem() = default;
void MenuItem::AddChild(MenuItem* child_item) {