Update to spice2x-25-04-25 (pre-apply)
> broken commit
This commit is contained in:
+18
-12
@@ -178,20 +178,26 @@ namespace overlay::windows {
|
||||
static_cast<int>(ImGui::GetIO().DisplaySize.x),
|
||||
static_cast<int>(ImGui::GetIO().DisplaySize.y));
|
||||
|
||||
// metrics button
|
||||
this->metrics_open |= ImGui::Button("Metrics Window");
|
||||
if (this->metrics_open) {
|
||||
ImGui::ShowMetricsWindow(&this->metrics_open);
|
||||
if (ImGui::Button("ImGui Debug Log")) {
|
||||
overlay::SHOW_DEBUG_LOG_WINDOW = !overlay::SHOW_DEBUG_LOG_WINDOW;
|
||||
}
|
||||
|
||||
// removed for size (IMGUI_DISABLE_DEMO_WINDOWS)
|
||||
|
||||
// metrics button
|
||||
// this->metrics_open |= ImGui::Button("Metrics Window");
|
||||
// if (this->metrics_open) {
|
||||
// ImGui::ShowMetricsWindow(&this->metrics_open);
|
||||
// }
|
||||
|
||||
// demo button
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button("Demo Window")) {
|
||||
this->demo_open = true;
|
||||
}
|
||||
if (this->demo_open) {
|
||||
ImGui::ShowDemoWindow(&this->demo_open);
|
||||
}
|
||||
// ImGui::SameLine();
|
||||
// if (ImGui::Button("Demo Window")) {
|
||||
// this->demo_open = true;
|
||||
// }
|
||||
// if (this->demo_open) {
|
||||
// ImGui::ShowDemoWindow(&this->demo_open);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -745,7 +751,7 @@ namespace overlay::windows {
|
||||
if (ImGui::CollapsingHeader("Touch")) {
|
||||
|
||||
// status
|
||||
ImGui::Text("Status: %s", is_touch_available() ? "available" : "unavailable");
|
||||
ImGui::Text("Status: %s", is_touch_available("Control::touch_view") ? "available" : "unavailable");
|
||||
|
||||
// touch points
|
||||
ImGui::SetNextItemOpen(true, ImGuiCond_Once);
|
||||
|
||||
Reference in New Issue
Block a user