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 151 of file agent_theme.h.

Function Documentation

◆ GetTheme()

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

Definition at line 161 of file agent_theme.cc.

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

Referenced by yaze::editor::AgentAutomationPanel::Draw(), yaze::editor::AgentConfigPanel::Draw(), yaze::editor::CustomCollisionPanel::Draw(), yaze::editor::DungeonMapPanel::Draw(), yaze::editor::DungeonRoomMatrixPanel::Draw(), yaze::editor::DungeonWorkbenchPanel::Draw(), yaze::editor::ObjectEditorPanel::Draw(), yaze::editor::WaterFillPanel::Draw(), yaze::editor::OracleMenuInspectorPanel::Draw(), yaze::editor::AgentProposalsPanel::Draw(), yaze::editor::OverworldToolbar::Draw(), yaze::editor::AgentEditor::DrawAdvancedMetricsPanel(), yaze::editor::AgentEditor::DrawAgentBuilderPanel(), yaze::editor::OracleMenuInspectorPanel::DrawBinsTab(), yaze::editor::AgentEditor::DrawBotProfilesPanel(), yaze::editor::DungeonRenderingHelpers::DrawCameraQuadrantOverlay(), yaze::editor::AgentEditor::DrawChatHistoryViewer(), yaze::editor::ChestEditorPanel::DrawChestList(), yaze::editor::ChestEditorPanel::DrawChestProperties(), yaze::editor::AgentEditor::DrawCommonTilesEditor(), yaze::editor::DungeonObjectSelector::DrawCompactDoorEditor(), yaze::editor::AgentEditor::DrawConfigurationPanel(), yaze::editor::MesenDebugPanel::DrawConnectionHeader(), yaze::editor::MesenScreenshotPanel::DrawConnectionHeader(), yaze::editor::SramViewerPanel::DrawConnectionHeader(), yaze::editor::DungeonRenderingHelpers::DrawCustomCollisionOverlay(), yaze::editor::AgentProposalsPanel::DrawDiffView(), yaze::editor::ObjectEditorPanel::DrawDoorSection(), yaze::editor::ScreenEditor::DrawDungeonMapScreen(), yaze::editor::ObjectEditorPanel::DrawEmulatorPreview(), yaze::editor::MesenDebugPanel::DrawGameMode(), yaze::editor::DoorInteractionHandler::DrawGhostPreview(), yaze::editor::SpriteInteractionHandler::DrawGhostPreview(), yaze::editor::TileObjectHandler::DrawGhostPreview(), yaze::editor::DungeonWorkbenchPanel::DrawInspectorShelfRoom(), yaze::editor::DungeonWorkbenchPanel::DrawInspectorShelfSelection(), yaze::editor::ScreenEditor::DrawInventoryMenuEditor(), yaze::editor::ItemEditorPanel::DrawItemSelector(), yaze::editor::ObjectEditorPanel::DrawKeyboardShortcutHelp(), yaze::editor::MesenDebugPanel::DrawLinkState(), yaze::editor::AgentProposalsPanel::DrawLogView(), yaze::editor::DungeonRenderingHelpers::DrawMinecartSpriteOverlay(), yaze::editor::AgentEditor::DrawNewPromptCreator(), yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), yaze::editor::ScreenEditor::DrawOverworldMapEditor(), yaze::editor::OverworldCanvasRenderer::DrawOverworldMaps(), yaze::editor::ItemEditorPanel::DrawPlacementControls(), yaze::editor::SpriteEditorPanel::DrawPlacementControls(), yaze::editor::BaseEntityHandler::DrawPostPlacementToast(), yaze::editor::MesenScreenshotPanel::DrawPreviewArea(), yaze::editor::AgentEditor::DrawPromptEditorPanel(), yaze::zelda3::DungeonObjectEditor::DrawPropertyUI(), yaze::editor::AgentProposalsPanel::DrawProposalDetail(), yaze::editor::AgentProposalsPanel::DrawQuickActions(), yaze::editor::ObjectSelection::DrawRectangleSelectionBox(), yaze::editor::ItemEditorPanel::DrawRoomItems(), yaze::editor::SpriteEditorPanel::DrawRoomSprites(), yaze::editor::DungeonEditorV2::DrawRoomTab(), yaze::editor::ObjectEditorPanel::DrawRoomValidationBar(), yaze::editor::ObjectEditorPanel::DrawSelectedObjectInfo(), yaze::editor::ObjectSelection::DrawSelectionHighlights(), yaze::editor::DoorInteractionHandler::DrawSnapIndicators(), yaze::editor::MesenDebugPanel::DrawSpriteList(), yaze::editor::SpriteEditorPanel::DrawSpriteProperties(), yaze::editor::SpriteEditorPanel::DrawSpriteSelector(), yaze::editor::ObjectEditorPanel::DrawStaticObjectEditor(), yaze::editor::MesenScreenshotPanel::DrawStatusBar(), yaze::editor::AgentEditor::DrawStatusPanel(), yaze::editor::OverworldCanvasRenderer::DrawTile16Selector(), yaze::editor::ScreenEditor::DrawTitleScreenEditor(), yaze::editor::DungeonRenderingHelpers::DrawTrackGapOverlay(), yaze::editor::DungeonRenderingHelpers::DrawTrackRouteOverlay(), yaze::editor::SramViewerPanel::DrawVariableRow(), yaze::editor::DungeonRenderingHelpers::DrawWaterFillOverlay(), yaze::editor::anonymous_namespace{overworld_entity_renderer.cc}::GetDiggableTileColor(), yaze::editor::anonymous_namespace{overworld_entity_renderer.cc}::GetEntranceColor(), yaze::editor::anonymous_namespace{overworld_entity_renderer.cc}::GetExitColor(), yaze::editor::anonymous_namespace{overworld_entity_renderer.cc}::GetItemColor(), yaze::editor::ObjectSelection::GetLayerTypeColor(), yaze::editor::DungeonObjectSelector::GetObjectTypeColor(), yaze::editor::anonymous_namespace{overworld_entity_renderer.cc}::GetSpriteColor(), yaze::editor::AgentProposalsPanel::GetStatusColor(), PushPanelStyle(), yaze::gui::DungeonObjectEmulatorPreview::Render(), yaze::gui::DungeonObjectEmulatorPreview::RenderControls(), yaze::editor::AgentConfigPanel::RenderModelConfigControls(), yaze::editor::AgentConfigPanel::RenderModelDeck(), yaze::gui::DungeonObjectEmulatorPreview::RenderObjectBrowser(), yaze::editor::DungeonObjectSelector::RenderObjectPrimitive(), RenderProviderBadge(), yaze::editor::AgentKnowledgePanel::RenderStatsSection(), RenderStatusIndicator(), yaze::gui::DungeonObjectEmulatorPreview::RenderStatusPanel(), StatusBadge(), yaze::editor::OverworldEditor::Update(), and yaze::editor::DungeonEditorV2::Update().

Here is the call graph for this function:

◆ RefreshTheme()

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

Definition at line 169 of file agent_theme.cc.

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

Referenced by yaze::gui::ThemeManager::ApplyTheme(), and yaze::gui::ThemeManager::LoadTheme().

Here is the call graph for this function:

◆ PushPanelStyle()

◆ PopPanelStyle()

◆ RenderSectionHeader()

◆ RenderStatusIndicator()

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

Definition at line 195 of file agent_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 205 of file agent_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 224 of file agent_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 277 of file agent_theme.cc.