2
3
4
5
17
18
19 Begin(m_PanelName, 0.5f, ImGuiWindowFlags_NoTitleBar);
21 const ImVec2 buttonSize = ImVec2(ImGui::GetContentRegionAvail().x, ImGui::GetContentRegionAvail().x);
22 const float fontSize = ImGui::GetContentRegionAvail().x / ImGuiH::GetLineItemSize().x;
30 ImGui::SetWindowFontScale(0.2f);
31 ImGui::PushStyleColor(ImGuiCol_Separator, ImVec4(0.19f, 0.19f, 0.19f, 1.0f));
32 ImGui::PushStyleVar(ImGuiStyleVar_SeparatorTextBorderSize, 2.0f);
33 ImGui::SeparatorText(
"##");
34 ImGui::SeparatorText(
"##");
35 ImGui::SeparatorText(
"##");
36 ImGui::SetWindowFontScale(1.0f);
38 ImGui::PopStyleColor();
47 ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(2.0f, 4.0f));
48 ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(0.567f, 0.629f, 0.641f, 1.0f));
49 ImGui::SetWindowFontScale(fontSize);
52 ImGui::Button(ICON_MD_VIEW_IN_AR, buttonSize);
53 ImGui::SetItemTooltip(
"All Model Kinds(T)");
55 ImGui::SetItemTooltip(
"Select(Q)");
56 ImGui::Button(ICON_MD_OPEN_WITH, buttonSize);
57 ImGui::SetItemTooltip(
"Move(W)");
58 ImGui::Button(ICON_MD_FLIP_CAMERA_ANDROID, buttonSize);
59 ImGui::SetItemTooltip(
"Rotate(E)");
60 ImGui::Button(ICON_MD_ZOOM_OUT_MAP, buttonSize);
61 ImGui::SetItemTooltip(
"Scale(R)");
64 ImGui::SetItemTooltip(
"Snap(S)");
66 ImGui::Button(ICON_MD_PLAY_ARROW, buttonSize);
67 ImGui::SetItemTooltip(
"Play(Space)");
68 ImGui::Button(ICON_MD_PAUSE, buttonSize);
69 ImGui::SetItemTooltip(
"Pause(Space)");
70 ImGui::Button(ICON_MD_STOP, buttonSize);
71 ImGui::SetItemTooltip(
"Stop");
73 ImGui::Button(ICON_MD_BRUSH, buttonSize);
74 ImGui::SetItemTooltip(
"Paint CTRL + B");
76 ImGui::SetItemTooltip(
"Zero Gravity(X)");
78 ImGui::SetWindowFontScale(1.0f);
79 ImGui::PopStyleColor();
83
84
#define SPICES_PROFILE_ZONEN(...)
#define SPICES_PROFILE_ZONE
virtual void OnRender() override
This interface is called On SlateRenderer Render.
The ImguiOperation Class. This class defines how to render a Operation Panel.