Begin a common slate with name.
- Parameters
-
| [in] | panelName | The name of Slate. |
| [in] | alpha | Opacity. |
| [in] | flags | Slate flags. |
Query Resize Event Condition.
Query Slate State, maybe implementate in parent.
Query Resize Event Condition.
Query Slate State, maybe implementate in parent.
Definition at line 19 of file ImguiUtils.cpp.
20 {
22
25
26
27 if (alpha < 1)
28 {
29 ImGui::SetNextWindowBgAlpha(alpha);
30 }
31
33
34 if (ImGui::BeginPopupContextItem())
35 {
36 if (ImGui::MenuItem("Close"))
38 ImGui::EndPopup();
39 }
40
45
49 {
51
55 }
56 }
#define SPICES_PROFILE_ZONEN(...)
#define SPICES_PROFILE_ZONE
bool m_IsHovered
True if Hovered.
ImVec2 m_PanelPos
This slate's position in desktop.
ImGuiWindowFlags m_WindowFlags
Flags of this window slate.
virtual void QueryIsResizedThisFrame(const ImVec2 &thisFrameSize)
Query whether viewport is resized this frame.
bool m_IsFocused
True if Focus.
References Spices::ImguiSlate::m_IsSlateOn.