| 2714 | } |
| 2715 | |
| 2716 | static inline ImGuiSortDirection TableGetColumnAvailSortDirection(ImGuiTableColumn* column, int n) |
| 2717 | { |
| 2718 | IM_ASSERT(n < column->SortDirectionsAvailCount); |
| 2719 | return (column->SortDirectionsAvailList >> (n << 1)) & 0x03; |
| 2720 | } |
| 2721 | |
| 2722 | // Fix sort direction if currently set on a value which is unavailable (e.g. activating NoSortAscending/NoSortDescending) |
| 2723 | void ImGui::TableFixColumnSortDirection(ImGuiTable* table, ImGuiTableColumn* column) |
no outgoing calls
no test coverage detected