| 121 | } |
| 122 | |
| 123 | void StatisticsWindow::processTimelinesTab() |
| 124 | { |
| 125 | ImGui::Spacing(); |
| 126 | |
| 127 | AlienImGui::Switcher( |
| 128 | AlienImGui::SwitcherParameters() |
| 129 | .name("Mode") |
| 130 | .textWidth(RightColumnWidth) |
| 131 | .values( |
| 132 | {"Real-time plots", "Entire history plots"}), |
| 133 | _plotMode); |
| 134 | |
| 135 | AlienImGui::Switcher( |
| 136 | AlienImGui::SwitcherParameters() |
| 137 | .name("Plot type") |
| 138 | .textWidth(RightColumnWidth) |
| 139 | .values( |
| 140 | {"Accumulate values for all colors", "Break down by color", "Color #0", "Color #1", "Color #2", "Color #3", "Color #4", "Color #5", "Color #6"}), |
| 141 | _plotType); |
| 142 | |
| 143 | if (ImGui::BeginChild("##plots", ImVec2(0, 0), false)) { |
| 144 | processTimelineStatistics(); |
| 145 | } |
| 146 | ImGui::EndChild(); |
| 147 | } |
| 148 | |
| 149 | void StatisticsWindow::processHistogramsTab() |
| 150 | { |
nothing calls this directly
no test coverage detected