| 8431 | } |
| 8432 | |
| 8433 | void ImGui::DebugNodeMultiSelectState(ImGuiMultiSelectState* storage) |
| 8434 | { |
| 8435 | #ifndef IMGUI_DISABLE_DEBUG_TOOLS |
| 8436 | const bool is_active = (storage->LastFrameActive >= GetFrameCount() - 2); // Note that fully clipped early out scrolling tables will appear as inactive here. |
| 8437 | if (!is_active) { PushStyleColor(ImGuiCol_Text, GetStyleColorVec4(ImGuiCol_TextDisabled)); } |
| 8438 | bool open = TreeNode((void*)(intptr_t)storage->ID, "MultiSelect 0x%08X in '%s'%s", storage->ID, storage->Window ? storage->Window->Name : "N/A", is_active ? "" : " *Inactive*"); |
| 8439 | if (!is_active) { PopStyleColor(); } |
| 8440 | if (!open) |
| 8441 | return; |
| 8442 | Text("RangeSrcItem = %" IM_PRId64 " (0x%" IM_PRIX64 "), RangeSelected = %d", storage->RangeSrcItem, storage->RangeSrcItem, storage->RangeSelected); |
| 8443 | Text("NavIdItem = %" IM_PRId64 " (0x%" IM_PRIX64 "), NavIdSelected = %d", storage->NavIdItem, storage->NavIdItem, storage->NavIdSelected); |
| 8444 | Text("LastSelectionSize = %d", storage->LastSelectionSize); // Provided by user |
| 8445 | TreePop(); |
| 8446 | #else |
| 8447 | IM_UNUSED(storage); |
| 8448 | #endif |
| 8449 | } |
| 8450 | |
| 8451 | //------------------------------------------------------------------------- |
| 8452 | // [SECTION] Widgets: Multi-Select helpers |
nothing calls this directly
no outgoing calls
no test coverage detected