From c06889c3bbf4f4d6868c36e79d0d41e31ccfd983 Mon Sep 17 00:00:00 2001 From: thecozies <79979276+thecozies@users.noreply.github.com> Date: Sun, 21 Apr 2024 15:55:45 -0500 Subject: [PATCH] added quit button and confirmation prompt --- assets/config_menu.rml | 24 +++++++---- assets/icons/Quit.svg | 11 +++++ assets/recomp.rcss | 2 +- assets/scss/styles/components/Button.scss | 6 +-- assets/scss/styles/components/Config.scss | 13 +++++- include/recomp_ui.h | 21 +++++++++- src/ui/ui_config.cpp | 49 +++++++++++++++++++++-- src/ui/ui_renderer.cpp | 34 ++++++++++++++++ 8 files changed, 141 insertions(+), 19 deletions(-) create mode 100644 assets/icons/Quit.svg diff --git a/assets/config_menu.rml b/assets/config_menu.rml index ac117e0..6de1fb4 100644 --- a/assets/config_menu.rml +++ b/assets/config_menu.rml @@ -72,14 +72,22 @@