diff options
Diffstat (limited to 'Editor/GUI/MenuManager.h')
-rw-r--r-- | Editor/GUI/MenuManager.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Editor/GUI/MenuManager.h b/Editor/GUI/MenuManager.h new file mode 100644 index 0000000..8d0339d --- /dev/null +++ b/Editor/GUI/MenuManager.h @@ -0,0 +1,30 @@ +#ifndef MENU_CONTROLLER_H +#define MENU_CONTROLLER_H + +#include <string> +#include <unordered_map> +#include <windows.h> + +#include "Runtime/Utilities/Singleton.h" + +class MenuItem +{ + +}; + +class MenuManager : public Singleton<MenuManager> +{ +public: + MenuManager(); + + void Init(); + void AddMenuItem(std::string name, int order = 0); + void HandleMenuItemEvent(HMENU menu, unsigned int menuId, unsigned int flags); + +private: + std::unordered_map<std::string, HMENU> m_Menus; + +}; + + +#endif
\ No newline at end of file |