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

Method processIntern

source/Gui/StatisticsWindow.cpp:87–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void StatisticsWindow::processIntern()
88{
89 if (ImGui::BeginChild("##statistics", {0, _settingsOpen ? -_settingsHeight : -scale(40.0f)})) {
90 if (ImGui::BeginTabBar("##Statistics", ImGuiTabBarFlags_AutoSelectNewTabs | ImGuiTabBarFlags_FittingPolicyResizeDown)) {
91
92 if (ImGui::BeginTabItem("Timelines")) {
93 if (ImGui::BeginChild("##timelines", ImVec2(0, 0), 0)) {
94 processTimelinesTab();
95 }
96 ImGui::EndChild();
97 ImGui::EndTabItem();
98 }
99
100 if (ImGui::BeginTabItem("Histograms")) {
101 if (ImGui::BeginChild("##histograms", ImVec2(0, 0), 0)) {
102 processHistogramsTab();
103 }
104 ImGui::EndChild();
105 ImGui::EndTabItem();
106 }
107
108 if (ImGui::BeginTabItem("Throughput")) {
109 if (ImGui::BeginChild("##throughput", ImVec2(0, 0), 0)) {
110 processTablesTab();
111 }
112 ImGui::EndChild();
113 ImGui::EndTabItem();
114 }
115
116 ImGui::EndTabBar();
117 }
118 }
119 ImGui::EndChild();
120 processSettings();
121}
122
123void StatisticsWindow::processTimelinesTab()
124{

Callers

nothing calls this directly

Calls 2

scaleFunction · 0.85
ImVec2Class · 0.85

Tested by

no test coverage detected