Columns: Internal: Columns have their no set of flags so NoResize can be setup by internal code. (#125)

This commit is contained in:
omar
2017-12-15 15:44:27 +01:00
parent 0c6e260f73
commit b9391d1692
2 changed files with 7 additions and 6 deletions

View File

@ -416,9 +416,10 @@ struct ImGuiColumnData
{
float OffsetNorm; // Column start offset, normalized 0.0 (far left) -> 1.0 (far right)
float OffsetNormBeforeResize;
ImGuiColumnsFlags Flags; // Not exposed
ImRect ClipRect;
ImGuiColumnData() { OffsetNorm = OffsetNormBeforeResize = 0.0f; }
ImGuiColumnData() { OffsetNorm = OffsetNormBeforeResize = 0.0f; Flags = 0; }
};
struct ImGuiColumnsSet