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 127 of file agent_ui_theme.h.

Function Documentation

◆ GetTheme()

const AgentUITheme & yaze::editor::AgentUI::GetTheme ( )

Definition at line 109 of file agent_ui_theme.cc.

References yaze::editor::AgentUITheme::FromCurrentTheme(), and yaze::editor::AgentUITheme::user_message_color.

Referenced by yaze::editor::AgentAutomationPanel::Draw(), yaze::editor::AgentConfigurationPanel::Draw(), yaze::editor::DungeonRoomMatrixPanel::Draw(), yaze::editor::ObjectEditorPanel::Draw(), yaze::editor::AgentProposalsPanel::Draw(), yaze::editor::AgentEditor::DrawAdvancedMetricsPanel(), yaze::editor::AgentEditor::DrawAgentBuilderPanel(), yaze::editor::AgentEditor::DrawBotProfilesPanel(), yaze::editor::AgentEditor::DrawChatHistoryViewer(), yaze::editor::AgentEditor::DrawCommonTilesEditor(), yaze::editor::DungeonObjectSelector::DrawCompactDoorEditor(), yaze::editor::AgentEditor::DrawConfigurationPanel(), yaze::editor::AgentProposalsPanel::DrawDiffView(), yaze::editor::DungeonObjectInteraction::DrawDoorGhostPreview(), yaze::editor::ObjectEditorPanel::DrawDoorSection(), yaze::editor::DungeonObjectInteraction::DrawDoorSnapIndicators(), yaze::editor::DungeonObjectInteraction::DrawDragPreview(), yaze::editor::ObjectEditorPanel::DrawEmulatorPreview(), yaze::editor::DungeonObjectInteraction::DrawEntitySelectionHighlights(), yaze::editor::DungeonObjectInteraction::DrawGhostPreview(), yaze::editor::DoorInteractionHandler::DrawGhostPreview(), yaze::editor::DungeonObjectInteraction::DrawHoverHighlight(), yaze::editor::ItemEditorPanel::DrawItemSelector(), yaze::editor::AgentProposalsPanel::DrawLogView(), yaze::editor::AgentEditor::DrawNewPromptCreator(), yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), yaze::editor::ItemEditorPanel::DrawPlacementControls(), yaze::editor::SpriteEditorPanel::DrawPlacementControls(), yaze::editor::AgentEditor::DrawPromptEditorPanel(), yaze::zelda3::DungeonObjectEditor::DrawPropertyUI(), yaze::editor::AgentProposalsPanel::DrawProposalDetail(), yaze::editor::AgentProposalsPanel::DrawProposalRow(), yaze::editor::AgentProposalsPanel::DrawQuickActions(), yaze::editor::ObjectSelection::DrawRectangleSelectionBox(), yaze::editor::ItemEditorPanel::DrawRoomItems(), yaze::editor::SpriteEditorPanel::DrawRoomSprites(), yaze::editor::DungeonEditorV2::DrawRoomTab(), yaze::editor::ObjectEditorPanel::DrawSelectedObjectInfo(), yaze::editor::DoorInteractionHandler::DrawSnapIndicators(), yaze::editor::SpriteEditorPanel::DrawSpriteSelector(), yaze::editor::ObjectEditorPanel::DrawStaticObjectEditor(), yaze::editor::AgentEditor::DrawStatusPanel(), yaze::editor::DungeonObjectSelector::GetObjectTypeColor(), yaze::editor::AgentProposalsPanel::GetStatusColor(), PushPanelStyle(), yaze::gui::DungeonObjectEmulatorPreview::Render(), yaze::gui::DungeonObjectEmulatorPreview::RenderControls(), yaze::editor::AgentConfigurationPanel::RenderModelConfigControls(), yaze::editor::AgentConfigurationPanel::RenderModelDeck(), yaze::gui::DungeonObjectEmulatorPreview::RenderObjectBrowser(), yaze::editor::DungeonObjectSelector::RenderObjectPrimitive(), RenderProviderBadge(), yaze::editor::AgentKnowledgePanel::RenderStatsSection(), RenderStatusIndicator(), yaze::gui::DungeonObjectEmulatorPreview::RenderStatusPanel(), StatusBadge(), and yaze::editor::DungeonEditorV2::Update().

Here is the call graph for this function:

◆ RefreshTheme()

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

Definition at line 117 of file agent_ui_theme.cc.

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

Here is the call graph for this function:

◆ PushPanelStyle()

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

◆ PopPanelStyle()

◆ RenderSectionHeader()

◆ RenderStatusIndicator()

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

Definition at line 142 of file agent_ui_theme.cc.

References GetTheme().

Referenced by yaze::editor::AgentEditor::DrawStatusPanel().

Here is the call graph for this function:

◆ RenderProviderBadge()

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

Definition at line 152 of file agent_ui_theme.cc.

References GetTheme().

Referenced by yaze::editor::AgentEditor::DrawStatusPanel().

Here is the call graph for this function:

◆ StatusBadge()

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

Definition at line 169 of file agent_ui_theme.cc.

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

Referenced by yaze::editor::AgentProposalsPanel::DrawStatusFilter().

Here is the call graph for this function:

◆ VerticalSpacing()

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

◆ HorizontalSpacing()

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

◆ StyledButton()

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

◆ IconButton()

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

Definition at line 222 of file agent_ui_theme.cc.