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

Centralized theme colors for Agent UI components. More...

#include <agent_ui_theme.h>

Static Public Member Functions

static AgentUITheme FromCurrentTheme ()
 

Public Attributes

ImVec4 user_message_color
 
ImVec4 agent_message_color
 
ImVec4 system_message_color
 
ImVec4 text_secondary_color
 
ImVec4 json_text_color
 
ImVec4 command_text_color
 
ImVec4 code_bg_color
 
ImVec4 panel_bg_color
 
ImVec4 panel_bg_darker
 
ImVec4 panel_border_color
 
ImVec4 accent_color
 
ImVec4 status_active
 
ImVec4 status_inactive
 
ImVec4 status_success
 
ImVec4 status_warning
 
ImVec4 status_error
 
ImVec4 provider_ollama
 
ImVec4 provider_gemini
 
ImVec4 provider_mock
 
ImVec4 provider_openai
 
ImVec4 collaboration_active
 
ImVec4 collaboration_inactive
 
ImVec4 proposal_panel_bg
 
ImVec4 proposal_accent
 
ImVec4 button_copy
 
ImVec4 button_copy_hover
 
ImVec4 gradient_top
 
ImVec4 gradient_bottom
 
ImVec4 dungeon_selection_primary
 
ImVec4 dungeon_selection_secondary
 
ImVec4 dungeon_selection_pulsing
 
ImVec4 dungeon_selection_handle
 
ImVec4 dungeon_drag_preview
 
ImVec4 dungeon_drag_preview_outline
 
ImVec4 dungeon_object_wall
 
ImVec4 dungeon_object_floor
 
ImVec4 dungeon_object_chest
 
ImVec4 dungeon_object_door
 
ImVec4 dungeon_object_pot
 
ImVec4 dungeon_object_stairs
 
ImVec4 dungeon_object_decoration
 
ImVec4 dungeon_object_default
 
ImVec4 dungeon_grid_cell_highlight
 
ImVec4 dungeon_grid_cell_selected
 
ImVec4 dungeon_grid_cell_border
 
ImVec4 dungeon_grid_text
 
ImVec4 dungeon_room_border
 
ImVec4 dungeon_room_border_dark
 
ImVec4 dungeon_sprite_layer0
 
ImVec4 dungeon_sprite_layer1
 
ImVec4 dungeon_sprite_layer2
 
ImVec4 dungeon_outline_layer0
 
ImVec4 dungeon_outline_layer1
 
ImVec4 dungeon_outline_layer2
 
ImVec4 text_primary
 
ImVec4 text_secondary_gray
 
ImVec4 text_info
 
ImVec4 text_warning_yellow
 
ImVec4 text_error_red
 
ImVec4 text_success_green
 
ImVec4 box_bg_dark
 
ImVec4 box_border
 
ImVec4 box_text
 

Detailed Description

Centralized theme colors for Agent UI components.

All hardcoded colors from AgentChatWidget, AgentEditor, and AgentChatHistoryPopup are consolidated here and derived from the current theme.

Definition at line 19 of file agent_ui_theme.h.

Member Function Documentation

◆ FromCurrentTheme()

AgentUITheme yaze::editor::AgentUITheme::FromCurrentTheme ( )
static

Definition at line 8 of file agent_ui_theme.cc.

References accent_color, agent_message_color, box_bg_dark, box_border, box_text, button_copy, button_copy_hover, code_bg_color, collaboration_active, collaboration_inactive, command_text_color, yaze::gui::ConvertColorToImVec4(), dungeon_drag_preview, dungeon_drag_preview_outline, dungeon_grid_cell_border, dungeon_grid_cell_highlight, dungeon_grid_cell_selected, dungeon_grid_text, dungeon_object_chest, dungeon_object_decoration, dungeon_object_default, dungeon_object_door, dungeon_object_floor, dungeon_object_pot, dungeon_object_stairs, dungeon_object_wall, dungeon_outline_layer0, dungeon_outline_layer1, dungeon_outline_layer2, dungeon_room_border, dungeon_room_border_dark, dungeon_selection_handle, dungeon_selection_primary, dungeon_selection_pulsing, dungeon_selection_secondary, dungeon_sprite_layer0, dungeon_sprite_layer1, dungeon_sprite_layer2, yaze::gui::ThemeManager::Get(), yaze::gui::ThemeManager::GetCurrentTheme(), gradient_bottom, gradient_top, json_text_color, panel_bg_color, panel_bg_darker, panel_border_color, proposal_accent, proposal_panel_bg, provider_gemini, provider_mock, provider_ollama, provider_openai, status_active, status_error, status_inactive, status_success, status_warning, system_message_color, text_error_red, text_info, text_primary, text_secondary_color, text_secondary_gray, text_success_green, text_warning_yellow, and user_message_color.

Referenced by yaze::editor::AgentUI::GetTheme(), and yaze::editor::AgentUI::RefreshTheme().

Here is the call graph for this function:

Member Data Documentation

◆ user_message_color

ImVec4 yaze::editor::AgentUITheme::user_message_color

Definition at line 21 of file agent_ui_theme.h.

Referenced by FromCurrentTheme(), and yaze::editor::AgentUI::GetTheme().

◆ agent_message_color

ImVec4 yaze::editor::AgentUITheme::agent_message_color

Definition at line 22 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ system_message_color

ImVec4 yaze::editor::AgentUITheme::system_message_color

Definition at line 23 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ text_secondary_color

ImVec4 yaze::editor::AgentUITheme::text_secondary_color

Definition at line 25 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ json_text_color

ImVec4 yaze::editor::AgentUITheme::json_text_color

Definition at line 28 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ command_text_color

ImVec4 yaze::editor::AgentUITheme::command_text_color

Definition at line 29 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ code_bg_color

ImVec4 yaze::editor::AgentUITheme::code_bg_color

Definition at line 30 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ panel_bg_color

ImVec4 yaze::editor::AgentUITheme::panel_bg_color

Definition at line 33 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ panel_bg_darker

ImVec4 yaze::editor::AgentUITheme::panel_bg_darker

Definition at line 34 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ panel_border_color

ImVec4 yaze::editor::AgentUITheme::panel_border_color

Definition at line 35 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ accent_color

ImVec4 yaze::editor::AgentUITheme::accent_color

Definition at line 36 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ status_active

ImVec4 yaze::editor::AgentUITheme::status_active

Definition at line 39 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ status_inactive

ImVec4 yaze::editor::AgentUITheme::status_inactive

Definition at line 40 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ status_success

ImVec4 yaze::editor::AgentUITheme::status_success

Definition at line 41 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ status_warning

ImVec4 yaze::editor::AgentUITheme::status_warning

Definition at line 42 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ status_error

ImVec4 yaze::editor::AgentUITheme::status_error

◆ provider_ollama

ImVec4 yaze::editor::AgentUITheme::provider_ollama

Definition at line 46 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ provider_gemini

ImVec4 yaze::editor::AgentUITheme::provider_gemini

Definition at line 47 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ provider_mock

ImVec4 yaze::editor::AgentUITheme::provider_mock

Definition at line 48 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ provider_openai

ImVec4 yaze::editor::AgentUITheme::provider_openai

Definition at line 49 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ collaboration_active

ImVec4 yaze::editor::AgentUITheme::collaboration_active

Definition at line 52 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ collaboration_inactive

ImVec4 yaze::editor::AgentUITheme::collaboration_inactive

Definition at line 53 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ proposal_panel_bg

ImVec4 yaze::editor::AgentUITheme::proposal_panel_bg

Definition at line 56 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ proposal_accent

ImVec4 yaze::editor::AgentUITheme::proposal_accent

Definition at line 57 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ button_copy

ImVec4 yaze::editor::AgentUITheme::button_copy

Definition at line 60 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ button_copy_hover

ImVec4 yaze::editor::AgentUITheme::button_copy_hover

Definition at line 61 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ gradient_top

ImVec4 yaze::editor::AgentUITheme::gradient_top

Definition at line 64 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ gradient_bottom

ImVec4 yaze::editor::AgentUITheme::gradient_bottom

Definition at line 65 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_selection_primary

ImVec4 yaze::editor::AgentUITheme::dungeon_selection_primary

Definition at line 68 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_selection_secondary

ImVec4 yaze::editor::AgentUITheme::dungeon_selection_secondary

Definition at line 69 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_selection_pulsing

ImVec4 yaze::editor::AgentUITheme::dungeon_selection_pulsing

Definition at line 70 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_selection_handle

ImVec4 yaze::editor::AgentUITheme::dungeon_selection_handle

Definition at line 71 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_drag_preview

ImVec4 yaze::editor::AgentUITheme::dungeon_drag_preview

Definition at line 72 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_drag_preview_outline

ImVec4 yaze::editor::AgentUITheme::dungeon_drag_preview_outline

Definition at line 73 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_object_wall

ImVec4 yaze::editor::AgentUITheme::dungeon_object_wall

Definition at line 74 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_object_floor

ImVec4 yaze::editor::AgentUITheme::dungeon_object_floor

Definition at line 75 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_object_chest

ImVec4 yaze::editor::AgentUITheme::dungeon_object_chest

◆ dungeon_object_door

ImVec4 yaze::editor::AgentUITheme::dungeon_object_door

Definition at line 77 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_object_pot

ImVec4 yaze::editor::AgentUITheme::dungeon_object_pot

◆ dungeon_object_stairs

ImVec4 yaze::editor::AgentUITheme::dungeon_object_stairs

◆ dungeon_object_decoration

ImVec4 yaze::editor::AgentUITheme::dungeon_object_decoration

Definition at line 80 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_object_default

ImVec4 yaze::editor::AgentUITheme::dungeon_object_default

◆ dungeon_grid_cell_highlight

ImVec4 yaze::editor::AgentUITheme::dungeon_grid_cell_highlight

Definition at line 82 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_grid_cell_selected

ImVec4 yaze::editor::AgentUITheme::dungeon_grid_cell_selected

Definition at line 83 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_grid_cell_border

ImVec4 yaze::editor::AgentUITheme::dungeon_grid_cell_border

Definition at line 84 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_grid_text

ImVec4 yaze::editor::AgentUITheme::dungeon_grid_text

Definition at line 85 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_room_border

ImVec4 yaze::editor::AgentUITheme::dungeon_room_border

Definition at line 86 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_room_border_dark

ImVec4 yaze::editor::AgentUITheme::dungeon_room_border_dark

Definition at line 87 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_sprite_layer0

ImVec4 yaze::editor::AgentUITheme::dungeon_sprite_layer0

◆ dungeon_sprite_layer1

ImVec4 yaze::editor::AgentUITheme::dungeon_sprite_layer1

◆ dungeon_sprite_layer2

ImVec4 yaze::editor::AgentUITheme::dungeon_sprite_layer2

Definition at line 90 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_outline_layer0

ImVec4 yaze::editor::AgentUITheme::dungeon_outline_layer0

Definition at line 91 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_outline_layer1

ImVec4 yaze::editor::AgentUITheme::dungeon_outline_layer1

Definition at line 92 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ dungeon_outline_layer2

ImVec4 yaze::editor::AgentUITheme::dungeon_outline_layer2

Definition at line 93 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ text_primary

ImVec4 yaze::editor::AgentUITheme::text_primary

Definition at line 94 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ text_secondary_gray

ImVec4 yaze::editor::AgentUITheme::text_secondary_gray

Definition at line 95 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ text_info

ImVec4 yaze::editor::AgentUITheme::text_info

Definition at line 96 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ text_warning_yellow

ImVec4 yaze::editor::AgentUITheme::text_warning_yellow

Definition at line 97 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ text_error_red

ImVec4 yaze::editor::AgentUITheme::text_error_red

Definition at line 98 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ text_success_green

ImVec4 yaze::editor::AgentUITheme::text_success_green

Definition at line 99 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ box_bg_dark

ImVec4 yaze::editor::AgentUITheme::box_bg_dark

Definition at line 100 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ box_border

ImVec4 yaze::editor::AgentUITheme::box_border

Definition at line 101 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().

◆ box_text

ImVec4 yaze::editor::AgentUITheme::box_text

Definition at line 102 of file agent_ui_theme.h.

Referenced by FromCurrentTheme().


The documentation for this struct was generated from the following files: