yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
agent_ui_theme.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_AGENT_AGENT_UI_THEME_H
2#define YAZE_APP_EDITOR_AGENT_AGENT_UI_THEME_H
3
4#include "imgui/imgui.h"
6#include "app/gui/color.h"
7
8namespace yaze {
9namespace editor {
10
19 // Message colors
23
25
26 // Content colors
30
31 // UI element colors
36
37 // Status colors
43
44 // Provider colors
48
49 // Collaboration colors
52
53 // Proposal colors
56
57 // Button colors
60
61 // Gradient colors
64
65 // Initialize from current theme
67};
68
69// Helper functions for common UI patterns
70namespace AgentUI {
71
72// Get current theme colors
73const AgentUITheme& GetTheme();
74
75// Refresh theme from ThemeManager
76void RefreshTheme();
77
78// Common UI components
79void PushPanelStyle();
80void PopPanelStyle();
81
82void RenderSectionHeader(const char* icon, const char* label, const ImVec4& color);
83void RenderStatusIndicator(const char* label, bool active);
84void RenderProviderBadge(const char* provider);
85
86// Status badge for tests/processes
88void StatusBadge(const char* text, ButtonColor color);
89
90// Spacing helpers
91void VerticalSpacing(float amount = 8.0f);
92void HorizontalSpacing(float amount = 8.0f);
93
94// Common button styles
95bool StyledButton(const char* label, const ImVec4& color, const ImVec2& size = ImVec2(0, 0));
96bool IconButton(const char* icon, const char* tooltip = nullptr);
97
98} // namespace AgentUI
99
100} // namespace editor
101} // namespace yaze
102
103#endif // YAZE_APP_EDITOR_AGENT_AGENT_UI_THEME_H
void RenderStatusIndicator(const char *label, bool active)
bool StyledButton(const char *label, const ImVec4 &color, const ImVec2 &size)
void HorizontalSpacing(float amount)
const AgentUITheme & GetTheme()
void RenderSectionHeader(const char *icon, const char *label, const ImVec4 &color)
void RenderProviderBadge(const char *provider)
void VerticalSpacing(float amount)
void StatusBadge(const char *text, ButtonColor color)
bool IconButton(const char *icon, const char *tooltip)
Main namespace for the application.
Centralized theme colors for Agent UI components.
static AgentUITheme FromCurrentTheme()