mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-06 16:40:41 -07:00
overlay: left nav for cards tab (#753)
Enable left nav for Card tab, splitting the single page into multiple sub tabs. Card Manager is now embedded in this UI (but can still be launched as a separate window)
This commit is contained in:
@@ -148,6 +148,9 @@ namespace overlay::windows {
|
||||
// Controller tab left-nav: selected sub-page
|
||||
std::string controller_page_label = "";
|
||||
|
||||
// Cards tab left-nav: selected sub-page
|
||||
std::string cards_page_label = "";
|
||||
|
||||
std::filesystem::path file_picker_path;
|
||||
std::thread *file_picker_thread = nullptr;
|
||||
bool file_picker_done = false;
|
||||
@@ -200,7 +203,10 @@ namespace overlay::windows {
|
||||
const std::string &target_device);
|
||||
ControllerTemplate capture_current_bindings(const std::string &name);
|
||||
|
||||
void build_cards();
|
||||
void build_cards_tab(float page_offset);
|
||||
void build_cards_virtual();
|
||||
void build_cards_reader();
|
||||
void build_cards_manager();
|
||||
std::string build_option_value_picker_title(const OptionDefinition& option);
|
||||
void build_option_value_picker(Option& option);
|
||||
void build_options(
|
||||
|
||||
Reference in New Issue
Block a user