Reimplement mechanism to open the config menu to a specific tab

This commit is contained in:
Mr-Wiseguy
2025-01-20 12:38:33 -05:00
parent 0a596746a7
commit 9dccbfaf8c
3 changed files with 58 additions and 3 deletions
+11
View File
@@ -57,6 +57,17 @@ namespace recompui {
ContextId get_config_sub_menu_context_id();
ContextId get_close_prompt_context_id();
enum class ConfigTab {
General,
Controls,
Graphics,
Sound,
Mods,
Debug,
};
void set_config_tab(ConfigTab tab);
enum class ButtonVariant {
Primary,
Secondary,