mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp
synced 2026-07-10 23:22:24 -04:00
Make config tabset navigate down to first mod entry when mod menu is open, make mod configure screen focus on configure button after closing
This commit is contained in:
@@ -71,6 +71,8 @@ namespace recompui {
|
||||
void set_config_tab(ConfigTab tab);
|
||||
Rml::ElementTabSet* get_config_tabset();
|
||||
Rml::Element* get_mod_tab();
|
||||
void set_config_tabset_mod_nav();
|
||||
void focus_mod_configure_button();
|
||||
|
||||
enum class ButtonVariant {
|
||||
Primary,
|
||||
@@ -131,6 +133,7 @@ namespace recompui {
|
||||
Rml::ElementPtr create_custom_element(Rml::Element* parent, std::string tag);
|
||||
Rml::ElementDocument* load_document(const std::filesystem::path& path);
|
||||
Rml::ElementDocument* create_empty_document();
|
||||
Rml::Element* get_child_by_tag(Rml::Element* parent, const std::string& tag);
|
||||
|
||||
void queue_image_from_bytes_rgba32(const std::string &src, const std::vector<char> &bytes, uint32_t width, uint32_t height);
|
||||
void queue_image_from_bytes_file(const std::string &src, const std::vector<char> &bytes);
|
||||
|
||||
Reference in New Issue
Block a user