yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::ActivityBar Class Reference

#include <activity_bar.h>

Collaboration diagram for yaze::editor::ActivityBar:

Public Member Functions

 ActivityBar (PanelManager &panel_manager)
 
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 DrawPanelBrowser (size_t session_id, bool *p_open)
 

Private Member Functions

void DrawUtilityButtons (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)
 
void DrawSidePanel (size_t session_id, const std::string &category, std::function< bool()> has_rom)
 

Private Attributes

PanelManagerpanel_manager_
 

Detailed Description

Definition at line 14 of file activity_bar.h.

Constructor & Destructor Documentation

◆ ActivityBar()

yaze::editor::ActivityBar::ActivityBar ( PanelManager & panel_manager)
explicit

Definition at line 22 of file activity_bar.cc.

Member Function Documentation

◆ Render()

void yaze::editor::ActivityBar::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 )

◆ DrawPanelBrowser()

◆ DrawUtilityButtons()

void yaze::editor::ActivityBar::DrawUtilityButtons ( std::function< bool()> has_rom)
private

◆ DrawActivityBarStrip()

◆ DrawSidePanel()

Member Data Documentation

◆ panel_manager_

PanelManager& yaze::editor::ActivityBar::panel_manager_
private

Definition at line 35 of file activity_bar.h.

Referenced by DrawActivityBarStrip(), DrawPanelBrowser(), DrawSidePanel(), and Render().


The documentation for this class was generated from the following files: