From e3f0aaf9d0e76bd18792007eb7b0073f193eccd0 Mon Sep 17 00:00:00 2001 From: Dario Date: Sun, 19 Jan 2025 17:15:07 -0300 Subject: [PATCH] Cleanup. --- CMakeLists.txt | 12 -- assets/config_menu.rml | 8 - assets/config_menu/cheats.rml | 12 -- src/game/recomp_api.cpp | 17 -- src/ui/elements/ElementConfigGroup.cpp | 134 ------------- src/ui/elements/ElementConfigGroup.h | 28 --- src/ui/elements/ElementConfigOption.cpp | 166 ---------------- src/ui/elements/ElementConfigOption.h | 32 --- src/ui/elements/ElementDescription.cpp | 57 ------ src/ui/elements/ElementDescription.h | 21 -- src/ui/elements/ElementOptionType.cpp | 16 -- src/ui/elements/ElementOptionType.h | 20 -- src/ui/elements/ElementOptionTypeButton.cpp | 61 ------ src/ui/elements/ElementOptionTypeButton.h | 22 --- src/ui/elements/ElementOptionTypeCheckbox.cpp | 75 ------- src/ui/elements/ElementOptionTypeCheckbox.h | 31 --- src/ui/elements/ElementOptionTypeColor.cpp | 183 ------------------ src/ui/elements/ElementOptionTypeColor.h | 26 --- src/ui/elements/ElementOptionTypeDropdown.cpp | 79 -------- src/ui/elements/ElementOptionTypeDropdown.h | 24 --- .../elements/ElementOptionTypeRadioTabs.cpp | 94 --------- src/ui/elements/ElementOptionTypeRadioTabs.h | 23 --- src/ui/elements/ElementOptionTypeRange.cpp | 92 --------- src/ui/elements/ElementOptionTypeRange.h | 26 --- .../elements/ElementOptionTypeTextField.cpp | 67 ------- src/ui/elements/ElementOptionTypeTextField.h | 22 --- src/ui/elements/common.h | 10 - src/ui/elements/presets.cpp | 40 ---- src/ui/elements/presets.h | 17 -- src/ui/ui_elements.cpp | 10 - src/ui/ui_elements.h | 10 - src/ui/ui_mod_menu.cpp | 1 - src/ui/ui_renderer.cpp | 16 -- 33 files changed, 1452 deletions(-) delete mode 100644 assets/config_menu/cheats.rml delete mode 100644 src/ui/elements/ElementConfigGroup.cpp delete mode 100644 src/ui/elements/ElementConfigGroup.h delete mode 100644 src/ui/elements/ElementConfigOption.cpp delete mode 100644 src/ui/elements/ElementConfigOption.h delete mode 100644 src/ui/elements/ElementDescription.cpp delete mode 100644 src/ui/elements/ElementDescription.h delete mode 100644 src/ui/elements/ElementOptionType.cpp delete mode 100644 src/ui/elements/ElementOptionType.h delete mode 100644 src/ui/elements/ElementOptionTypeButton.cpp delete mode 100644 src/ui/elements/ElementOptionTypeButton.h delete mode 100644 src/ui/elements/ElementOptionTypeCheckbox.cpp delete mode 100644 src/ui/elements/ElementOptionTypeCheckbox.h delete mode 100644 src/ui/elements/ElementOptionTypeColor.cpp delete mode 100644 src/ui/elements/ElementOptionTypeColor.h delete mode 100644 src/ui/elements/ElementOptionTypeDropdown.cpp delete mode 100644 src/ui/elements/ElementOptionTypeDropdown.h delete mode 100644 src/ui/elements/ElementOptionTypeRadioTabs.cpp delete mode 100644 src/ui/elements/ElementOptionTypeRadioTabs.h delete mode 100644 src/ui/elements/ElementOptionTypeRange.cpp delete mode 100644 src/ui/elements/ElementOptionTypeRange.h delete mode 100644 src/ui/elements/ElementOptionTypeTextField.cpp delete mode 100644 src/ui/elements/ElementOptionTypeTextField.h delete mode 100644 src/ui/elements/common.h delete mode 100644 src/ui/elements/presets.cpp delete mode 100644 src/ui/elements/presets.h diff --git a/CMakeLists.txt b/CMakeLists.txt index c8425a7..04490e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -164,18 +164,6 @@ set (SOURCES ${CMAKE_SOURCE_DIR}/src/ui/ui_mod_menu.cpp ${CMAKE_SOURCE_DIR}/src/ui/util/hsv.cpp ${CMAKE_SOURCE_DIR}/src/ui/core/ui_context.cpp - ${CMAKE_SOURCE_DIR}/src/ui/elements/ElementConfigGroup.cpp - ${CMAKE_SOURCE_DIR}/src/ui/elements/ElementConfigOption.cpp - ${CMAKE_SOURCE_DIR}/src/ui/elements/ElementDescription.cpp - ${CMAKE_SOURCE_DIR}/src/ui/elements/ElementOptionType.cpp - ${CMAKE_SOURCE_DIR}/src/ui/elements/ElementOptionTypeButton.cpp - ${CMAKE_SOURCE_DIR}/src/ui/elements/ElementOptionTypeCheckbox.cpp - ${CMAKE_SOURCE_DIR}/src/ui/elements/ElementOptionTypeColor.cpp - ${CMAKE_SOURCE_DIR}/src/ui/elements/ElementOptionTypeDropdown.cpp - ${CMAKE_SOURCE_DIR}/src/ui/elements/ElementOptionTypeRadioTabs.cpp - ${CMAKE_SOURCE_DIR}/src/ui/elements/ElementOptionTypeRange.cpp - ${CMAKE_SOURCE_DIR}/src/ui/elements/ElementOptionTypeTextField.cpp - ${CMAKE_SOURCE_DIR}/src/ui/elements/presets.cpp ${CMAKE_SOURCE_DIR}/src/ui/elements/ui_button.cpp ${CMAKE_SOURCE_DIR}/src/ui/elements/ui_clickable.cpp ${CMAKE_SOURCE_DIR}/src/ui/elements/ui_container.cpp diff --git a/assets/config_menu.rml b/assets/config_menu.rml index 1059216..70b799e 100644 --- a/assets/config_menu.rml +++ b/assets/config_menu.rml @@ -29,7 +29,6 @@ - @@ -80,13 +79,6 @@