Enumerations | |
enum class | ButtonColor { Success , Warning , Error , Info , Default } |
Functions | |
const AgentUITheme & | GetTheme () |
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) |
|
strong |
Enumerator | |
---|---|
Success | |
Warning | |
Error | |
Info | |
Default |
Definition at line 87 of file agent_ui_theme.h.
const AgentUITheme & yaze::editor::AgentUI::GetTheme | ( | ) |
Definition at line 86 of file agent_ui_theme.cc.
References RefreshTheme().
Referenced by yaze::editor::AgentChatHistoryPopup::Draw(), yaze::editor::AgentChatHistoryPopup::DrawHeader(), PushPanelStyle(), yaze::editor::AgentChatWidget::RenderAgentConfigPanel(), yaze::editor::AgentChatWidget::RenderAutomationPanel(), yaze::editor::AgentChatWidget::RenderHistory(), yaze::editor::AgentChatWidget::RenderInputBox(), yaze::editor::AgentChatWidget::RenderMessage(), yaze::editor::AgentChatWidget::RenderMultimodalPanel(), yaze::editor::AgentChatWidget::RenderProposalQuickActions(), RenderProviderBadge(), yaze::editor::AgentChatWidget::RenderScreenshotPreview(), RenderStatusIndicator(), and StatusBadge().
void yaze::editor::AgentUI::RefreshTheme | ( | ) |
Definition at line 93 of file agent_ui_theme.cc.
References yaze::editor::AgentUITheme::FromCurrentTheme().
Referenced by GetTheme().
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().
void yaze::editor::AgentUI::PopPanelStyle | ( | ) |
Definition at line 105 of file agent_ui_theme.cc.
Referenced by yaze::editor::AgentChatWidget::RenderAutomationPanel(), and yaze::editor::AgentChatWidget::RenderMultimodalPanel().
void yaze::editor::AgentUI::RenderSectionHeader | ( | const char * | icon, |
const char * | label, | ||
const ImVec4 & | color | ||
) |
Definition at line 110 of file agent_ui_theme.cc.
Referenced by yaze::editor::AgentChatWidget::RenderAgentConfigPanel(), and yaze::editor::AgentChatWidget::RenderMultimodalPanel().
void yaze::editor::AgentUI::RenderStatusIndicator | ( | const char * | label, |
bool | active | ||
) |
Definition at line 115 of file agent_ui_theme.cc.
References GetTheme().
void yaze::editor::AgentUI::RenderProviderBadge | ( | const char * | provider | ) |
Definition at line 132 of file agent_ui_theme.cc.
References GetTheme().
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.
void yaze::editor::AgentUI::VerticalSpacing | ( | float | amount | ) |
Definition at line 172 of file agent_ui_theme.cc.
void yaze::editor::AgentUI::HorizontalSpacing | ( | float | amount | ) |
Definition at line 176 of file agent_ui_theme.cc.
bool yaze::editor::AgentUI::StyledButton | ( | const char * | label, |
const ImVec4 & | color, | ||
const ImVec2 & | size | ||
) |
Definition at line 181 of file agent_ui_theme.cc.
bool yaze::editor::AgentUI::IconButton | ( | const char * | icon, |
const char * | tooltip | ||
) |
Definition at line 197 of file agent_ui_theme.cc.