summaryrefslogtreecommitdiff
path: root/Editor/GUI/MenuManager.h
blob: 8d0339d9ff827129e58f1f199bcaba7496818d16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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