Move app launcher out of lobby_gui

This commit is contained in:
Patrick Nicolas
2025-09-27 16:53:25 +02:00
parent f03c460aa6
commit 67918b7fe7
13 changed files with 515 additions and 375 deletions
-9
View File
@@ -83,15 +83,6 @@ ImPlotPoint getter(int index, void * data_)
return ImPlotPoint(index, *(float *)(data.data + index * data.stride) * data.multiplier);
}
void CenterTextH(const std::string & text)
{
float win_width = ImGui::GetWindowSize().x;
float text_width = ImGui::CalcTextSize(text.c_str()).x;
ImGui::SetCursorPosX((win_width - text_width) / 2);
ImGui::Text("%s", text.c_str());
}
} // namespace
void scenes::stream::accumulate_metrics(XrTime predicted_display_time, const std::vector<std::shared_ptr<shard_accumulator::blit_handle>> & blit_handles, const gpu_timestamps & timestamps)