From 62214f0e8128306639fd81c2c61fcde4daf23247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hatvani=20Tam=C3=A1s?= Date: Wed, 4 Mar 2026 20:10:35 +0100 Subject: [PATCH] quit button for shutting down the application --- SakuraVNE/src/Application.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SakuraVNE/src/Application.cpp b/SakuraVNE/src/Application.cpp index 1be6f54..286c6af 100644 --- a/SakuraVNE/src/Application.cpp +++ b/SakuraVNE/src/Application.cpp @@ -129,6 +129,11 @@ void Application::Run() { ImGui::Text("counter = %d", counter); ImGui::Text("Application avg %.3f ms/frame (%.1f FPS)", 1000.0f / io.Framerate, io.Framerate); + + if (ImGui::Button("Quit")) { + SetRunningState(false); + } + ImGui::End(); // Rendering