Tables: tweak struct packing.
This commit is contained in:
parent
d12321803d
commit
7bfc192814
@ -83,8 +83,8 @@ Other Changes:
|
|||||||
- Amended context menu right-click opening code to check that the right-click
|
- Amended context menu right-click opening code to check that the right-click
|
||||||
hasn't been owned by another items. This is more correct and also necessary
|
hasn't been owned by another items. This is more correct and also necessary
|
||||||
to avoid Drags/Sliders cancelling also triggering a cancel menu. (#8564, #9534)
|
to avoid Drags/Sliders cancelling also triggering a cancel menu. (#8564, #9534)
|
||||||
- Reworked `GetMousePosOnOpeningCurrentPopup()` to be legal to call within
|
- Reworked `GetMousePosOnOpeningCurrentPopup()` to be legal to call within the
|
||||||
the BeginPopup/EndPopup scope of a popup which was just closed. (#9551) [@jkunstwald]
|
BeginPopup/EndPopup scope of a popup which was just closed. (#9551) [@jkunstwald]
|
||||||
- ImGuiTextFilter:
|
- ImGuiTextFilter:
|
||||||
- Added support for space as an "and" filter, which is the standard. (#2435, #30)
|
- Added support for space as an "and" filter, which is the standard. (#2435, #30)
|
||||||
e.g. w/ filter 'hello world' (without quotes) both words needs to be in input data.
|
e.g. w/ filter 'hello world' (without quotes) both words needs to be in input data.
|
||||||
|
|||||||
@ -3137,9 +3137,9 @@ struct IMGUI_API ImGuiTable
|
|||||||
ImDrawListSplitter* DrawSplitter; // Shortcut to TempData->DrawSplitter while in table. Isolate draw commands per columns to avoid switching clip rect constantly
|
ImDrawListSplitter* DrawSplitter; // Shortcut to TempData->DrawSplitter while in table. Isolate draw commands per columns to avoid switching clip rect constantly
|
||||||
ImGuiTableInstanceData InstanceDataFirst;
|
ImGuiTableInstanceData InstanceDataFirst;
|
||||||
ImVector<ImGuiTableInstanceData> InstanceDataExtra; // FIXME-OPT: Using a small-vector pattern would be good.
|
ImVector<ImGuiTableInstanceData> InstanceDataExtra; // FIXME-OPT: Using a small-vector pattern would be good.
|
||||||
ImGuiTableColumnSortSpecs SortSpecsSingle;
|
|
||||||
ImVector<ImGuiTableColumnSortSpecs> SortSpecsMulti; // FIXME-OPT: Using a small-vector pattern would be good.
|
|
||||||
ImGuiTableSortSpecs SortSpecs; // Public facing sorts specs, this is what we return in TableGetSortSpecs()
|
ImGuiTableSortSpecs SortSpecs; // Public facing sorts specs, this is what we return in TableGetSortSpecs()
|
||||||
|
ImVector<ImGuiTableColumnSortSpecs> SortSpecsMulti; // FIXME-OPT: Using a small-vector pattern would be good.
|
||||||
|
ImGuiTableColumnSortSpecs SortSpecsSingle;
|
||||||
ImGuiTableColumnIdx SortSpecsCount;
|
ImGuiTableColumnIdx SortSpecsCount;
|
||||||
ImGuiTableColumnIdx ColumnsEnabledCount; // Number of enabled columns (<= ColumnsCount)
|
ImGuiTableColumnIdx ColumnsEnabledCount; // Number of enabled columns (<= ColumnsCount)
|
||||||
ImGuiTableColumnIdx ColumnsEnabledFixedCount; // Number of enabled columns using fixed width (<= ColumnsCount)
|
ImGuiTableColumnIdx ColumnsEnabledFixedCount; // Number of enabled columns using fixed width (<= ColumnsCount)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user