Columns: Refactor: Not using statestorage lookup anymore. (#125, #1499)

This commit is contained in:
omar
2017-12-13 19:07:09 +01:00
parent 3a31a75e3b
commit b016215c80
2 changed files with 40 additions and 36 deletions

View File

@ -412,11 +412,12 @@ struct ImGuiPopupRef
ImGuiPopupRef(ImGuiID id, ImGuiWindow* parent_window, ImGuiID parent_menu_set, const ImVec2& mouse_pos) { PopupId = id; Window = NULL; ParentWindow = parent_window; ParentMenuSet = parent_menu_set; MousePosOnOpen = mouse_pos; }
};
// Per column data for Columns()
struct ImGuiColumnData
{
float OffsetNorm; // Column start offset, normalized 0.0 (far left) -> 1.0 (far right)
float OffsetNorm; // Column start offset, normalized 0.0 (far left) -> 1.0 (far right)
ImRect ClipRect;
ImGuiColumnData() { OffsetNorm = 0.0f; }
};
struct ImGuiColumnsSet