2
3
4
5
10#include "Systems/SlateSystem.h"
15 const std::string& panelName ,
28
29
32 ImGui::Text(
"Spices Engine Version 0.0.1");
34 const float footer_height_to_reserve = ImGui::GetStyle().ItemSpacing.y + ImGui::GetFrameHeightWithSpacing();
35 ImGui::PushStyleColor(ImGuiCol_ChildBg, ImGui::GetStyleColorVec4(ImGuiCol_FrameBg));
36 if (ImGui::BeginChild(
"ScrollingRegion", ImVec2(0, -footer_height_to_reserve), ImGuiChildFlags_None, ImGuiWindowFlags_HorizontalScrollbar))
38 ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(4, 1));
40 ImGui::Text(
"Spices Engine Version 0.0.1\n\n");
45 ImGui::PopStyleColor();
49
50
#define SPICES_PROFILE_ZONE
FrameInfo Class. This class defines the FrameInfo data.
ImguiAbout(const std::string &panelName, FrameInfo &frameInfo)
Constructor Function.
virtual void OnRender() override
This interface is called On SlateRenderer Render.
The ImguiAbout Class. This class defines how to render a About.
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...