| 7504 | } |
| 7505 | |
| 7506 | static int IMGUI_CDECL TabItemComparerBySection(const void* lhs, const void* rhs) |
| 7507 | { |
| 7508 | const ImGuiTabItem* a = (const ImGuiTabItem*)lhs; |
| 7509 | const ImGuiTabItem* b = (const ImGuiTabItem*)rhs; |
| 7510 | const int a_section = TabItemGetSectionIdx(a); |
| 7511 | const int b_section = TabItemGetSectionIdx(b); |
| 7512 | if (a_section != b_section) |
| 7513 | return a_section - b_section; |
| 7514 | return (int)(a->IndexDuringLayout - b->IndexDuringLayout); |
| 7515 | } |
| 7516 | |
| 7517 | static int IMGUI_CDECL TabItemComparerByBeginOrder(const void* lhs, const void* rhs) |
| 7518 | { |
nothing calls this directly
no test coverage detected