Limiting Columns()/BeginColumns() api to 64 columns (#125)

While the current code technically supports it, future code may not so we're putting the restriction ahead.
This commit is contained in:
omar
2019-12-17 13:25:46 +01:00
parent 10fdc03a46
commit 9d444062f9
4 changed files with 6 additions and 2 deletions

View File

@ -584,6 +584,7 @@ namespace ImGui
// Columns
// - You can also use SameLine(pos_x) to mimic simplified columns.
// - The columns API is work-in-progress and rather lacking (columns are arguably the worst part of dear imgui at the moment!)
// - There is a maximum of 64 columns.
// - By end of the 2019 we will expose a new 'Table' api which will replace columns.
IMGUI_API void Columns(int count = 1, const char* id = NULL, bool border = true);
IMGUI_API void NextColumn(); // next column, defaults to current row or next row if the current row is finished