Columns: Added internal tracking of a few flag temporarily, to facilitate the work of third-parties who have columns patches. (#125)

This commit is contained in:
omar
2017-12-13 19:26:04 +01:00
parent 4ae5c7e227
commit e8e84a6ad6
2 changed files with 7 additions and 0 deletions

View File

@ -424,6 +424,8 @@ struct ImGuiColumnsSet
{
ImGuiID ID;
ImGuiColumnsFlags Flags;
bool IsFirstFrame;
bool IsBeingResized;
int Current;
int Count;
float MinX, MaxX;
@ -437,6 +439,8 @@ struct ImGuiColumnsSet
{
ID = 0;
Flags = 0;
IsFirstFrame = false;
IsBeingResized = false;
Current = 0;
Count = 1;
MinX = MaxX = 0.0f;