Internals: Columns renaming fields

This commit is contained in:
omar
2018-03-12 11:03:27 +01:00
parent 1f6ad7a894
commit b9ac127b0b
2 changed files with 14 additions and 13 deletions

View File

@ -462,9 +462,9 @@ struct ImGuiColumnsSet
int Current;
int Count;
float MinX, MaxX;
float StartPosY;
float StartMaxPosX; // Backup of CursorMaxPos
float CellMinY, CellMaxY;
float LineMinY, LineMaxY;
float StartPosY; // Copy of CursorPos
float StartMaxPosX; // Copy of CursorMaxPos
ImVector<ImGuiColumnData> Columns;
ImGuiColumnsSet() { Clear(); }
@ -477,9 +477,9 @@ struct ImGuiColumnsSet
Current = 0;
Count = 1;
MinX = MaxX = 0.0f;
LineMinY = LineMaxY = 0.0f;
StartPosY = 0.0f;
StartMaxPosX = 0.0f;
CellMinY = CellMaxY = 0.0f;
Columns.clear();
}
};