SpiecsEngine
 
Loading...
Searching...
No Matches

◆ ImguiMainMenu()

Spices::ImguiMainMenu::ImguiMainMenu ( const std::string & panelName,
FrameInfo & frameInfo )

Constructor Function.

Parameters
[in]panelNameThe Slate's name to show.
[in]frameInfoThe Frame Date that in use.

Instance Child Item.

Instance Child Item.

Definition at line 23 of file ImguiMainMenu.cpp.

27 : ImguiSlate(panelName, frameInfo)
28 {
30
34 {
35 m_File = SlateSystem::GetRegister()->Register<ImguiFile> (false, "File");
36 m_Edit = SlateSystem::GetRegister()->Register<ImguiEdit> (false, "Edit");
37 m_Create = SlateSystem::GetRegister()->Register<ImguiCreateEntity>(false, "Create");
38 m_Window = SlateSystem::GetRegister()->Register<ImguiWindow> (false, "Window");
39 m_Help = SlateSystem::GetRegister()->Register<ImguiHelp> (false, "Help");
40 }
41 }
#define SPICES_PROFILE_ZONE
std::shared_ptr< ImguiCreateEntity > m_Create
std::shared_ptr< ImguiWindow > m_Window
std::shared_ptr< ImguiEdit > m_Edit
The shared pointer of ImguiEdit.
std::shared_ptr< ImguiHelp > m_Help
std::shared_ptr< ImguiFile > m_File
The shared pointer of ImguiFile.
ImguiSlate(const std::string &panelName, FrameInfo &frameInfo)
Constructor Function. Init with Slate's name.
Definition ImguiUtils.h:35
static std::shared_ptr< SlateRegister > GetRegister()
Get slate register.
Definition SlateSystem.h:67

References Spices::ImguiSlate::ImguiSlate().