1#ifndef YAZE_APP_EDITOR_MENU_ACTIVITY_BAR_H_
2#define YAZE_APP_EDITOR_MENU_ACTIVITY_BAR_H_
6#include <unordered_set>
18 std::function<
bool()> is_dungeon_workbench_mode = {},
19 std::function<void(
bool)> set_dungeon_workflow_mode = {});
21 void Render(
size_t session_id,
const std::string& active_category,
22 const std::vector<std::string>& all_categories,
23 const std::unordered_set<std::string>& active_editor_categories,
24 std::function<
bool()> has_rom);
31 size_t session_id,
const std::string& active_category,
32 const std::vector<std::string>& all_categories,
33 const std::unordered_set<std::string>& active_editor_categories,
34 std::function<
bool()> has_rom);
35 void DrawSidePanel(
size_t session_id,
const std::string& category,
36 std::function<
bool()> has_rom);
void DrawPanelBrowser(size_t session_id, bool *p_open)
void DrawSidePanel(size_t session_id, const std::string &category, std::function< bool()> has_rom)
void DrawUtilityButtons(std::function< bool()> has_rom)
std::function< void(bool)> set_dungeon_workflow_mode_
void Render(size_t session_id, const std::string &active_category, const std::vector< std::string > &all_categories, const std::unordered_set< std::string > &active_editor_categories, std::function< bool()> has_rom)
void DrawActivityBarStrip(size_t session_id, const std::string &active_category, const std::vector< std::string > &all_categories, const std::unordered_set< std::string > &active_editor_categories, std::function< bool()> has_rom)
std::function< bool()> is_dungeon_workbench_mode_
PanelManager & panel_manager_
ActivityBar(PanelManager &panel_manager, std::function< bool()> is_dungeon_workbench_mode={}, std::function< void(bool)> set_dungeon_workflow_mode={})
Central registry for all editor cards with session awareness and dependency injection.