2
3
4
5
9#include "Slate/Imgui/ImguiUtils.h"
14
15
19
20
24
25
29
30
31
37
38
39
40
42 const std::string& panelName ,
47
48
52
53
54
58
59
63
64
70
71
75
76
80
81
#define ICON_TEXT(icon, text)
#define SPICES_PROFILE_ZONEN(...)
#define SPICES_PROFILE_ZONE
EventDispatcher(Event &event)
Constructor Function.
This Class store a Specific Event type first and Dispatch a event handle function to it.
This Class is the basic Event Class. Inherit from it and create specific event class.
FrameInfo Class. This class defines the FrameInfo data.
static void MainMenuTitleSeparator()
Draw main menu titile separator.
The ImGuiH Class. This class defines helper function for slate render.
virtual void OnRender() override
This interface is called On SlateRenderer Render.
ImguiMainMenu(const std::string &panelName, FrameInfo &frameInfo)
Constructor Function.
virtual void OnEvent(Event &event) override
This interface is called On Global Event Function Pointer is called.
The ImguiMainMenu Class. This class defines how to render a main menu.
ImguiSlate(const std::string &panelName, FrameInfo &frameInfo)
Constructor Function. Init with Slate's name.
This Class defines the basic behaves of specific slate. When we add an new Slate, we need inherit fro...
The ImguiUtilities Class. This class defines how to render a Utilities.
The ImguiVisualizer Class. This class defines how to render a Visualizer.
virtual void OnUpdate(TimeStep &ts) override
This interface is called On SlateSystem Update.
virtual void OnEvent(Event &event) override
This interface is called On Global Event Function Pointer is called.
std::shared_ptr< ImguiVisualizer > m_Visualizer
The shared pointer of ImguiVisualizer.
ImguiWindow(const std::string &panelName, FrameInfo &frameInfo)
Constructor Function.
std::shared_ptr< ImguiViewportMenu > m_ViewportMenu
The shared pointer of ImguiUtilities.
virtual ~ImguiWindow() override=default
Destructor Function.
std::shared_ptr< ImguiUtilities > m_Utilities
The shared pointer of ImguiUtilities.
virtual void OnRender() override
This interface is called On SlateRenderer Render.
The ImguiWindow Class. This class defines how to render a window menu.
const int & GetKeyCode() const
Get Key Input Code.
This Class is inherited from KeyEvent Class.
static std::shared_ptr< SlateStyleLayout > Get()
Get this single instance.
Wrappers of Slate StyleLayout Functions.
This Class handles our engine time step during frames. Global Unique.