Added NewLine() (very shy reminder that #97 isn't done)

This commit is contained in:
ocornut
2016-05-16 20:14:07 +02:00
parent 47d10944a5
commit 69a29e4715
3 changed files with 14 additions and 2 deletions

View File

@ -191,6 +191,7 @@ namespace ImGui
// Cursor / Layout
IMGUI_API void Separator(); // horizontal line
IMGUI_API void SameLine(float pos_x = 0.0f, float spacing_w = -1.0f); // call between widgets or groups to layout them horizontally
IMGUI_API void NewLine(); // undo a SameLine()
IMGUI_API void Spacing(); // add spacing
IMGUI_API void Dummy(const ImVec2& size); // add a dummy item of given size
IMGUI_API void Indent(); // move content position toward the right by style.IndentSpacing pixels