| 2696 | } |
| 2697 | |
| 2698 | static inline ImGuiSortDirection TableGetColumnAvailSortDirection(ImGuiTableColumn* column, int n) |
| 2699 | { |
| 2700 | IM_ASSERT(n < column->SortDirectionsAvailCount); |
| 2701 | return (column->SortDirectionsAvailList >> (n << 1)) & 0x03; |
| 2702 | } |
| 2703 | |
| 2704 | // Fix sort direction if currently set on a value which is unavailable (e.g. activating NoSortAscending/NoSortDescending) |
| 2705 | void ImGui::TableFixColumnSortDirection(ImGuiTable* table, ImGuiTableColumn* column) |
no outgoing calls
no test coverage detected