mirror of
https://github.com/Drezil/imgui.git
synced 2025-03-29 07:22:44 +00:00
Added comment on return value of Begin()
This commit is contained in:
parent
af37fb1ee7
commit
89a412690c
2
imgui.h
2
imgui.h
@ -139,7 +139,7 @@ namespace ImGui
|
|||||||
void ShowTestWindow(bool* open = NULL);
|
void ShowTestWindow(bool* open = NULL);
|
||||||
|
|
||||||
// Window
|
// Window
|
||||||
bool Begin(const char* name = "Debug", bool* open = NULL, ImVec2 size = ImVec2(0,0), float fill_alpha = -1.0f, ImGuiWindowFlags flags = 0);
|
bool Begin(const char* name = "Debug", bool* open = NULL, ImVec2 size = ImVec2(0,0), float fill_alpha = -1.0f, ImGuiWindowFlags flags = 0); // return false when window is collapsed, so you can early out in your code.
|
||||||
void End();
|
void End();
|
||||||
void BeginChild(const char* str_id, ImVec2 size = ImVec2(0,0), bool border = false, ImGuiWindowFlags extra_flags = 0);
|
void BeginChild(const char* str_id, ImVec2 size = ImVec2(0,0), bool border = false, ImGuiWindowFlags extra_flags = 0);
|
||||||
void EndChild();
|
void EndChild();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user