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

Enumerations

enum class  ButtonColor {
  Success , Warning , Error , Info ,
  Default
}
 

Functions

const AgentUIThemeGetTheme ()
 
void RefreshTheme ()
 
void PushPanelStyle ()
 
void PopPanelStyle ()
 
void RenderSectionHeader (const char *icon, const char *label, const ImVec4 &color)
 
void RenderStatusIndicator (const char *label, bool active)
 
void RenderProviderBadge (const char *provider)
 
void StatusBadge (const char *text, ButtonColor color)
 
void VerticalSpacing (float amount)
 
void HorizontalSpacing (float amount)
 
bool StyledButton (const char *label, const ImVec4 &color, const ImVec2 &size)
 
bool IconButton (const char *icon, const char *tooltip)
 

Enumeration Type Documentation

◆ ButtonColor

Enumerator
Success 
Warning 
Error 
Info 
Default 

Definition at line 87 of file agent_ui_theme.h.

Function Documentation

◆ GetTheme()

◆ RefreshTheme()

void yaze::editor::AgentUI::RefreshTheme ( )

Definition at line 93 of file agent_ui_theme.cc.

References yaze::editor::AgentUITheme::FromCurrentTheme().

Referenced by GetTheme().

Here is the call graph for this function:

◆ PushPanelStyle()

void yaze::editor::AgentUI::PushPanelStyle ( )

Definition at line 98 of file agent_ui_theme.cc.

References GetTheme().

Referenced by yaze::editor::AgentChatWidget::RenderAutomationPanel(), and yaze::editor::AgentChatWidget::RenderMultimodalPanel().

Here is the call graph for this function:

◆ PopPanelStyle()

void yaze::editor::AgentUI::PopPanelStyle ( )

◆ RenderSectionHeader()

void yaze::editor::AgentUI::RenderSectionHeader ( const char *  icon,
const char *  label,
const ImVec4 &  color 
)

◆ RenderStatusIndicator()

void yaze::editor::AgentUI::RenderStatusIndicator ( const char *  label,
bool  active 
)

Definition at line 115 of file agent_ui_theme.cc.

References GetTheme().

Here is the call graph for this function:

◆ RenderProviderBadge()

void yaze::editor::AgentUI::RenderProviderBadge ( const char *  provider)

Definition at line 132 of file agent_ui_theme.cc.

References GetTheme().

Here is the call graph for this function:

◆ StatusBadge()

void yaze::editor::AgentUI::StatusBadge ( const char *  text,
ButtonColor  color 
)

Definition at line 152 of file agent_ui_theme.cc.

References Error, GetTheme(), Info, Success, and Warning.

Here is the call graph for this function:

◆ VerticalSpacing()

void yaze::editor::AgentUI::VerticalSpacing ( float  amount)

Definition at line 172 of file agent_ui_theme.cc.

◆ HorizontalSpacing()

void yaze::editor::AgentUI::HorizontalSpacing ( float  amount)

Definition at line 176 of file agent_ui_theme.cc.

◆ StyledButton()

bool yaze::editor::AgentUI::StyledButton ( const char *  label,
const ImVec4 &  color,
const ImVec2 &  size 
)

Definition at line 181 of file agent_ui_theme.cc.

◆ IconButton()

bool yaze::editor::AgentUI::IconButton ( const char *  icon,
const char *  tooltip 
)

Definition at line 197 of file agent_ui_theme.cc.