Added BeginGroup() / EndGroup() layout tools (#160)

This commit is contained in:
ocornut
2015-03-17 23:28:57 +00:00
parent da4bfe3289
commit 7e297945c3
2 changed files with 114 additions and 5 deletions

View File

@ -223,8 +223,10 @@ namespace ImGui
IMGUI_API void EndTooltip();
// Layout
IMGUI_API void BeginGroup();
IMGUI_API void EndGroup();
IMGUI_API void Separator(); // horizontal line
IMGUI_API void SameLine(int column_x = 0, int spacing_w = -1); // call between widgets to layout them horizontally
IMGUI_API void SameLine(int column_x = 0, int spacing_w = -1); // call between widgets or groups to layout them horizontally
IMGUI_API void Spacing(); // add vertical spacing
IMGUI_API void Indent(); // move content position toward the right by style.IndentSpacing pixels
IMGUI_API void Unindent(); // move content position back to the left (cancel Indent)