mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Comments
This commit is contained in:
parent
fc3b8d0a56
commit
ab4a69bcd4
@ -594,8 +594,8 @@ struct IMGUI_API ImGuiDrawContext
|
|||||||
struct IMGUI_API ImGuiWindow
|
struct IMGUI_API ImGuiWindow
|
||||||
{
|
{
|
||||||
char* Name;
|
char* Name;
|
||||||
ImGuiID ID;
|
ImGuiID ID; // == ImHash(Name)
|
||||||
ImGuiWindowFlags Flags;
|
ImGuiWindowFlags Flags; // See enum ImGuiWindowFlags_
|
||||||
int IndexWithinParent; // Order within immediate parent window, if we are a child window. Otherwise 0.
|
int IndexWithinParent; // Order within immediate parent window, if we are a child window. Otherwise 0.
|
||||||
ImVec2 PosFloat;
|
ImVec2 PosFloat;
|
||||||
ImVec2 Pos; // Position rounded-up to nearest pixel
|
ImVec2 Pos; // Position rounded-up to nearest pixel
|
||||||
@ -637,8 +637,8 @@ struct IMGUI_API ImGuiWindow
|
|||||||
ImGuiStorage StateStorage;
|
ImGuiStorage StateStorage;
|
||||||
float FontWindowScale; // Scale multiplier per-window
|
float FontWindowScale; // Scale multiplier per-window
|
||||||
ImDrawList* DrawList;
|
ImDrawList* DrawList;
|
||||||
ImGuiWindow* RootWindow;
|
ImGuiWindow* RootWindow; // If we are a child window, this is pointing to the first non-child parent window. Else point to ourself.
|
||||||
ImGuiWindow* RootNonPopupWindow;
|
ImGuiWindow* RootNonPopupWindow; // If we are a child widnow, this is pointing to the first non-child non-popup parent window. Else point to ourself.
|
||||||
|
|
||||||
// Focus
|
// Focus
|
||||||
int FocusIdxAllCounter; // Start at -1 and increase as assigned via FocusItemRegister()
|
int FocusIdxAllCounter; // Start at -1 and increase as assigned via FocusItemRegister()
|
||||||
|
Loading…
Reference in New Issue
Block a user