MCPcopy Create free account
hub / github.com/chrxh/alien / processTimelinesTab

Method processTimelinesTab

source/Gui/StatisticsWindow.cpp:123–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void 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
149void StatisticsWindow::processHistogramsTab()
150{

Callers

nothing calls this directly

Calls 2

SwitcherParametersClass · 0.85
ImVec2Class · 0.85

Tested by

no test coverage detected