Graphical User Interface (GUI) components for the application. More...
Namespaces | |
| namespace | anonymous_namespace{agent_chat_widget.cc} |
| namespace | anonymous_namespace{canvas.cc} |
| namespace | anonymous_namespace{canvas_context_menu.cc} |
| namespace | anonymous_namespace{canvas_interaction.cc} |
| namespace | anonymous_namespace{canvas_interaction_handler.cc} |
| namespace | anonymous_namespace{canvas_modals.cc} |
| namespace | anonymous_namespace{input.cc} |
| namespace | anonymous_namespace{keyboard_shortcuts.cc} |
| namespace | anonymous_namespace{platform_keys.cc} |
| namespace | anonymous_namespace{style.cc} |
| namespace | anonymous_namespace{tile_selector_widget.cc} |
| namespace | anonymous_namespace{touch_input.cc} |
| namespace | anonymous_namespace{widget_id_registry.cc} |
| namespace | CanvasUtils |
| Utility functions for canvas operations. | |
| namespace | EditorNames |
| namespace | IconSize |
| namespace | plotting |
| namespace | PopupNames |
| namespace | style |
Classes | |
| class | AgentChatWidget |
| ImGui widget for conversational AI agent interaction. More... | |
| class | Animator |
| struct | AssetObject |
| class | AutoWidgetScope |
| RAII scope that enables automatic widget registration. More... | |
| class | BackgroundRenderer |
| Renders themed background effects for docking windows. More... | |
| struct | BitmapDrawOpts |
| struct | BitmapPreviewOptions |
| class | BppComparisonTool |
| BPP format comparison tool. More... | |
| class | BppConversionDialog |
| BPP format conversion dialog. More... | |
| struct | BppConversionOptions |
| BPP conversion options. More... | |
| class | BppFormatUI |
| BPP format selection and conversion UI component. More... | |
| struct | ButtonColorSet |
| class | Canvas |
| Modern, robust canvas for drawing and manipulating graphics. More... | |
| class | CanvasAutomationAPI |
| Programmatic interface for controlling canvas operations. More... | |
| struct | CanvasConfig |
| Unified configuration for canvas display and interaction. More... | |
| class | CanvasContextMenu |
| struct | CanvasContextMenuItem |
| Context menu item configuration. More... | |
| struct | CanvasExtensions |
| Optional extension modules for Canvas. More... | |
| class | CanvasFrame |
| Lightweight RAII guard for existing Canvas instances. More... | |
| struct | CanvasFrameOptions |
| struct | CanvasGeometry |
| Canvas geometry calculated per-frame. More... | |
| struct | CanvasInteractionEvents |
| Combined interaction result for a frame. More... | |
| class | CanvasInteractionHandler |
| Handles all tile-based interactions for Canvas. More... | |
| struct | CanvasMenuAction |
| class | CanvasMenuActionHost |
| class | CanvasMenuBuilder |
| Builder pattern for constructing canvas menus fluently. More... | |
| struct | CanvasMenuDefinition |
| Complete menu definition. More... | |
| struct | CanvasMenuItem |
| Declarative menu item definition. More... | |
| struct | CanvasMenuSection |
| Menu section grouping related menu items. More... | |
| class | CanvasModals |
| Modal dialog management for canvas operations. More... | |
| struct | CanvasPaletteManager |
| Palette management state for canvas. More... | |
| class | CanvasPerformanceIntegration |
| Canvas performance integration with dashboard. More... | |
| class | CanvasPerformanceManager |
| Global canvas performance manager. More... | |
| struct | CanvasPerformanceMetrics |
| Canvas performance metrics. More... | |
| struct | CanvasPopupDefinition |
| Declarative popup definition for menu items. More... | |
| struct | CanvasRuntime |
| struct | CanvasSelection |
| Selection state for canvas interactions. More... | |
| struct | CanvasState |
| Complete canvas state snapshot. More... | |
| class | CanvasTouchHandler |
| Handles touch input integration for Canvas. More... | |
| class | CanvasUsageManager |
| Global canvas usage tracker manager. More... | |
| struct | CanvasUsageStats |
| Canvas usage statistics. More... | |
| class | CanvasUsageTracker |
| Canvas usage tracking and analysis system. More... | |
| class | CollaborationPanel |
| ImGui panel for collaboration features. More... | |
| struct | Color |
| struct | ColorAnalysisOptions |
| Color analysis options. More... | |
| class | CoordinateMapper |
| Maps screen coordinates to tile/ROM data. More... | |
| struct | CoordinateMapperConfig |
| Configuration for coordinate mapping. More... | |
| class | DockSpaceRenderer |
| Enhanced docking space with themed background effects. More... | |
| struct | DungeonAsset |
| class | DungeonObjectEmulatorPreview |
| class | EditorLayout |
| Modern layout manager for editor components. More... | |
| struct | EntityInteractionEvent |
| Event payload for entity interactions. More... | |
| struct | ExampleSelectionWithDeletion |
| class | FixedPanel |
| RAII for fixed-position panels (activity bar, side panel, status bar). More... | |
| struct | FlagsMenu |
| struct | GestureState |
| Gesture recognition result. More... | |
| struct | GfxSheetAssetBrowser |
| struct | HoverEvent |
| Event payload for hover preview. More... | |
| struct | InputHexResult |
| class | KeyboardShortcuts |
| Manages keyboard shortcuts and provides an overlay UI. More... | |
| class | LayoutHelpers |
| Theme-aware sizing helpers for consistent UI layout. More... | |
| struct | MemoryEditorWidget |
| class | MultiSelect |
| struct | OverworldAsset |
| struct | PaletteDragPayload |
| struct | PaletteEditorOptions |
| Palette editor options. More... | |
| class | PaletteEditorWidget |
| class | PanelWindow |
| Draggable, dockable panel for editor sub-windows. More... | |
| struct | PerformanceOptions |
| Performance integration options. More... | |
| class | PopupRegistry |
| Registry for managing persistent popups. More... | |
| struct | PopupState |
| State for a single persistent popup. More... | |
| struct | PreviewPanelOpts |
| struct | ProposalEntry |
| Represents an AI-generated proposal. More... | |
| struct | RectSelectionEvent |
| Event payload for rectangle selection operations. More... | |
| struct | RomSyncEntry |
| Represents a ROM synchronization event. More... | |
| struct | RoomObjectDragPayload |
| class | ScopedCanvas |
| RAII wrapper for Canvas (ImGui-style) More... | |
| struct | ScreenToTileResult |
| Screen coordinate mapping result. More... | |
| struct | SelectorPanelOpts |
| struct | Shortcut |
| Represents a keyboard shortcut with its associated action. More... | |
| struct | SizeConstraints |
| Returns min/max size pair suitable for ImGui::SetNextWindowSizeConstraints. More... | |
| struct | SnapshotEntry |
| Represents a shared snapshot (image, map state, etc.) More... | |
| struct | SpriteAsset |
| struct | SpriteDragPayload |
| class | StyleColorGuard |
| RAII guard for ImGui style colors. More... | |
| class | StyledChild |
| RAII guard for ImGui child windows with optional styling. More... | |
| struct | StyledChildConfig |
| Configuration for styled child windows. More... | |
| class | StyledWindow |
| RAII compound guard for window-level style setup. More... | |
| struct | StyledWindowConfig |
| Configuration for styled windows and panels. More... | |
| class | StyleVarGuard |
| RAII guard for ImGui style vars. More... | |
| struct | Table |
| struct | TextBox |
| struct | Theme |
| Comprehensive theme structure for YAZE. More... | |
| class | ThemeManager |
| Manages themes, loading, saving, and switching. More... | |
| struct | TileDragPayload |
| struct | TileHit |
| struct | TileHitInfo |
| Information about a tile at a specific screen location. More... | |
| struct | TileInteractionResult |
| Result of a tile interaction operation. More... | |
| struct | TilePaintEvent |
| Event payload for tile painting operations. More... | |
| struct | TileSelectionEvent |
| Event payload for single tile selection. More... | |
| class | TileSelectorWidget |
| Reusable tile selector built on top of Canvas. More... | |
| class | Toolset |
| Ultra-compact toolbar that merges mode buttons with settings. More... | |
| struct | TouchConfig |
| Touch input configuration. More... | |
| class | TouchInput |
| Touch input handling system for iPad and tablet browsers. More... | |
| struct | TouchPoint |
| Individual touch point data. More... | |
| struct | UIConfig |
| Centralized UI dimension constants. More... | |
| struct | UnsortedAsset |
| class | WidgetIdRegistry |
| Centralized registry for discoverable GUI widgets. More... | |
| class | WidgetIdScope |
| RAII helper for managing hierarchical ImGui ID scopes. More... | |
| class | WidgetMeasurement |
| Tracks widget dimensions for debugging and test automation. More... | |
| struct | WidgetMetrics |
| struct | ZoomToFitResult |
Typedefs | |
| using | ItemLabelFlags |
| using | GuiElement = std::variant<std::function<void()>, std::string> |
Functions | |
| Animator & | GetAnimator () |
| void | AutoRegisterLastItem (const std::string &widget_type, const std::string &explicit_label="", const std::string &description="") |
| Automatically register the last ImGui item. | |
| bool | AutoButton (const char *label, const ImVec2 &size=ImVec2(0, 0)) |
| bool | AutoSmallButton (const char *label) |
| bool | AutoCheckbox (const char *label, bool *v) |
| bool | AutoRadioButton (const char *label, bool active) |
| bool | AutoRadioButton (const char *label, int *v, int v_button) |
| bool | AutoInputText (const char *label, char *buf, size_t buf_size, ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=nullptr, void *user_data=nullptr) |
| bool | AutoInputTextMultiline (const char *label, char *buf, size_t buf_size, const ImVec2 &size=ImVec2(0, 0), ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=nullptr, void *user_data=nullptr) |
| bool | AutoInputInt (const char *label, int *v, int step=1, int step_fast=100, ImGuiInputTextFlags flags=0) |
| bool | AutoInputFloat (const char *label, float *v, float step=0.0f, float step_fast=0.0f, const char *format="%.3f", ImGuiInputTextFlags flags=0) |
| bool | AutoSliderInt (const char *label, int *v, int v_min, int v_max, const char *format="%d", ImGuiSliderFlags flags=0) |
| bool | AutoSliderFloat (const char *label, float *v, float v_min, float v_max, const char *format="%.3f", ImGuiSliderFlags flags=0) |
| bool | AutoCombo (const char *label, int *current_item, const char *const items[], int items_count, int popup_max_height_in_items=-1) |
| bool | AutoSelectable (const char *label, bool selected=false, ImGuiSelectableFlags flags=0, const ImVec2 &size=ImVec2(0, 0)) |
| bool | AutoSelectable (const char *label, bool *p_selected, ImGuiSelectableFlags flags=0, const ImVec2 &size=ImVec2(0, 0)) |
| bool | AutoMenuItem (const char *label, const char *shortcut=nullptr, bool selected=false, bool enabled=true) |
| bool | AutoMenuItem (const char *label, const char *shortcut, bool *p_selected, bool enabled=true) |
| bool | AutoBeginMenu (const char *label, bool enabled=true) |
| bool | AutoBeginTabItem (const char *label, bool *p_open=nullptr, ImGuiTabItemFlags flags=0) |
| bool | AutoTreeNode (const char *label) |
| bool | AutoTreeNodeEx (const char *label, ImGuiTreeNodeFlags flags=0) |
| bool | AutoCollapsingHeader (const char *label, ImGuiTreeNodeFlags flags=0) |
| void | RegisterCanvas (const char *canvas_name, const std::string &description="") |
| Register a canvas widget after BeginChild or similar. | |
| void | RegisterTable (const char *table_name, const std::string &description="") |
| Register a table after BeginTable. | |
| void | BeginCanvas (Canvas &canvas, ImVec2 child_size) |
| void | EndCanvas (Canvas &canvas) |
| CanvasRuntime | BeginCanvas (gui::Canvas &canvas, const CanvasFrameOptions &options) |
| void | EndCanvas (gui::Canvas &canvas, CanvasRuntime &, const CanvasFrameOptions &options) |
| ZoomToFitResult | ComputeZoomToFit (ImVec2 content_px, ImVec2 canvas_px, float padding_px) |
| ImVec2 | ClampScroll (ImVec2 scroll, ImVec2 content_px, ImVec2 canvas_px) |
| void | GraphicsBinCanvasPipeline (int width, int height, int tile_size, int num_sheets_to_load, int canvas_id, bool is_loaded, gfx::BitmapTable &graphics_bin) |
| void | BitmapCanvasPipeline (gui::Canvas &canvas, gfx::Bitmap &bitmap, int width, int height, int tile_size, bool is_loaded, bool scrollbar, int canvas_id) |
| void | TableCanvasPipeline (gui::Canvas &canvas, gfx::Bitmap &bitmap, const std::string &label, bool auto_resize) |
| void | DrawBitmap (const CanvasRuntime &rt, gfx::Bitmap &bitmap, int border_offset, float scale) |
| void | DrawBitmap (const CanvasRuntime &rt, gfx::Bitmap &bitmap, int x_offset, int y_offset, float scale, int alpha) |
| void | DrawBitmap (const CanvasRuntime &rt, gfx::Bitmap &bitmap, ImVec2 dest_pos, ImVec2 dest_size, ImVec2 src_pos, ImVec2 src_size) |
| void | DrawBitmap (const CanvasRuntime &rt, gfx::Bitmap &bitmap, const BitmapDrawOpts &opts) |
| void | DrawBitmapPreview (const CanvasRuntime &rt, gfx::Bitmap &bitmap, const BitmapPreviewOptions &options) |
| bool | RenderPreviewPanel (const CanvasRuntime &rt, gfx::Bitmap &bmp, const PreviewPanelOpts &opts) |
| void | DrawRect (const CanvasRuntime &rt, int x, int y, int w, int h, ImVec4 color) |
| void | DrawText (const CanvasRuntime &rt, const std::string &text, int x, int y) |
| void | DrawOutline (const CanvasRuntime &rt, int x, int y, int w, int h, ImU32 color) |
| bool | DrawTilemapPainter (const CanvasRuntime &rt, gfx::Tilemap &tilemap, int current_tile, ImVec2 *out_drawn_pos) |
| bool | DrawTileSelector (const CanvasRuntime &rt, int size, int size_y, ImVec2 *out_selected_pos) |
| void | DrawSelectRect (const CanvasRuntime &rt, int current_map, int tile_size, float scale, CanvasSelection &selection) |
| void | GraphicsBinCanvasPipeline (int width, int height, int tile_size, int num_sheets_to_load, int canvas_id, bool is_loaded, BitmapTable &graphics_bin) |
| TileHit | TileIndexAt (const ImVec2 &local_pos, float grid_step, float scale, const ImVec2 &canvas_px) |
| void | DrawTileOutline (const CanvasRuntime &rt, const ImVec2 &tile_pos_px, const ImVec2 &tile_size_px, ImU32 color) |
| void | DrawTileHighlight (const CanvasRuntime &rt, const ImVec2 &tile_pos_px, const ImVec2 &tile_size_px, ImU32 color) |
| void | DrawTileLabel (const CanvasRuntime &rt, const ImVec2 &tile_pos_px, const char *text, ImU32 color) |
| bool | DrawBitmap (gui::Canvas &canvas, CanvasRuntime &rt, gfx::Bitmap &bmp, const BitmapDrawOpts &opts) |
| bool | DrawTilemapRegion (gui::Canvas &canvas, CanvasRuntime &rt, gfx::Tilemap &tilemap, absl::Span< const int > tile_ids, int tile_size, float scale, ImVec2 clamp_px) |
| bool | RenderSelectorPanel (gui::Canvas &canvas, gfx::Bitmap &bmp, const SelectorPanelOpts &opts, TileHit *out_hit) |
| bool | RenderPreviewPanel (gui::Canvas &canvas, gfx::Bitmap &bmp, const PreviewPanelOpts &opts) |
| void | RegisterDefaultCanvasMenu (CanvasMenuActionHost &host, const CanvasRuntime &rt, CanvasConfig &cfg) |
| void | RenderContextMenu (CanvasMenuActionHost &host, const CanvasRuntime &rt, CanvasConfig &cfg) |
| CanvasGeometry | CalculateCanvasGeometry (const CanvasConfig &config, ImVec2 requested_size, ImVec2 cursor_screen_pos, ImVec2 content_region_avail) |
| Calculate canvas geometry from configuration and ImGui context. | |
| ImVec2 | CalculateMouseInCanvas (const CanvasGeometry &geometry, ImVec2 mouse_screen_pos) |
| Calculate mouse position in canvas space. | |
| bool | IsPointInCanvasBounds (const CanvasGeometry &geometry, ImVec2 point) |
| Check if a point is within canvas bounds. | |
| void | ApplyScrollDelta (CanvasGeometry &geometry, ImVec2 delta) |
| Apply scroll delta to geometry. | |
| ImVec2 | ComputeScrollForZoomAtScreenPos (const CanvasGeometry &geometry, float old_scale, float new_scale, ImVec2 mouse_screen_pos) |
| Compute new scroll offset to keep a canvas point locked under the mouse. | |
| ImVec2 | GetCanvasOrigin (const CanvasGeometry &geometry) |
| Get origin point (canvas top-left + scroll offset) | |
| CanvasFrameOptions | MakeFrameOptions (ImVec2 size=ImVec2(0, 0), float grid_step=16.0f, bool draw_grid=true, bool draw_overlay=true, bool render_popups=true, bool draw_context_menu=false) |
| SelectorPanelOpts | MakeSelectorOpts (ImVec2 size, float grid_step, int tile_size, bool ensure_texture=true, bool render_popups=true) |
| PreviewPanelOpts | MakePreviewOpts (ImVec2 size, float grid_step=0.0f, bool ensure_texture=true, bool render_popups=false) |
| CanvasMenuActionHost | MakeMenuHostWithDefaults (const CanvasRuntime &rt, CanvasConfig &cfg) |
| ImVec2 | AlignToGrid (ImVec2 pos, float grid_step) |
| Align position to grid. | |
| ImVec2 | GetMouseInCanvasSpace (const CanvasGeometry &geometry) |
| Get mouse position in canvas space. | |
| bool | IsMouseInCanvas (const CanvasGeometry &geometry) |
| Check if mouse is in canvas bounds. | |
| ImVec2 | CanvasToTileGrid (ImVec2 canvas_pos, float tile_size, float global_scale) |
| Calculate tile grid indices from canvas position. | |
| RectSelectionEvent | HandleRectangleSelection (const CanvasGeometry &geometry, int current_map, float tile_size, ImDrawList *draw_list, ImGuiMouseButton mouse_button=ImGuiMouseButton_Right) |
| Handle rectangle selection interaction. | |
| TileSelectionEvent | HandleTileSelection (const CanvasGeometry &geometry, int current_map, float tile_size, ImGuiMouseButton mouse_button=ImGuiMouseButton_Right) |
| Handle single tile selection (right-click) | |
| TilePaintEvent | HandleTilePaint (const CanvasGeometry &geometry, int tile_id, float tile_size, ImGuiMouseButton mouse_button=ImGuiMouseButton_Left) |
| Handle tile painting interaction. | |
| TilePaintEvent | HandleTilePaintWithPreview (const CanvasGeometry &geometry, const gfx::Bitmap &bitmap, float tile_size, ImDrawList *draw_list, ImGuiMouseButton mouse_button=ImGuiMouseButton_Left) |
| Handle tile painter with bitmap preview. | |
| TilePaintEvent | HandleTilemapPaint (const CanvasGeometry &geometry, const gfx::Tilemap &tilemap, int current_tile, ImDrawList *draw_list, ImGuiMouseButton mouse_button=ImGuiMouseButton_Left) |
| Handle tilemap painting interaction. | |
| HoverEvent | HandleHover (const CanvasGeometry &geometry, float tile_size) |
| Update hover state for canvas. | |
| void | RenderHoverPreview (const CanvasGeometry &geometry, const HoverEvent &hover, float tile_size, ImDrawList *draw_list, ImU32 color=IM_COL32(255, 255, 255, 80)) |
| Render hover preview overlay. | |
| EntityInteractionEvent | HandleEntityInteraction (const CanvasGeometry &geometry, int entity_id, ImVec2 entity_position) |
| Handle entity interaction (hover, click, drag) | |
| void | RenderMenuItem (const CanvasMenuItem &item, std::function< void(const std::string &, std::function< void()>)> popup_opened_callback=nullptr) |
| Render a single menu item. | |
| void | RenderMenuSection (const CanvasMenuSection §ion, std::function< void(const std::string &, std::function< void()>)> popup_opened_callback=nullptr) |
| Render a menu section. | |
| void | RenderCanvasMenu (const CanvasMenuDefinition &menu, std::function< void(const std::string &, std::function< void()>)> popup_opened_callback=nullptr) |
| Render a complete menu definition. | |
| void | RenderCanvasBackground (ImDrawList *draw_list, const CanvasGeometry &geometry) |
| Render canvas background and border. | |
| void | RenderCanvasGrid (ImDrawList *draw_list, const CanvasGeometry &geometry, const CanvasConfig &config, int highlight_tile_id=-1) |
| Render canvas grid with optional highlighting. | |
| void | RenderCanvasOverlay (ImDrawList *draw_list, const CanvasGeometry &geometry, const CanvasConfig &config, const ImVector< ImVec2 > &points, const ImVector< ImVec2 > &selected_points) |
| Render canvas overlay (hover and selection points) | |
| void | RenderCanvasLabels (ImDrawList *draw_list, const CanvasGeometry &geometry, const CanvasConfig &config, const ImVector< ImVector< std::string > > &labels, int current_labels, int tile_id_offset) |
| Render canvas labels on grid. | |
| void | RenderBitmapOnCanvas (ImDrawList *draw_list, const CanvasGeometry &geometry, gfx::Bitmap &bitmap, int border_offset, float scale) |
| Render bitmap on canvas (border offset variant) | |
| void | RenderBitmapOnCanvas (ImDrawList *draw_list, const CanvasGeometry &geometry, gfx::Bitmap &bitmap, int x_offset, int y_offset, float scale, int alpha) |
| Render bitmap on canvas (x/y offset variant) | |
| void | RenderBitmapOnCanvas (ImDrawList *draw_list, const CanvasGeometry &geometry, gfx::Bitmap &bitmap, ImVec2 dest_pos, ImVec2 dest_size, ImVec2 src_pos, ImVec2 src_size) |
| Render bitmap on canvas (custom source/dest regions) | |
| void | RenderBitmapGroup (ImDrawList *draw_list, const CanvasGeometry &geometry, std::vector< int > &group, gfx::Tilemap &tilemap, int tile_size, float scale, int local_map_size, ImVec2 total_map_size) |
| Render group of bitmaps from tilemap. | |
| TileHitInfo | ScreenToTileQuick (const CanvasRuntime &runtime, float screen_x, float screen_y, float tile_size=16.0f) |
| Quick screen-to-tile lookup using canvas runtime state. | |
| int | CalculateTileIndex (float local_x, float local_y, float tile_size, int tiles_per_row) |
| Calculate tile index from local position and grid settings. | |
| ImVec4 | GetTileBounds (int tile_x, int tile_y, float tile_size, float scale) |
| Get tile bounds in canvas space. | |
| ImVec4 | ConvertSnesColorToImVec4 (const gfx::SnesColor &color) |
| Convert SnesColor to standard ImVec4 for display. | |
| gfx::SnesColor | ConvertImVec4ToSnesColor (const ImVec4 &color) |
| Convert standard ImVec4 to SnesColor. | |
| IMGUI_API bool | SnesColorButton (absl::string_view id, gfx::SnesColor &color, ImGuiColorEditFlags flags, const ImVec2 &size_arg) |
| IMGUI_API bool | SnesColorEdit4 (absl::string_view label, gfx::SnesColor *color, ImGuiColorEditFlags flags) |
| IMGUI_API bool | InlinePaletteSelector (gfx::SnesPalette &palette, int num_colors=8, int *selected_index=nullptr) |
| Small inline palette selector - just color buttons for selection. | |
| IMGUI_API absl::Status | InlinePaletteEditor (gfx::SnesPalette &palette, const std::string &title="", ImGuiColorEditFlags flags=0) |
| Full inline palette editor with color picker and copy options. | |
| IMGUI_API bool | PopupPaletteEditor (const char *popup_id, gfx::SnesPalette &palette, ImGuiColorEditFlags flags=0) |
| Popup palette editor - same as inline but in a popup. | |
| IMGUI_API bool | DisplayPalette (gfx::SnesPalette &palette, bool loaded) |
| void | SelectablePalettePipeline (uint64_t &palette_id, bool &refresh_graphics, gfx::SnesPalette &palette) |
| absl::Status | DisplayEditablePalette (gfx::SnesPalette &palette, const std::string &title, bool show_color_picker, int colors_per_row, ImGuiColorEditFlags flags) |
| IMGUI_API bool | PaletteColorButton (const char *id, const gfx::SnesColor &color, bool is_selected, bool is_modified, const ImVec2 &size, ImGuiColorEditFlags flags) |
| ImVec4 | ConvertColorToImVec4 (const Color &color) |
| std::string | ColorToHexString (const Color &color) |
| bool | BeginTileDragSource (int tile_id, int map_id) |
| bool | BeginSpriteDragSource (int sprite_id, int room_id) |
| bool | BeginPaletteDragSource (int group_idx, int palette_idx, int color_idx) |
| bool | BeginRoomObjectDragSource (uint16_t object_id, int room_id, int pos_x, int pos_y) |
| bool | AcceptTileDrop (TileDragPayload *out) |
| Accept a tile16 drop. Returns true if a payload was accepted. | |
| bool | AcceptSpriteDrop (SpriteDragPayload *out) |
| bool | AcceptPaletteDrop (PaletteDragPayload *out) |
| bool | AcceptRoomObjectDrop (RoomObjectDragPayload *out) |
| bool | InputHex (const char *label, uint64_t *data) |
| bool | InputHex (const char *label, int *data, int num_digits, float input_width) |
| bool | InputHexShort (const char *label, uint32_t *data) |
| bool | InputHexWord (const char *label, uint16_t *data, float input_width, bool no_step) |
| bool | InputHexWord (const char *label, int16_t *data, float input_width, bool no_step) |
| bool | InputHexByte (const char *label, uint8_t *data, float input_width, bool no_step) |
| bool | InputHexByte (const char *label, uint8_t *data, uint8_t max_value, float input_width, bool no_step) |
| InputHexResult | InputHexByteEx (const char *label, uint8_t *data, float input_width, bool no_step) |
| InputHexResult | InputHexByteEx (const char *label, uint8_t *data, uint8_t max_value, float input_width, bool no_step) |
| InputHexResult | InputHexWordEx (const char *label, uint16_t *data, float input_width, bool no_step) |
| void | Paragraph (const std::string &text) |
| bool | ClickableText (const std::string &text) |
| void | ItemLabel (absl::string_view title, ItemLabelFlags flags) |
| bool | ListBox (const char *label, int *current_item, const std::vector< std::string > &items, int height_in_items) |
| bool | InputTileInfo (const char *label, gfx::TileInfo *tile_info) |
| ImGuiID | GetID (const std::string &id) |
| ImGuiKey | MapKeyToImGuiKey (char key) |
| void | AddTableColumn (Table &table, const std::string &label, GuiElement element) |
| void | DrawTable (Table ¶ms) |
| bool | OpenUrl (const std::string &url) |
| void | MemoryEditorPopup (const std::string &label, std::span< uint8_t > memory) |
| bool | InputHexByteCustom (const char *label, uint8_t *data, float input_width) |
| bool | InputHexWordCustom (const char *label, uint16_t *data, float input_width) |
| bool | SliderFloatWheel (const char *label, float *v, float v_min, float v_max, const char *format, float wheel_step, ImGuiSliderFlags flags) |
| bool | SliderIntWheel (const char *label, int *v, int v_min, int v_max, const char *format, int wheel_step, ImGuiSliderFlags flags) |
| Platform | GetCurrentPlatform () |
| Get the current platform at runtime. | |
| bool | IsMacPlatform () |
| Check if running on macOS (native or web) | |
| const char * | GetCtrlDisplayName () |
| Get the display name for the primary modifier key. | |
| const char * | GetAltDisplayName () |
| Get the display name for the secondary modifier key. | |
| const char * | GetKeyName (ImGuiKey key) |
| Get the ImGui key name as a string. | |
| std::string | FormatShortcut (const std::vector< ImGuiKey > &keys) |
| Format a list of ImGui keys into a human-readable shortcut string. | |
| std::string | FormatCtrlShortcut (ImGuiKey key) |
| Convenience function for Ctrl+key shortcuts. | |
| std::string | FormatCtrlShiftShortcut (ImGuiKey key) |
| Convenience function for Ctrl+Shift+key shortcuts. | |
| std::string | MakePopupId (size_t session_id, const std::string &editor_name, const std::string &popup_name) |
| Generate session-aware popup IDs to prevent conflicts in multi-editor layouts. | |
| std::string | MakePopupId (const std::string &editor_name, const std::string &popup_name) |
| Shorthand for editors without explicit session tracking. | |
| std::string | MakePopupIdWithInstance (const std::string &editor_name, const std::string &popup_name, const void *instance) |
| Generate popup ID with instance pointer for guaranteed uniqueness. | |
| bool | FuzzyMatch (const std::string &pattern, const std::string &str) |
| Simple fuzzy match - returns true if all chars in pattern appear in str in order. | |
| int | FuzzyScore (const std::string &pattern, const std::string &str) |
| Score a fuzzy match (higher = better, 0 = no match) | |
| bool | PassesFilter (const std::string &filter, const std::string &str) |
| Check if a string matches a search filter. | |
| bool | AnyPassesFilter (const std::string &filter, const std::vector< std::string > &strings) |
| Check if any of multiple strings match a search filter. | |
| void | ColorsYaze () |
| void | DrawBitmapViewer (const std::vector< gfx::Bitmap > &bitmaps, float scale, int ¤t_bitmap_id) |
| TextEditor::LanguageDefinition | GetAssemblyLanguageDef () |
| void | BeginWindowWithDisplaySettings (const char *id, bool *active, const ImVec2 &size, ImGuiWindowFlags flags) |
| void | EndWindowWithDisplaySettings () |
| void | BeginPadding (int i) |
| void | EndPadding () |
| void | BeginNoPadding () |
| void | EndNoPadding () |
| void | BeginChildWithScrollbar (const char *str_id) |
| void | BeginChildWithScrollbar (const char *str_id, ImVec2 content_size) |
| void | BeginChildBothScrollbars (int id) |
| void | BeginTableCanvas (const char *table_id, int columns, ImVec2 canvas_size) |
| void | EndTableCanvas () |
| void | SetupCanvasTableColumn (const char *label, float width_ratio) |
| void | BeginCanvasTableCell (ImVec2 min_size) |
| void | DrawDisplaySettings (ImGuiStyle *ref) |
| void | DrawDisplaySettingsForPopup (ImGuiStyle *ref) |
| void | TextWithSeparators (const absl::string_view &text) |
| void | DrawFontManager () |
| Color | RGB (float r, float g, float b, float a=1.0f) |
| Color | RGBA (int r, int g, int b, int a=255) |
| Color | GetThemeColor (const std::string &color_name) |
| ImVec4 | GetThemeColorVec4 (const std::string &color_name) |
| Color | GetPrimary () |
| Color | GetPrimaryHover () |
| Color | GetPrimaryActive () |
| Color | GetSecondary () |
| Color | GetSurface () |
| Color | GetSurfaceVariant () |
| Color | GetSurfaceContainer () |
| Color | GetSurfaceContainerHigh () |
| Color | GetSurfaceContainerHighest () |
| Color | GetOnSurface () |
| Color | GetOnSurfaceVariant () |
| Color | GetOnPrimary () |
| Color | GetOutline () |
| Color | GetTextSecondary () |
| Color | GetTextDisabled () |
| Color | GetShadow () |
| ImVec4 | GetPrimaryVec4 () |
| ImVec4 | GetPrimaryHoverVec4 () |
| ImVec4 | GetPrimaryActiveVec4 () |
| ImVec4 | GetSurfaceVec4 () |
| ImVec4 | GetSurfaceVariantVec4 () |
| ImVec4 | GetSurfaceContainerVec4 () |
| ImVec4 | GetSurfaceContainerHighVec4 () |
| ImVec4 | GetSurfaceContainerHighestVec4 () |
| ImVec4 | GetOnSurfaceVec4 () |
| ImVec4 | GetOnSurfaceVariantVec4 () |
| ImVec4 | GetOnPrimaryVec4 () |
| ImVec4 | GetOutlineVec4 () |
| ImVec4 | GetTextSecondaryVec4 () |
| ImVec4 | GetTextDisabledVec4 () |
| ImVec4 | GetShadowVec4 () |
| ImVec2 | ViewportRelativeSize (float width_factor, float height_factor) |
| Returns an ImVec2 sized as a fraction of the main viewport WorkSize. | |
| ImVec2 | DialogSize (float width_factor=0.6f, float height_factor=0.65f) |
| Returns a standard dialog size as a fraction of the viewport. | |
| SizeConstraints | ConstrainToViewport (ImVec2 min_size, float max_factor=0.95f) |
| ImVec2 | ScaledSize (float base_width, float base_height) |
| Returns a DPI-scaled version of a fixed pixel size. | |
| ImVec2 | GetContentRegionAvailClamped (const ImVec2 &min_size) |
| Returns content region available size clamped to a minimum. | |
| ImVec4 | ResolveSemanticColor (SemanticColor color) |
| ImVec4 | GetThemeColor (ImGuiCol idx) |
| ImVec4 | GetSuccessColor () |
| ImVec4 | GetWarningColor () |
| ImVec4 | GetErrorColor () |
| ImVec4 | GetInfoColor () |
| ImVec4 | GetAccentColor () |
| ImVec4 | GetDisabledColor () |
| ImVec4 | GetEntranceColor () |
| ImVec4 | GetExitColor () |
| ImVec4 | GetItemColor () |
| ImVec4 | GetSpriteColor () |
| ImVec4 | GetSelectedColor () |
| ImVec4 | GetLockedColor () |
| ImVec4 | GetVanillaRomColor () |
| ImVec4 | GetCustomRomColor () |
| ImVec4 | GetModifiedColor () |
| void | ColoredText (const char *text, const ImVec4 &color) |
| void | ColoredTextF (const ImVec4 &color, const char *fmt,...) |
| void | ThemedText (const char *text, SemanticColor color) |
| void | ThemedTextF (SemanticColor color, const char *fmt,...) |
| ButtonColorSet | GetPrimaryButtonColors () |
| ButtonColorSet | GetDangerButtonColors () |
| ButtonColorSet | GetSuccessButtonColors () |
| ButtonColorSet | GetWarningButtonColors () |
| void | ThemedSeparator () |
| void | BeginField (const char *label, float label_width) |
| void | EndField () |
| bool | BeginPropertyTable (const char *id, int columns, ImGuiTableFlags extra_flags) |
| void | EndPropertyTable () |
| void | PropertyRow (const char *label, const char *value) |
| void | PropertyRow (const char *label, int value) |
| void | PropertyRowHex (const char *label, uint8_t value) |
| void | PropertyRowHex (const char *label, uint16_t value) |
| void | SectionHeader (const char *icon, const char *label, const ImVec4 &color) |
| bool | IconButton (const char *icon, const char *label, const ImVec2 &size) |
| bool | IconButton (const char *icon, const char *tooltip) |
| bool | ColoredButton (const char *label, ButtonType type, const ImVec2 &size) |
| bool | StyledButton (const char *label, const ImVec4 &color, const ImVec2 &size) |
| bool | ToggleIconButton (const char *icon_on, const char *icon_off, bool *state, const char *tooltip) |
| bool | ToggleButton (const char *label, bool active, const ImVec2 &size) |
| void | HelpMarker (const char *desc) |
| void | SeparatorText (const char *label) |
| void | StatusBadge (const char *text, ButtonType type) |
| void | BeginToolset (const char *id) |
| void | EndToolset () |
| void | ToolsetButton (const char *icon, bool selected, const char *tooltip, std::function< void()> on_click) |
| void | BeginCanvasContainer (const char *id, bool scrollable) |
| void | EndCanvasContainer () |
| bool | EditorTabItem (const char *icon, const char *label, bool *p_open) |
| bool | ConfirmationDialog (const char *id, const char *title, const char *message, const char *confirm_text, const char *cancel_text) |
| void | StatusIndicator (const char *label, bool active, const char *tooltip) |
| void | RenderProviderBadge (const char *provider) |
| void | RomVersionBadge (const char *version, bool is_vanilla) |
| void | LockIndicator (bool locked, const char *label) |
| void | VerticalSpacing (float pixels) |
| void | HorizontalSpacing (float pixels) |
| void | CenterText (const char *text) |
| void | RightAlign (float width) |
| float | GetPulseAlpha (float speed) |
| float | GetFadeIn (float duration) |
| void | PushPulseEffect (float speed) |
| void | PopPulseEffect () |
| void | LoadingSpinner (const char *label, float radius) |
| float | GetResponsiveWidth (float min_width, float max_width, float ratio) |
| void | SetupResponsiveColumns (int count, float min_col_width) |
| void | BeginTwoColumns (const char *id, float split_ratio) |
| void | SwitchColumn () |
| void | EndTwoColumns () |
| bool | LabeledInputHex (const char *label, uint8_t *value) |
| bool | LabeledInputHex (const char *label, uint16_t *value) |
| bool | IconCombo (const char *icon, const char *label, int *current, const char *const items[], int count) |
| std::string | MakePanelTitle (const std::string &title) |
| const char * | ShortcutContextToString (ShortcutContext context) |
| Convert ShortcutContext to display string. | |
| ShortcutContext | EditorNameToContext (const std::string &editor_name) |
| Convert editor type name to ShortcutContext. | |
| bool | RippleButton (const char *label, const ImVec2 &size=ImVec2(0, 0), const ImVec4 &ripple_color=ImVec4(1.0f, 1.0f, 1.0f, 0.3f), const char *panel_id=nullptr, const char *anim_id=nullptr) |
| Draw a button with animated click ripple effect. | |
| bool | BouncyButton (const char *label, const ImVec2 &size=ImVec2(0, 0), const char *panel_id=nullptr, const char *anim_id=nullptr) |
| Draw a bouncy animated button that scales on press. | |
| bool | ThemedIconButton (const char *icon, const char *tooltip=nullptr, const ImVec2 &size=ImVec2(0, 0), bool is_active=false, bool is_disabled=false, const char *panel_id=nullptr, const char *anim_id=nullptr) |
| Draw a standard icon button with theme-aware colors. | |
| bool | TransparentIconButton (const char *icon, const ImVec2 &size, const char *tooltip=nullptr, bool is_active=false, const ImVec4 &active_color=ImVec4(0, 0, 0, 0), const char *panel_id=nullptr, const char *anim_id=nullptr) |
| Draw a transparent icon button (hover effect only). | |
| bool | ThemedButton (const char *label, const ImVec2 &size=ImVec2(0, 0), const char *panel_id=nullptr, const char *anim_id=nullptr) |
| Draw a standard text button with theme colors. | |
| bool | PrimaryButton (const char *label, const ImVec2 &size=ImVec2(0, 0), const char *panel_id=nullptr, const char *anim_id=nullptr) |
| Draw a primary action button (accented color). | |
| bool | DangerButton (const char *label, const ImVec2 &size=ImVec2(0, 0), const char *panel_id=nullptr, const char *anim_id=nullptr) |
| Draw a danger action button (error color). | |
| bool | SuccessButton (const char *label, const ImVec2 &size=ImVec2(0, 0), const char *panel_id=nullptr, const char *anim_id=nullptr) |
| Draw a success action button (green color). | |
| bool | ToolbarIconButton (const char *icon, const char *tooltip=nullptr, bool is_active=false) |
| Convenience wrapper for toolbar-sized icon buttons. | |
| bool | InlineIconButton (const char *icon, const char *tooltip=nullptr, bool is_active=false) |
| Convenience wrapper for small inline icon buttons. | |
| void | SectionHeader (const char *label) |
| Draw a section header. | |
| bool | PaletteColorButton (const char *id, const gfx::SnesColor &color, bool is_selected, bool is_modified, const ImVec2 &size, const char *panel_id, const char *anim_id) |
| void | PanelHeader (const char *title, const char *icon=nullptr, bool *p_open=nullptr, const char *panel_id=nullptr) |
| Draw a panel header with consistent styling. | |
| bool | BeginThemedTabBar (const char *id, ImGuiTabBarFlags flags=0) |
| A stylized tab bar with "Mission Control" branding. | |
| void | EndThemedTabBar () |
| void | ValueChangeFlash (bool changed, const char *id) |
| Provide visual "flash" feedback when a value changes. | |
| void | DrawCanvasHUD (const char *label, const ImVec2 &pos, const ImVec2 &size, std::function< void()> draw_content) |
| Draw a stylized Heads-Up Display (HUD) for canvas status. | |
| void | ThemedTooltip (const char *text) |
| Draw a tooltip with theme-aware background and borders. | |
| bool | PaletteColorButton (const char *id, const struct SnesColor &color, bool is_selected, bool is_modified, const ImVec2 &size, const char *panel_id=nullptr, const char *anim_id=nullptr) |
| Draw a palette color button. | |
Variables | |
| thread_local std::vector< std::string > | g_auto_scope_stack_ |
| constexpr uint32_t | kRectangleColor = IM_COL32(32, 32, 32, 255) |
| constexpr uint32_t | kWhiteColor = IM_COL32(255, 255, 255, 255) |
| constexpr ImGuiButtonFlags | kMouseFlags |
| constexpr const char * | kDragPayloadTile16 = "YAZE_TILE16" |
| constexpr const char * | kDragPayloadSprite = "YAZE_SPRITE" |
| constexpr const char * | kDragPayloadPalette = "YAZE_PALETTE" |
| constexpr const char * | kDragPayloadRoomObject = "YAZE_ROOM_OBJ" |
| const int | kStepOneHex = 0x01 |
| const int | kStepFastHex = 0x0F |
| constexpr ImVec2 | kDefaultModalSize = ImVec2(200, 0) |
| constexpr ImVec2 | kZeroPos = ImVec2(0, 0) |
Graphical User Interface (GUI) components for the application.
| using yaze::gui::GuiElement = std::variant<std::function<void()>, std::string> |
|
strong |
| Enumerator | |
|---|---|
| kNone | |
| kFade | |
| kSlideLeft | |
| kSlideRight | |
| kSlideUp | |
| kSlideDown | |
| kScale | |
| kExpand | |
Definition at line 14 of file animator.h.
|
strong |
| Enumerator | |
|---|---|
| kSnappy | |
| kStandard | |
| kRelaxed | |
Definition at line 26 of file animator.h.
|
strong |
|
strong |
|
strong |
|
strong |
Tile interaction mode for canvas.
| Enumerator | |
|---|---|
| kNone | |
| kPaintSingle | |
| kPaintDrag | |
| kSelectSingle | |
| kSelectRectangle | |
| kColorPaint | |
Definition at line 16 of file canvas_interaction_handler.h.
|
strong |
Menu section priority for controlling rendering order.
Lower values render first in the context menu:
| Enumerator | |
|---|---|
| kEditorSpecific | |
| kBitmapPalette | |
| kCanvasProperties | |
| kDebug | |
Definition at line 23 of file canvas_menu.h.
|
strong |
Canvas usage patterns and tracking.
| Enumerator | |
|---|---|
| kTilePainting | |
| kTileSelecting | |
| kSelectRectangle | |
| kColorPainting | |
| kBitmapEditing | |
| kPaletteEditing | |
| kBppConversion | |
| kPerformanceMode | |
| kEntityManipulation | |
| kUnknown | |
Definition at line 18 of file canvas_usage_tracker.h.
|
strong |
Canvas interaction types.
| Enumerator | |
|---|---|
| kMouseClick | |
| kMouseDrag | |
| kMouseRelease | |
| kKeyboardInput | |
| kContextMenu | |
| kModalOpen | |
| kModalClose | |
| kToolChange | |
| kModeChange | |
Definition at line 35 of file canvas_usage_tracker.h.
|
strong |
Runtime platform detection for display string customization.
| Enumerator | |
|---|---|
| kWindows | |
| kMacOS | |
| kLinux | |
| kWebMac | |
| kWebOther | |
Definition at line 16 of file platform_keys.h.
|
strong |
Typography and spacing density presets.
| Enumerator | |
|---|---|
| kCompact | |
| kNormal | |
| kComfortable | |
Definition at line 20 of file theme_manager.h.
|
strong |
Gesture types recognized by the touch input system.
| Enumerator | |
|---|---|
| kNone | |
| kTap | |
| kDoubleTap | |
| kLongPress | |
| kPan | |
| kPinchZoom | |
| kRotate | |
Definition at line 16 of file touch_input.h.
|
strong |
Phase of a touch gesture.
| Enumerator | |
|---|---|
| kBegan | |
| kChanged | |
| kEnded | |
| kCancelled | |
Definition at line 29 of file touch_input.h.
|
strong |
| Enumerator | |
|---|---|
| Primary | |
| Secondary | |
| Disabled | |
| Error | |
| Warning | |
| Success | |
| Info | |
| OnSurface | |
| OnSurfaceVariant | |
Definition at line 20 of file ui_helpers.h.
|
strong |
| Enumerator | |
|---|---|
| Default | |
| Success | |
| Warning | |
| Error | |
| Info | |
Definition at line 136 of file ui_helpers.h.
|
strong |
Defines the context in which a shortcut is active.
| Enumerator | |
|---|---|
| kGlobal | |
| kOverworld | |
| kDungeon | |
| kGraphics | |
| kPalette | |
| kSprite | |
| kMusic | |
| kMessage | |
| kEmulator | |
| kCode | |
Definition at line 26 of file keyboard_shortcuts.h.
| Animator & yaze::gui::GetAnimator | ( | ) |
Definition at line 301 of file animator.cc.
Referenced by BouncyButton(), yaze::editor::RightPanelManager::ClosePanel(), DangerButton(), yaze::editor::RightPanelManager::Draw(), yaze::editor::PanelManager::DrawAllVisiblePanels(), yaze::editor::SettingsPanel::DrawAppearanceSettings(), yaze::editor::DungeonCanvasViewer::DrawRoomPropertyTable(), yaze::editor::EditorManager::HandleHostVisibilityChanged(), yaze::editor::EditorManager::InitializeServices(), yaze::editor::PanelManager::OnEditorSwitch(), yaze::editor::RightPanelManager::OpenPanel(), PaletteColorButton(), PrimaryButton(), RippleButton(), SuccessButton(), ThemedButton(), ThemedIconButton(), TransparentIconButton(), yaze::editor::PanelManager::UnregisterEditorPanel(), and ValueChangeFlash().
| void yaze::gui::AutoRegisterLastItem | ( | const std::string & | widget_type, |
| const std::string & | explicit_label = "", | ||
| const std::string & | description = "" ) |
Automatically register the last ImGui item.
Call this after any ImGui widget creation to automatically register it. Captures widget type, bounds, visibility, and enabled state.
| widget_type | Type of widget ("button", "input", "checkbox", etc.) |
| explicit_label | Optional explicit label (uses ImGui::GetItemLabel() if empty) |
| description | Optional description for the test harness |
Definition at line 26 of file widget_auto_register.cc.
References yaze::gui::WidgetIdRegistry::WidgetMetadata::bounds, yaze::gui::WidgetIdRegistry::WidgetMetadata::enabled, g_auto_scope_stack_, yaze::gui::WidgetIdRegistry::Instance(), yaze::gui::WidgetIdRegistry::WidgetMetadata::label, yaze::gui::WidgetIdRegistry::WidgetBounds::max_x, yaze::gui::WidgetIdRegistry::WidgetBounds::max_y, yaze::gui::WidgetIdRegistry::WidgetBounds::min_x, yaze::gui::WidgetIdRegistry::WidgetBounds::min_y, yaze::gui::WidgetIdRegistry::NormalizeLabel(), yaze::gui::WidgetIdRegistry::RegisterWidget(), yaze::gui::WidgetIdRegistry::WidgetBounds::valid, yaze::gui::WidgetIdRegistry::WidgetMetadata::visible, and yaze::gui::WidgetIdRegistry::WidgetMetadata::window_name.
Referenced by AutoBeginMenu(), AutoBeginTabItem(), AutoButton(), AutoCheckbox(), AutoCollapsingHeader(), AutoCombo(), AutoInputFloat(), AutoInputInt(), AutoInputText(), AutoInputTextMultiline(), AutoMenuItem(), AutoMenuItem(), AutoRadioButton(), AutoRadioButton(), AutoSelectable(), AutoSelectable(), AutoSliderFloat(), AutoSliderInt(), AutoSmallButton(), AutoTreeNode(), AutoTreeNodeEx(), RegisterCanvas(), and RegisterTable().

|
inline |
Definition at line 79 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 85 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 91 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 97 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 103 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 109 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 119 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 131 of file widget_auto_register.h.
References AutoRegisterLastItem().
Referenced by yaze::gui::DungeonObjectEmulatorPreview::RenderControls().

|
inline |
Definition at line 138 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 146 of file widget_auto_register.h.
References AutoRegisterLastItem().
Referenced by yaze::gui::DungeonObjectEmulatorPreview::RenderControls().

|
inline |
Definition at line 154 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 162 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 171 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 179 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 187 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 194 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 201 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 209 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 218 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 226 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Definition at line 234 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Register a canvas widget after BeginChild or similar.
Canvases typically use BeginChild which doesn't have a return value, so we provide a separate registration helper.
| canvas_name | Name of the canvas (should match BeginChild name) |
| description | Optional description of the canvas purpose |
Definition at line 256 of file widget_auto_register.h.
References AutoRegisterLastItem().

|
inline |
Register a table after BeginTable.
| table_name | Name of the table (should match BeginTable name) |
| description | Optional description |
Definition at line 267 of file widget_auto_register.h.
References AutoRegisterLastItem().

| void yaze::gui::BeginCanvas | ( | Canvas & | canvas, |
| ImVec2 | child_size ) |
Definition at line 1568 of file canvas.cc.
References BeginPadding(), yaze::gui::Canvas::canvas_id(), yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawContextMenu(), EndPadding(), yaze::gui::Canvas::GetCurrentSize(), yaze::gui::Canvas::GetPreferredSize(), and yaze::gui::Canvas::IsAutoResize().
Referenced by yaze::editor::DungeonRoomGraphicsPanel::Draw(), yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), yaze::editor::ScreenEditor::DrawDungeonMapsRoomGfx(), yaze::editor::MessageEditor::DrawFontAtlas(), yaze::editor::ScreenEditor::DrawInventoryMenuEditor(), yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), yaze::editor::LinkSpritePanel::DrawPreviewCanvas(), yaze::editor::OverworldEditor::DrawScratchSpace(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), yaze::editor::ObjectEditorPanel::DrawStaticObjectEditor(), yaze::editor::OverworldCanvasRenderer::DrawTile8Selector(), yaze::editor::Tile16Editor::UpdateBlockset(), and yaze::editor::Tile16Editor::UpdateTile16Edit().
| void yaze::gui::EndCanvas | ( | Canvas & | canvas | ) |
Definition at line 1591 of file canvas.cc.
References yaze::gui::Canvas::DrawGrid(), and yaze::gui::Canvas::DrawOverlay().
Referenced by yaze::editor::DungeonRoomGraphicsPanel::Draw(), yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), yaze::editor::ScreenEditor::DrawDungeonMapsRoomGfx(), yaze::editor::MessageEditor::DrawFontAtlas(), yaze::editor::ScreenEditor::DrawInventoryMenuEditor(), yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), yaze::editor::LinkSpritePanel::DrawPreviewCanvas(), yaze::editor::OverworldEditor::DrawScratchSpace(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), yaze::editor::ObjectEditorPanel::DrawStaticObjectEditor(), yaze::editor::OverworldCanvasRenderer::DrawTile8Selector(), yaze::editor::Tile16Editor::UpdateBlockset(), and yaze::editor::Tile16Editor::UpdateTile16Edit().

| CanvasRuntime yaze::gui::BeginCanvas | ( | gui::Canvas & | canvas, |
| const CanvasFrameOptions & | options ) |
Definition at line 1597 of file canvas.cc.
References BeginPadding(), yaze::gui::Canvas::canvas_id(), yaze::gui::CanvasRuntime::canvas_p0, yaze::gui::CanvasFrameOptions::canvas_size, yaze::gui::Canvas::canvas_size(), yaze::gui::CanvasRuntime::canvas_sz, yaze::gui::CanvasRuntime::content_size, yaze::gui::CanvasFrameOptions::draw_context_menu, yaze::gui::CanvasRuntime::draw_list, yaze::gui::Canvas::draw_list(), yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawContextMenu(), EndPadding(), yaze::gui::Canvas::GetCurrentSize(), yaze::gui::Canvas::GetGlobalScale(), yaze::gui::Canvas::GetGridStep(), yaze::gui::Canvas::GetPreferredSize(), yaze::gui::CanvasRuntime::grid_step, yaze::gui::CanvasFrameOptions::grid_step, yaze::gui::CanvasRuntime::hovered, yaze::gui::Canvas::IsAutoResize(), yaze::gui::Canvas::IsMouseHovering(), yaze::gui::CanvasRuntime::scale, yaze::gui::CanvasRuntime::scrolling, yaze::gui::Canvas::scrolling(), yaze::gui::Canvas::SetCustomGridStep(), yaze::gui::CanvasFrameOptions::show_scrollbar, yaze::gui::CanvasFrameOptions::use_child_window, and yaze::gui::Canvas::zero_point().
| void yaze::gui::EndCanvas | ( | gui::Canvas & | canvas, |
| CanvasRuntime & | , | ||
| const CanvasFrameOptions & | options ) |
Definition at line 1647 of file canvas.cc.
References yaze::gui::CanvasFrameOptions::draw_grid, yaze::gui::CanvasFrameOptions::draw_overlay, yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::Canvas::GetGridStep(), yaze::gui::CanvasFrameOptions::grid_step, yaze::gui::CanvasFrameOptions::render_popups, yaze::gui::Canvas::RenderPersistentPopups(), and yaze::gui::CanvasFrameOptions::use_child_window.

| ZoomToFitResult yaze::gui::ComputeZoomToFit | ( | ImVec2 | content_px, |
| ImVec2 | canvas_px, | ||
| float | padding_px ) |
Definition at line 1668 of file canvas.cc.
References yaze::gui::ZoomToFitResult::scale, and yaze::gui::ZoomToFitResult::scroll.
| ImVec2 yaze::gui::ClampScroll | ( | ImVec2 | scroll, |
| ImVec2 | content_px, | ||
| ImVec2 | canvas_px ) |
| void yaze::gui::GraphicsBinCanvasPipeline | ( | int | width, |
| int | height, | ||
| int | tile_size, | ||
| int | num_sheets_to_load, | ||
| int | canvas_id, | ||
| bool | is_loaded, | ||
| gfx::BitmapTable & | graphics_bin ) |
Definition at line 1714 of file canvas.cc.
References yaze::gui::Canvas::draw_list(), yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::Canvas::DrawTileSelector(), yaze::gui::Canvas::RenderPersistentPopups(), and yaze::gui::Canvas::zero_point().
| void yaze::gui::BitmapCanvasPipeline | ( | gui::Canvas & | canvas, |
| gfx::Bitmap & | bitmap, | ||
| int | width, | ||
| int | height, | ||
| int | tile_size, | ||
| bool | is_loaded, | ||
| bool | scrollbar, | ||
| int | canvas_id ) |
Definition at line 1751 of file canvas.cc.
References yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::Canvas::DrawTileSelector(), and yaze::gui::Canvas::RenderPersistentPopups().
Referenced by yaze::editor::GraphicsEditor::DrawPrototypeViewer().
| void yaze::gui::TableCanvasPipeline | ( | gui::Canvas & | canvas, |
| gfx::Bitmap & | bitmap, | ||
| const std::string & | label, | ||
| bool | auto_resize ) |
Definition at line 1779 of file canvas.cc.
References yaze::gui::Canvas::BeginTableCanvas(), yaze::gui::CanvasUtils::CalculatePreferredCanvasSize(), yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::Canvas::EndTableCanvas(), yaze::gui::Canvas::GetGlobalScale(), yaze::gfx::Bitmap::height(), yaze::gfx::Bitmap::is_active(), yaze::gui::Canvas::RenderPersistentPopups(), yaze::gui::Canvas::SetAutoResize(), yaze::gui::Canvas::SetCanvasSize(), and yaze::gfx::Bitmap::width().
| void yaze::gui::DrawBitmap | ( | const CanvasRuntime & | rt, |
| gfx::Bitmap & | bitmap, | ||
| int | border_offset, | ||
| float | scale ) |
Definition at line 2169 of file canvas.cc.
References yaze::gui::CanvasRuntime::draw_list, and RenderBitmapOnCanvas().
Referenced by DrawBitmap(), DrawBitmapPreview(), yaze::editor::ScreenEditor::DrawDungeonMapsRoomGfx(), yaze::editor::ScreenEditor::DrawInventoryMenuEditor(), yaze::editor::LinkSpritePanel::DrawPreviewCanvas(), and RenderPreviewPanel().

| void yaze::gui::DrawBitmap | ( | const CanvasRuntime & | rt, |
| gfx::Bitmap & | bitmap, | ||
| int | x_offset, | ||
| int | y_offset, | ||
| float | scale, | ||
| int | alpha ) |
Definition at line 2176 of file canvas.cc.
References yaze::gui::CanvasRuntime::draw_list, and RenderBitmapOnCanvas().

| void yaze::gui::DrawBitmap | ( | const CanvasRuntime & | rt, |
| gfx::Bitmap & | bitmap, | ||
| ImVec2 | dest_pos, | ||
| ImVec2 | dest_size, | ||
| ImVec2 | src_pos, | ||
| ImVec2 | src_size ) |
Definition at line 2184 of file canvas.cc.
References yaze::gui::CanvasRuntime::draw_list, and RenderBitmapOnCanvas().

| void yaze::gui::DrawBitmap | ( | const CanvasRuntime & | rt, |
| gfx::Bitmap & | bitmap, | ||
| const BitmapDrawOpts & | opts ) |
Definition at line 2192 of file canvas.cc.
References yaze::gui::BitmapDrawOpts::alpha, yaze::gfx::Arena::CREATE, yaze::gui::BitmapDrawOpts::dest_pos, yaze::gui::BitmapDrawOpts::dest_size, yaze::gui::CanvasRuntime::draw_list, DrawBitmap(), yaze::gui::BitmapDrawOpts::ensure_texture, yaze::gfx::Arena::Get(), yaze::gfx::Bitmap::height(), yaze::gfx::Arena::QueueTextureCommand(), yaze::gui::BitmapDrawOpts::scale, yaze::gui::BitmapDrawOpts::src_pos, yaze::gui::BitmapDrawOpts::src_size, yaze::gfx::Bitmap::surface(), yaze::gfx::Bitmap::texture(), and yaze::gfx::Bitmap::width().
| void yaze::gui::DrawBitmapPreview | ( | const CanvasRuntime & | rt, |
| gfx::Bitmap & | bitmap, | ||
| const BitmapPreviewOptions & | options ) |
Definition at line 2217 of file canvas.cc.
References yaze::gui::BitmapPreviewOptions::alpha, yaze::gfx::Arena::CREATE, yaze::gui::BitmapPreviewOptions::dest_pos, yaze::gui::BitmapPreviewOptions::dest_size, DrawBitmap(), yaze::gui::BitmapPreviewOptions::ensure_texture, yaze::gfx::Arena::Get(), yaze::gfx::Bitmap::height(), yaze::gfx::Arena::QueueTextureCommand(), yaze::gui::BitmapPreviewOptions::scale, yaze::gui::BitmapPreviewOptions::src_pos, yaze::gui::BitmapPreviewOptions::src_size, yaze::gfx::Bitmap::surface(), yaze::gfx::Bitmap::texture(), and yaze::gfx::Bitmap::width().
Referenced by yaze::editor::SheetBrowserPanel::DrawSheetThumbnail().
| bool yaze::gui::RenderPreviewPanel | ( | const CanvasRuntime & | rt, |
| gfx::Bitmap & | bmp, | ||
| const PreviewPanelOpts & | opts ) |
Definition at line 2238 of file canvas.cc.
References yaze::gfx::Arena::CREATE, yaze::gui::PreviewPanelOpts::dest_pos, yaze::gui::PreviewPanelOpts::dest_size, yaze::gui::CanvasRuntime::draw_list, DrawBitmap(), yaze::gui::PreviewPanelOpts::ensure_texture, yaze::gfx::Arena::Get(), yaze::gfx::Bitmap::height(), yaze::gfx::Arena::QueueTextureCommand(), yaze::gfx::Bitmap::surface(), yaze::gfx::Bitmap::texture(), and yaze::gfx::Bitmap::width().
Referenced by yaze::editor::ObjectEditorPanel::DrawStaticObjectEditor().
| void yaze::gui::DrawRect | ( | const CanvasRuntime & | rt, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h, | ||
| ImVec4 | color ) |
Definition at line 2264 of file canvas.cc.
References yaze::gui::CanvasRuntime::canvas_p0, yaze::gui::CanvasRuntime::draw_list, yaze::gui::CanvasUtils::DrawCanvasRect(), yaze::gui::CanvasRuntime::scale, and yaze::gui::CanvasRuntime::scrolling.
Referenced by yaze::editor::OverworldEntityRenderer::DrawEntrances(), yaze::editor::OverworldEntityRenderer::DrawExits(), yaze::editor::OverworldEntityRenderer::DrawItems(), yaze::editor::DungeonCanvasViewer::DrawMaskHighlights(), yaze::editor::DungeonCanvasViewer::DrawObjectPositionOutlines(), yaze::editor::OverworldEntityRenderer::DrawSprites(), yaze::editor::DungeonCanvasViewer::RenderPotItems(), and yaze::editor::DungeonCanvasViewer::RenderSprites().

| void yaze::gui::DrawText | ( | const CanvasRuntime & | rt, |
| const std::string & | text, | ||
| int | x, | ||
| int | y ) |
Definition at line 2271 of file canvas.cc.
References yaze::gui::CanvasRuntime::canvas_p0, yaze::gui::CanvasRuntime::draw_list, yaze::gui::CanvasUtils::DrawCanvasText(), yaze::gui::CanvasRuntime::scale, and yaze::gui::CanvasRuntime::scrolling.
Referenced by yaze::editor::DungeonCanvasViewer::DisplayObjectInfo(), yaze::editor::OverworldEntityRenderer::DrawEntrances(), yaze::editor::OverworldEntityRenderer::DrawExits(), yaze::editor::OverworldEntityRenderer::DrawItems(), yaze::editor::DungeonCanvasViewer::DrawObjectPositionOutlines(), yaze::editor::OverworldEntityRenderer::DrawSprites(), yaze::editor::DungeonCanvasViewer::RenderPotItems(), and yaze::editor::DungeonCanvasViewer::RenderSprites().

| void yaze::gui::DrawOutline | ( | const CanvasRuntime & | rt, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h, | ||
| ImU32 | color ) |
Definition at line 2277 of file canvas.cc.
References yaze::gui::CanvasRuntime::canvas_p0, yaze::gui::CanvasRuntime::draw_list, yaze::gui::CanvasUtils::DrawCanvasOutline(), and yaze::gui::CanvasRuntime::scrolling.

| bool yaze::gui::DrawTilemapPainter | ( | const CanvasRuntime & | rt, |
| gfx::Tilemap & | tilemap, | ||
| int | current_tile, | ||
| ImVec2 * | out_drawn_pos ) |
Definition at line 2295 of file canvas.cc.
References yaze::gfx::Tilemap::atlas, yaze::gui::CanvasRuntime::canvas_p0, yaze::gui::CanvasRuntime::draw_list, yaze::gfx::Bitmap::height(), yaze::gui::CanvasRuntime::hovered, yaze::gfx::Bitmap::is_active(), yaze::gui::CanvasRuntime::scale, yaze::gui::CanvasRuntime::scrolling, yaze::gfx::Bitmap::texture(), yaze::gfx::Tilemap::tile_size, yaze::gfx::Bitmap::width(), yaze::gfx::Pair::x, and yaze::gfx::Pair::y.
Referenced by yaze::gui::Canvas::DrawTilemapPainter().

| bool yaze::gui::DrawTileSelector | ( | const CanvasRuntime & | rt, |
| int | size, | ||
| int | size_y, | ||
| ImVec2 * | out_selected_pos ) |
Definition at line 2354 of file canvas.cc.
References yaze::gui::CanvasRuntime::canvas_p0, yaze::gui::CanvasRuntime::hovered, and yaze::gui::CanvasRuntime::scrolling.
Referenced by yaze::editor::ScreenEditor::DrawDungeonMapsRoomGfx(), and yaze::gui::Canvas::DrawTileSelector().
| void yaze::gui::DrawSelectRect | ( | const CanvasRuntime & | rt, |
| int | current_map, | ||
| int | tile_size, | ||
| float | scale, | ||
| CanvasSelection & | selection ) |
Definition at line 2378 of file canvas.cc.
References yaze::gui::CanvasRuntime::canvas_p0, yaze::gui::CanvasRuntime::draw_list, yaze::gui::CanvasRuntime::hovered, yaze::gui::CanvasRuntime::scrolling, yaze::gui::CanvasSelection::select_rect_active, yaze::gui::CanvasSelection::selected_points, yaze::gui::CanvasSelection::selected_tile_pos, and yaze::gui::CanvasSelection::selected_tiles.
Referenced by yaze::gui::Canvas::DrawSelectRect().
| void yaze::gui::GraphicsBinCanvasPipeline | ( | int | width, |
| int | height, | ||
| int | tile_size, | ||
| int | num_sheets_to_load, | ||
| int | canvas_id, | ||
| bool | is_loaded, | ||
| BitmapTable & | graphics_bin ) |
| TileHit yaze::gui::TileIndexAt | ( | const ImVec2 & | local_pos, |
| float | grid_step, | ||
| float | scale, | ||
| const ImVec2 & | canvas_px ) |
| void yaze::gui::DrawTileOutline | ( | const CanvasRuntime & | rt, |
| const ImVec2 & | tile_pos_px, | ||
| const ImVec2 & | tile_size_px, | ||
| ImU32 | color ) |
| void yaze::gui::DrawTileHighlight | ( | const CanvasRuntime & | rt, |
| const ImVec2 & | tile_pos_px, | ||
| const ImVec2 & | tile_size_px, | ||
| ImU32 | color ) |
| void yaze::gui::DrawTileLabel | ( | const CanvasRuntime & | rt, |
| const ImVec2 & | tile_pos_px, | ||
| const char * | text, | ||
| ImU32 | color ) |
| bool yaze::gui::DrawBitmap | ( | gui::Canvas & | canvas, |
| CanvasRuntime & | rt, | ||
| gfx::Bitmap & | bmp, | ||
| const BitmapDrawOpts & | opts ) |
| bool yaze::gui::DrawTilemapRegion | ( | gui::Canvas & | canvas, |
| CanvasRuntime & | rt, | ||
| gfx::Tilemap & | tilemap, | ||
| absl::Span< const int > | tile_ids, | ||
| int | tile_size, | ||
| float | scale, | ||
| ImVec2 | clamp_px ) |
| bool yaze::gui::RenderSelectorPanel | ( | gui::Canvas & | canvas, |
| gfx::Bitmap & | bmp, | ||
| const SelectorPanelOpts & | opts, | ||
| TileHit * | out_hit ) |
| bool yaze::gui::RenderPreviewPanel | ( | gui::Canvas & | canvas, |
| gfx::Bitmap & | bmp, | ||
| const PreviewPanelOpts & | opts ) |
| void yaze::gui::RegisterDefaultCanvasMenu | ( | CanvasMenuActionHost & | host, |
| const CanvasRuntime & | rt, | ||
| CanvasConfig & | cfg ) |
Referenced by MakeMenuHostWithDefaults().
| void yaze::gui::RenderContextMenu | ( | CanvasMenuActionHost & | host, |
| const CanvasRuntime & | rt, | ||
| CanvasConfig & | cfg ) |
| CanvasGeometry yaze::gui::CalculateCanvasGeometry | ( | const CanvasConfig & | config, |
| ImVec2 | requested_size, | ||
| ImVec2 | cursor_screen_pos, | ||
| ImVec2 | content_region_avail ) |
Calculate canvas geometry from configuration and ImGui context.
Extracts the geometry calculation logic from Canvas::DrawBackground(). Computes screen-space positions, sizes, and scroll offsets for a canvas based on its configuration and the current ImGui layout state.
| config | Canvas configuration (size, scale, custom size flag) |
| requested_size | Explicitly requested canvas size (0,0 = use config) |
| cursor_screen_pos | Current ImGui cursor position (from GetCursorScreenPos) |
| content_region_avail | Available content region (from GetContentRegionAvail) |
Definition at line 10 of file canvas_geometry.cc.
References yaze::gui::CanvasUtils::CalculateCanvasSize(), yaze::gui::CanvasUtils::CalculateScaledCanvasSize(), yaze::gui::CanvasGeometry::canvas_p0, yaze::gui::CanvasGeometry::canvas_p1, yaze::gui::CanvasConfig::canvas_size, yaze::gui::CanvasGeometry::canvas_sz, yaze::gui::CanvasConfig::custom_canvas_size, yaze::gui::CanvasConfig::global_scale, yaze::gui::CanvasGeometry::scaled_size, yaze::gui::CanvasGeometry::scrolling, and yaze::gui::CanvasConfig::scrolling.
Referenced by yaze::gui::Canvas::DrawBackground().

| ImVec2 yaze::gui::CalculateMouseInCanvas | ( | const CanvasGeometry & | geometry, |
| ImVec2 | mouse_screen_pos ) |
Calculate mouse position in canvas space.
Converts screen-space mouse coordinates to canvas-space coordinates, accounting for canvas position and scroll offset. This is the correct coordinate system for tile/entity placement calculations.
| geometry | Canvas geometry (must be current frame) |
| mouse_screen_pos | Mouse position in screen space |
Definition at line 52 of file canvas_geometry.cc.
References GetCanvasOrigin().
Referenced by yaze::gui::Canvas::DrawBackground().

| bool yaze::gui::IsPointInCanvasBounds | ( | const CanvasGeometry & | geometry, |
| ImVec2 | point ) |
Check if a point is within canvas bounds.
Tests whether a screen-space point lies within the canvas rectangle. Useful for hit testing and hover detection.
| geometry | Canvas geometry (must be current frame) |
| point | Point in screen space to test |
Definition at line 61 of file canvas_geometry.cc.
References yaze::gui::CanvasGeometry::canvas_p0, and yaze::gui::CanvasGeometry::canvas_p1.
| void yaze::gui::ApplyScrollDelta | ( | CanvasGeometry & | geometry, |
| ImVec2 | delta ) |
Apply scroll delta to geometry.
Updates the scroll offset in the geometry. Used for pan operations.
| geometry | Canvas geometry to update |
| delta | Scroll delta (typically ImGui::GetIO().MouseDelta) |
Definition at line 66 of file canvas_geometry.cc.
References yaze::gui::CanvasGeometry::scrolling.
Referenced by yaze::gui::Canvas::DrawBackground().
| ImVec2 yaze::gui::ComputeScrollForZoomAtScreenPos | ( | const CanvasGeometry & | geometry, |
| float | old_scale, | ||
| float | new_scale, | ||
| ImVec2 | mouse_screen_pos ) |
Compute new scroll offset to keep a canvas point locked under the mouse.
Given a zoom change, compute the scroll offset required to keep the canvas coordinate currently under the mouse cursor in the same screen position.
This is used for touch pinch zoom (and Ctrl+wheel zoom) to avoid "jumping" the content towards the origin when the scale changes.
| geometry | Current frame canvas geometry |
| old_scale | Previous scale value (must be > 0) |
| new_scale | Desired new scale value (must be > 0) |
| mouse_screen_pos | Mouse position in screen space |
Definition at line 71 of file canvas_geometry.cc.
References yaze::gui::CanvasGeometry::canvas_p0, GetCanvasOrigin(), and yaze::gui::CanvasGeometry::scrolling.
Referenced by yaze::gui::Canvas::DrawBackground().

|
inline |
Get origin point (canvas top-left + scroll offset)
Computes the "locked scrolled origin" used throughout canvas rendering. This is the reference point for all canvas-space to screen-space conversions.
| geometry | Canvas geometry |
Definition at line 95 of file canvas_geometry.h.
References yaze::gui::CanvasGeometry::canvas_p0, and yaze::gui::CanvasGeometry::scrolling.
Referenced by CalculateMouseInCanvas(), and ComputeScrollForZoomAtScreenPos().
|
inline |
Definition at line 9 of file canvas_helpers.h.
References yaze::gui::CanvasFrameOptions::canvas_size, yaze::gui::CanvasFrameOptions::draw_context_menu, yaze::gui::CanvasFrameOptions::draw_grid, yaze::gui::CanvasFrameOptions::draw_overlay, yaze::gui::CanvasFrameOptions::grid_step, and yaze::gui::CanvasFrameOptions::render_popups.
|
inline |
|
inline |
Definition at line 40 of file canvas_helpers.h.
References yaze::gui::PreviewPanelOpts::canvas_size, yaze::gui::PreviewPanelOpts::ensure_texture, yaze::gui::PreviewPanelOpts::grid_step, and yaze::gui::PreviewPanelOpts::render_popups.
|
inline |
Definition at line 51 of file canvas_helpers.h.
References RegisterDefaultCanvasMenu().

| ImVec2 yaze::gui::AlignToGrid | ( | ImVec2 | pos, |
| float | grid_step ) |
Align position to grid.
Snaps canvas position to nearest grid cell.
| pos | Canvas position |
| grid_step | Grid cell size |
Definition at line 30 of file canvas_interaction.cc.
Referenced by yaze::gui::CanvasInteractionHandler::DrawSolidTilePainter(), yaze::gui::CanvasInteractionHandler::DrawTilemapPainter(), HandleHover(), HandleRectangleSelection(), HandleTilemapPaint(), HandleTilePaint(), HandleTilePaintWithPreview(), and HandleTileSelection().
| ImVec2 yaze::gui::GetMouseInCanvasSpace | ( | const CanvasGeometry & | geometry | ) |
Get mouse position in canvas space.
Converts screen-space mouse position to canvas-space coordinates.
| geometry | Canvas geometry (includes origin) |
Definition at line 35 of file canvas_interaction.cc.
References yaze::gui::CanvasGeometry::canvas_p0, and yaze::gui::CanvasGeometry::scrolling.
Referenced by HandleHover(), HandleRectangleSelection(), HandleTilemapPaint(), HandleTilePaint(), HandleTilePaintWithPreview(), and HandleTileSelection().
| bool yaze::gui::IsMouseInCanvas | ( | const CanvasGeometry & | geometry | ) |
Check if mouse is in canvas bounds.
| geometry | Canvas geometry |
Definition at line 42 of file canvas_interaction.cc.
References yaze::gui::CanvasGeometry::canvas_p0, and yaze::gui::CanvasGeometry::canvas_p1.
Referenced by HandleEntityInteraction(), HandleHover(), HandleRectangleSelection(), HandleTilemapPaint(), HandleTilePaint(), HandleTilePaintWithPreview(), and HandleTileSelection().
| ImVec2 yaze::gui::CanvasToTileGrid | ( | ImVec2 | canvas_pos, |
| float | tile_size, | ||
| float | global_scale ) |
Calculate tile grid indices from canvas position.
| canvas_pos | Canvas-space position |
| tile_size | Logical tile size |
| global_scale | Canvas scale factor |
Definition at line 50 of file canvas_interaction.cc.
| RectSelectionEvent yaze::gui::HandleRectangleSelection | ( | const CanvasGeometry & | geometry, |
| int | current_map, | ||
| float | tile_size, | ||
| ImDrawList * | draw_list, | ||
| ImGuiMouseButton | mouse_button = ImGuiMouseButton_Right ) |
Handle rectangle selection interaction.
Processes right-click drag to select multiple tiles in a rectangular region. Returns event when selection completes.
| geometry | Canvas geometry (position, size, scale) |
| current_map | Current map ID for coordinate calculation |
| tile_size | Logical tile size (before scaling) |
| draw_list | ImGui draw list for preview rendering |
| mouse_button | Mouse button for selection (default: right) |
Definition at line 61 of file canvas_interaction.cc.
References AlignToGrid(), yaze::gui::CanvasGeometry::canvas_p0, yaze::gui::CanvasGeometry::canvas_sz, yaze::gui::RectSelectionEvent::current_map, yaze::gui::anonymous_namespace{canvas_interaction.cc}::SelectRectState::drag_start_pos, GetMouseInCanvasSpace(), yaze::gui::anonymous_namespace{canvas_interaction.cc}::SelectRectState::is_dragging, IsMouseInCanvas(), and yaze::gui::CanvasGeometry::scaled_size.
Referenced by yaze::gui::CanvasInteractionHandler::DrawSelectRect().

| TileSelectionEvent yaze::gui::HandleTileSelection | ( | const CanvasGeometry & | geometry, |
| int | current_map, | ||
| float | tile_size, | ||
| ImGuiMouseButton | mouse_button = ImGuiMouseButton_Right ) |
Handle single tile selection (right-click)
Processes single right-click to select one tile.
| geometry | Canvas geometry |
| current_map | Current map ID |
| tile_size | Logical tile size |
| mouse_button | Mouse button for selection |
Definition at line 180 of file canvas_interaction.cc.
References AlignToGrid(), yaze::gui::CanvasGeometry::canvas_sz, GetMouseInCanvasSpace(), IsMouseInCanvas(), and yaze::gui::CanvasGeometry::scaled_size.

| TilePaintEvent yaze::gui::HandleTilePaint | ( | const CanvasGeometry & | geometry, |
| int | tile_id, | ||
| float | tile_size, | ||
| ImGuiMouseButton | mouse_button = ImGuiMouseButton_Left ) |
Handle tile painting interaction.
Processes left-click/drag to paint tiles on tilemap. Returns event when paint action occurs.
| geometry | Canvas geometry |
| tile_id | Current tile ID to paint |
| tile_size | Logical tile size |
| mouse_button | Mouse button for painting |
Definition at line 229 of file canvas_interaction.cc.
References AlignToGrid(), yaze::gui::CanvasGeometry::canvas_sz, GetMouseInCanvasSpace(), IsMouseInCanvas(), yaze::gui::CanvasGeometry::scaled_size, and yaze::gui::TilePaintEvent::tile_id.

| TilePaintEvent yaze::gui::HandleTilePaintWithPreview | ( | const CanvasGeometry & | geometry, |
| const gfx::Bitmap & | bitmap, | ||
| float | tile_size, | ||
| ImDrawList * | draw_list, | ||
| ImGuiMouseButton | mouse_button = ImGuiMouseButton_Left ) |
Handle tile painter with bitmap preview.
Renders preview of tile at hover position and handles paint interaction.
| geometry | Canvas geometry |
| bitmap | Tile bitmap to paint |
| tile_size | Logical tile size |
| draw_list | ImGui draw list for preview |
| mouse_button | Mouse button for painting |
Definition at line 258 of file canvas_interaction.cc.
References AlignToGrid(), yaze::gui::CanvasGeometry::canvas_p0, yaze::gui::CanvasGeometry::canvas_sz, GetMouseInCanvasSpace(), yaze::gfx::Bitmap::is_active(), IsMouseInCanvas(), yaze::gui::CanvasGeometry::scaled_size, yaze::gui::CanvasGeometry::scrolling, and yaze::gfx::Bitmap::texture().
| TilePaintEvent yaze::gui::HandleTilemapPaint | ( | const CanvasGeometry & | geometry, |
| const gfx::Tilemap & | tilemap, | ||
| int | current_tile, | ||
| ImDrawList * | draw_list, | ||
| ImGuiMouseButton | mouse_button = ImGuiMouseButton_Left ) |
Handle tilemap painting interaction.
Processes painting with tilemap data (multiple tiles).
| geometry | Canvas geometry |
| tilemap | Tilemap containing tile data |
| current_tile | Current tile index in tilemap |
| draw_list | ImGui draw list for preview |
| mouse_button | Mouse button for painting |
Definition at line 301 of file canvas_interaction.cc.
References AlignToGrid(), yaze::gfx::Tilemap::atlas, yaze::gui::CanvasGeometry::canvas_p0, yaze::gui::CanvasGeometry::canvas_sz, GetMouseInCanvasSpace(), yaze::gfx::Bitmap::is_active(), IsMouseInCanvas(), yaze::gui::CanvasGeometry::scaled_size, yaze::gui::CanvasGeometry::scrolling, and yaze::gui::TilePaintEvent::tile_id.

| HoverEvent yaze::gui::HandleHover | ( | const CanvasGeometry & | geometry, |
| float | tile_size ) |
Update hover state for canvas.
Calculates hover position and grid-aligned preview position.
| geometry | Canvas geometry |
| tile_size | Logical tile size |
Definition at line 341 of file canvas_interaction.cc.
References AlignToGrid(), yaze::gui::CanvasGeometry::canvas_sz, GetMouseInCanvasSpace(), IsMouseInCanvas(), and yaze::gui::CanvasGeometry::scaled_size.

| void yaze::gui::RenderHoverPreview | ( | const CanvasGeometry & | geometry, |
| const HoverEvent & | hover, | ||
| float | tile_size, | ||
| ImDrawList * | draw_list, | ||
| ImU32 | color = IM_COL32(255, 255, 255, 80) ) |
Render hover preview overlay.
Draws preview rectangle at hover position.
| geometry | Canvas geometry |
| hover | Hover event from HandleHover |
| tile_size | Logical tile size |
| draw_list | ImGui draw list |
| color | Preview color (default: white with alpha) |
Definition at line 359 of file canvas_interaction.cc.
References yaze::gui::CanvasGeometry::canvas_p0, yaze::gui::CanvasGeometry::canvas_sz, yaze::gui::HoverEvent::grid_position, yaze::gui::HoverEvent::is_valid, yaze::gui::CanvasGeometry::scaled_size, and yaze::gui::CanvasGeometry::scrolling.
| EntityInteractionEvent yaze::gui::HandleEntityInteraction | ( | const CanvasGeometry & | geometry, |
| int | entity_id, | ||
| ImVec2 | entity_position ) |
Handle entity interaction (hover, click, drag)
Processes entity manipulation events.
| geometry | Canvas geometry |
| entity_id | Entity being interacted with |
| entity_position | Current entity position |
Definition at line 382 of file canvas_interaction.cc.
References yaze::gui::EntityInteractionEvent::entity_id, and IsMouseInCanvas().

| void yaze::gui::RenderMenuItem | ( | const CanvasMenuItem & | item, |
| std::function< void(const std::string &, std::function< void()>)> | popup_opened_callback = nullptr ) |
Render a single menu item.
Handles visibility, enabled state, subitems, and popup linkage.
| item | Menu item to render |
| popup_opened_callback | Optional callback invoked when popup is opened |
Definition at line 6 of file canvas_menu.cc.
References yaze::gui::CanvasMenuItem::callback, yaze::gui::CanvasMenuItem::color, yaze::gui::CanvasMenuItem::enabled_condition, yaze::gui::CanvasMenuItem::icon, yaze::gui::CanvasMenuItem::label, yaze::gui::CanvasMenuItem::popup, RenderMenuItem(), yaze::gui::CanvasMenuItem::separator_after, yaze::gui::CanvasMenuItem::shortcut, yaze::gui::CanvasMenuItem::subitems, and yaze::gui::CanvasMenuItem::visible_condition.
Referenced by yaze::gui::Canvas::DrawContextMenuItem(), yaze::gui::CanvasContextMenu::RenderMenuItem(), RenderMenuItem(), and RenderMenuSection().

| void yaze::gui::RenderMenuSection | ( | const CanvasMenuSection & | section, |
| std::function< void(const std::string &, std::function< void()>)> | popup_opened_callback = nullptr ) |
Render a menu section.
Renders section title (if present), all items, and separator.
| section | Menu section to render |
| popup_opened_callback | Optional callback invoked when popup is opened |
Definition at line 78 of file canvas_menu.cc.
References yaze::gui::CanvasMenuSection::items, RenderMenuItem(), yaze::gui::CanvasMenuSection::separator_after, yaze::gui::CanvasMenuSection::title, and yaze::gui::CanvasMenuSection::title_color.
Referenced by RenderCanvasMenu().

| void yaze::gui::RenderCanvasMenu | ( | const CanvasMenuDefinition & | menu, |
| std::function< void(const std::string &, std::function< void()>)> | popup_opened_callback = nullptr ) |
Render a complete menu definition.
Renders all sections in order. Does not handle ImGui::BeginPopup/EndPopup - caller is responsible for popup context.
| menu | Menu definition to render |
| popup_opened_callback | Optional callback invoked when popup is opened |
Definition at line 104 of file canvas_menu.cc.
References yaze::gui::CanvasMenuDefinition::enabled, RenderMenuSection(), and yaze::gui::CanvasMenuDefinition::sections.
Referenced by yaze::gui::CanvasContextMenu::Render().

| void yaze::gui::RenderCanvasBackground | ( | ImDrawList * | draw_list, |
| const CanvasGeometry & | geometry ) |
Render canvas background and border.
Draws the canvas background rectangle (dark) and border (white) at the calculated geometry positions. Extracted from Canvas::DrawBackground().
Definition at line 12 of file canvas_rendering.cc.
References yaze::gui::CanvasGeometry::canvas_p0, yaze::gui::CanvasGeometry::canvas_p1, ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), yaze::gui::ThemeManager::GetCurrentTheme(), and yaze::gui::CanvasGeometry::scrolling.
Referenced by yaze::gui::Canvas::DrawBackground().

| void yaze::gui::RenderCanvasGrid | ( | ImDrawList * | draw_list, |
| const CanvasGeometry & | geometry, | ||
| const CanvasConfig & | config, | ||
| int | highlight_tile_id = -1 ) |
Render canvas grid with optional highlighting.
Draws grid lines, hex labels, and optional tile highlighting. Extracted from Canvas::DrawGrid().
| draw_list | ImGui draw list for rendering |
| geometry | Canvas geometry |
| config | Canvas configuration (grid settings) |
| highlight_tile_id | Tile ID to highlight (-1 = no highlight) |
Definition at line 38 of file canvas_rendering.cc.
References yaze::gui::CanvasGeometry::canvas_p0, yaze::gui::CanvasGeometry::canvas_p1, yaze::gui::CanvasUtils::CanvasRenderContext::draw_list, yaze::gui::CanvasUtils::DrawCanvasGrid(), yaze::gui::CanvasConfig::enable_grid, yaze::gui::CanvasConfig::enable_hex_labels, yaze::gui::CanvasConfig::global_scale, yaze::gui::CanvasConfig::grid_step, and yaze::gui::CanvasGeometry::scrolling.

| void yaze::gui::RenderCanvasOverlay | ( | ImDrawList * | draw_list, |
| const CanvasGeometry & | geometry, | ||
| const CanvasConfig & | config, | ||
| const ImVector< ImVec2 > & | points, | ||
| const ImVector< ImVec2 > & | selected_points ) |
Render canvas overlay (hover and selection points)
Draws hover preview points and selection rectangle points. Extracted from Canvas::DrawOverlay().
| draw_list | ImGui draw list for rendering |
| geometry | Canvas geometry |
| config | Canvas configuration (scale) |
| points | Hover preview points |
| selected_points | Selection rectangle points |
Definition at line 60 of file canvas_rendering.cc.
References yaze::gui::CanvasGeometry::canvas_p0, yaze::gui::CanvasGeometry::canvas_p1, yaze::gui::CanvasUtils::CanvasRenderContext::draw_list, yaze::gui::CanvasUtils::DrawCanvasOverlay(), yaze::gui::CanvasConfig::enable_grid, yaze::gui::CanvasConfig::enable_hex_labels, yaze::gui::CanvasConfig::global_scale, yaze::gui::CanvasConfig::grid_step, and yaze::gui::CanvasGeometry::scrolling.

| void yaze::gui::RenderCanvasLabels | ( | ImDrawList * | draw_list, |
| const CanvasGeometry & | geometry, | ||
| const CanvasConfig & | config, | ||
| const ImVector< ImVector< std::string > > & | labels, | ||
| int | current_labels, | ||
| int | tile_id_offset ) |
Render canvas labels on grid.
Draws custom text labels on canvas tiles. Extracted from Canvas::DrawInfoGrid().
| draw_list | ImGui draw list for rendering |
| geometry | Canvas geometry |
| config | Canvas configuration |
| labels | Label arrays (one per label set) |
| current_labels | Active label set index |
| tile_id_offset | Tile ID offset for calculation |
Definition at line 80 of file canvas_rendering.cc.
References yaze::gui::CanvasGeometry::canvas_p0, yaze::gui::CanvasGeometry::canvas_p1, yaze::gui::CanvasUtils::CanvasRenderContext::draw_list, yaze::gui::CanvasUtils::DrawCanvasLabels(), yaze::gui::CanvasConfig::enable_custom_labels, yaze::gui::CanvasConfig::enable_grid, yaze::gui::CanvasConfig::enable_hex_labels, yaze::gui::CanvasConfig::global_scale, yaze::gui::CanvasConfig::grid_step, and yaze::gui::CanvasGeometry::scrolling.

| void yaze::gui::RenderBitmapOnCanvas | ( | ImDrawList * | draw_list, |
| const CanvasGeometry & | geometry, | ||
| gfx::Bitmap & | bitmap, | ||
| int | border_offset, | ||
| float | scale ) |
Render bitmap on canvas (border offset variant)
Draws a bitmap with a border offset from canvas origin. Extracted from Canvas::DrawBitmap().
| draw_list | ImGui draw list |
| geometry | Canvas geometry |
| bitmap | Bitmap to render |
| border_offset | Offset from canvas edges |
| scale | Rendering scale |
Definition at line 108 of file canvas_rendering.cc.
References yaze::gui::CanvasGeometry::canvas_p0, yaze::gfx::Bitmap::height(), yaze::gfx::Bitmap::is_active(), yaze::gfx::Bitmap::texture(), and yaze::gfx::Bitmap::width().
Referenced by yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawBitmap(), DrawBitmap(), DrawBitmap(), and DrawBitmap().

| void yaze::gui::RenderBitmapOnCanvas | ( | ImDrawList * | draw_list, |
| const CanvasGeometry & | geometry, | ||
| gfx::Bitmap & | bitmap, | ||
| int | x_offset, | ||
| int | y_offset, | ||
| float | scale, | ||
| int | alpha ) |
Render bitmap on canvas (x/y offset variant)
Draws a bitmap at specified x/y offset with optional alpha. Extracted from Canvas::DrawBitmap().
| draw_list | ImGui draw list |
| geometry | Canvas geometry |
| bitmap | Bitmap to render |
| x_offset | X offset from canvas origin |
| y_offset | Y offset from canvas origin |
| scale | Rendering scale |
| alpha | Alpha transparency (0-255) |
Definition at line 125 of file canvas_rendering.cc.
References yaze::gui::CanvasGeometry::canvas_p0, yaze::gfx::Bitmap::height(), yaze::gfx::Bitmap::is_active(), yaze::gui::CanvasGeometry::scrolling, yaze::gfx::Bitmap::texture(), and yaze::gfx::Bitmap::width().

| void yaze::gui::RenderBitmapOnCanvas | ( | ImDrawList * | draw_list, |
| const CanvasGeometry & | geometry, | ||
| gfx::Bitmap & | bitmap, | ||
| ImVec2 | dest_pos, | ||
| ImVec2 | dest_size, | ||
| ImVec2 | src_pos, | ||
| ImVec2 | src_size ) |
Render bitmap on canvas (custom source/dest regions)
Draws a bitmap with explicit source and destination rectangles. Extracted from Canvas::DrawBitmap().
| draw_list | ImGui draw list |
| geometry | Canvas geometry |
| bitmap | Bitmap to render |
| dest_pos | Destination position (canvas-relative) |
| dest_size | Destination size |
| src_pos | Source position in bitmap |
| src_size | Source size in bitmap |
Definition at line 151 of file canvas_rendering.cc.
References yaze::gui::CanvasGeometry::canvas_p0, yaze::gfx::Bitmap::height(), yaze::gfx::Bitmap::is_active(), yaze::gfx::Bitmap::texture(), and yaze::gfx::Bitmap::width().

| void yaze::gui::RenderBitmapGroup | ( | ImDrawList * | draw_list, |
| const CanvasGeometry & | geometry, | ||
| std::vector< int > & | group, | ||
| gfx::Tilemap & | tilemap, | ||
| int | tile_size, | ||
| float | scale, | ||
| int | local_map_size, | ||
| ImVec2 | total_map_size ) |
Render group of bitmaps from tilemap.
Draws multiple tiles for multi-tile selection preview. Extracted from Canvas::DrawBitmapGroup().
| draw_list | ImGui draw list |
| geometry | Canvas geometry |
| group | Vector of tile IDs to draw |
| tilemap | Tilemap containing the tiles |
| tile_size | Size of each tile |
| scale | Rendering scale |
| local_map_size | Size of local map in pixels (default 512) |
| total_map_size | Total map size for boundary clamping |
Definition at line 170 of file canvas_rendering.cc.
References yaze::gfx::Tilemap::atlas, yaze::gui::CanvasGeometry::canvas_p0, yaze::gfx::Bitmap::height(), yaze::gfx::Bitmap::is_active(), yaze::gfx::Tilemap::map_size, yaze::gui::CanvasGeometry::scrolling, yaze::gfx::Bitmap::texture(), yaze::gfx::Tilemap::tile_size, yaze::gfx::Bitmap::width(), yaze::gfx::Pair::x, and yaze::gfx::Pair::y.

| TileHitInfo yaze::gui::ScreenToTileQuick | ( | const CanvasRuntime & | runtime, |
| float | screen_x, | ||
| float | screen_y, | ||
| float | tile_size ) |
Quick screen-to-tile lookup using canvas runtime state.
Definition at line 214 of file coordinate_mapper.cc.
References yaze::gui::CanvasRuntime::canvas_p0, yaze::gui::CanvasRuntime::canvas_sz, yaze::gui::TileHitInfo::is_valid, yaze::gui::TileHitInfo::map_x, yaze::gui::TileHitInfo::map_y, yaze::gui::CanvasRuntime::scale, yaze::gui::CanvasRuntime::scrolling, yaze::gui::TileHitInfo::tile_id, yaze::gui::TileHitInfo::tile_origin_px, and yaze::gui::TileHitInfo::tile_size_px.
| int yaze::gui::CalculateTileIndex | ( | float | local_x, |
| float | local_y, | ||
| float | tile_size, | ||
| int | tiles_per_row ) |
Calculate tile index from local position and grid settings.
Definition at line 262 of file coordinate_mapper.cc.
| ImVec4 yaze::gui::GetTileBounds | ( | int | tile_x, |
| int | tile_y, | ||
| float | tile_size, | ||
| float | scale ) |
Get tile bounds in canvas space.
Definition at line 278 of file coordinate_mapper.cc.
| ImVec4 yaze::gui::ConvertSnesColorToImVec4 | ( | const gfx::SnesColor & | color | ) |
Convert SnesColor to standard ImVec4 for display.
IMPORTANT: SnesColor.rgb() returns 0-255 values in ImVec4 (unconventional!) This function converts them to standard ImGui format (0.0-1.0)
| color | SnesColor with internal 0-255 storage |
Definition at line 22 of file color.cc.
References yaze::gfx::SnesColor::rgb().
Referenced by DisplayEditablePalette(), yaze::editor::PaletteGroupPanel::DrawColorPicker(), yaze::gui::PaletteEditorWidget::DrawColorPicker(), yaze::editor::MapPropertiesSystem::DrawCustomBackgroundColorEditor(), yaze::editor::PaletteEditor::DrawCustomPalette(), yaze::editor::PaletteEditor::DrawCustomPalettePanel(), yaze::editor::palette_utility::DrawInlineColorEdit(), yaze::editor::PaletteEditor::DrawPaletteGroup(), yaze::editor::palette_utility::DrawPalettePreview(), yaze::editor::PaletteEditor::DrawQuickAccessPanel(), yaze::editor::PaletteEditor::DrawQuickAccessTab(), InlinePaletteEditor(), PaletteColorButton(), PaletteColorButton(), PopupPaletteEditor(), SnesColorButton(), and SnesColorEdit4().

| gfx::SnesColor yaze::gui::ConvertImVec4ToSnesColor | ( | const ImVec4 & | color | ) |
Convert standard ImVec4 to SnesColor.
| color | ImVec4 with standard 0.0-1.0 RGBA values |
Definition at line 35 of file color.cc.
Referenced by DisplayEditablePalette(), yaze::editor::PaletteGroupPanel::DrawColorPicker(), yaze::editor::MapPropertiesSystem::DrawCustomBackgroundColorEditor(), yaze::editor::palette_utility::DrawInlineColorEdit(), yaze::editor::PaletteEditor::EditColorInPalette(), and yaze::editor::PaletteEditor::ResetColorToOriginal().
| IMGUI_API bool yaze::gui::SnesColorButton | ( | absl::string_view | id, |
| gfx::SnesColor & | color, | ||
| ImGuiColorEditFlags | flags, | ||
| const ImVec2 & | size_arg ) |
Definition at line 40 of file color.cc.
References ConvertSnesColorToImVec4(), and yaze::gfx::SnesColor::snes().
Referenced by DisplayEditablePalette(), yaze::editor::anonymous_namespace{gfx_group_editor.cc}::DrawPaletteFromPaletteGroup(), yaze::editor::PalettesetEditorPanel::DrawPaletteGrid(), InlinePaletteEditor(), InlinePaletteSelector(), PopupPaletteEditor(), and SelectablePalettePipeline().

| IMGUI_API bool yaze::gui::SnesColorEdit4 | ( | absl::string_view | label, |
| gfx::SnesColor * | color, | ||
| ImGuiColorEditFlags | flags ) |
Definition at line 57 of file color.cc.
References ConvertSnesColorToImVec4(), and yaze::gfx::SnesColor::set_rgb().
Referenced by yaze::gui::PaletteEditorWidget::DrawColorPicker(), yaze::editor::PaletteEditor::DrawCustomPalette(), yaze::editor::PaletteEditor::DrawCustomPalettePanel(), yaze::editor::PaletteEditor::DrawQuickAccessPanel(), yaze::editor::PaletteEditor::DrawQuickAccessTab(), and yaze::editor::PaletteEditor::HandleColorPopup().

| IMGUI_API bool yaze::gui::InlinePaletteSelector | ( | gfx::SnesPalette & | palette, |
| int | num_colors = 8, | ||
| int * | selected_index = nullptr ) |
Small inline palette selector - just color buttons for selection.
| palette | Palette to display |
| num_colors | Number of colors to show (default 8) |
| selected_index | Pointer to store selected color index (optional) |
Definition at line 81 of file color.cc.
References yaze::gfx::SnesPalette::size(), and SnesColorButton().

| IMGUI_API absl::Status yaze::gui::InlinePaletteEditor | ( | gfx::SnesPalette & | palette, |
| const std::string & | title = "", | ||
| ImGuiColorEditFlags | flags = 0 ) |
Full inline palette editor with color picker and copy options.
| palette | Palette to edit |
| title | Display title |
| flags | ImGui color edit flags |
Definition at line 121 of file color.cc.
References ConvertSnesColorToImVec4(), yaze::gfx::SnesPalette::size(), SnesColorButton(), and yaze::gfx::SnesPalette::UpdateColor().
Referenced by yaze::editor::ScreenEditor::DrawOverworldMapEditor().

| IMGUI_API bool yaze::gui::PopupPaletteEditor | ( | const char * | popup_id, |
| gfx::SnesPalette & | palette, | ||
| ImGuiColorEditFlags | flags = 0 ) |
Popup palette editor - same as inline but in a popup.
| popup_id | ID for the popup window |
| palette | Palette to edit |
| flags | ImGui color edit flags |
Definition at line 187 of file color.cc.
References ConvertSnesColorToImVec4(), yaze::gfx::SnesPalette::size(), SnesColorButton(), and yaze::gfx::SnesPalette::UpdateColor().

| IMGUI_API bool yaze::gui::DisplayPalette | ( | gfx::SnesPalette & | palette, |
| bool | loaded ) |
Definition at line 238 of file color.cc.
References yaze::gfx::SnesPalette::size().
Referenced by yaze::editor::MessageEditor::DrawCurrentMessage(), and yaze::editor::ScreenEditor::DrawInventoryMenuEditor().

| void yaze::gui::SelectablePalettePipeline | ( | uint64_t & | palette_id, |
| bool & | refresh_graphics, | ||
| gfx::SnesPalette & | palette ) |
Definition at line 312 of file color.cc.
References yaze::gfx::SnesPalette::size(), and SnesColorButton().
Referenced by yaze::editor::GraphicsEditor::DrawPaletteControls().

| IMGUI_API absl::Status yaze::gui::DisplayEditablePalette | ( | gfx::SnesPalette & | palette, |
| const std::string & | title, | ||
| bool | show_color_picker, | ||
| int | colors_per_row, | ||
| ImGuiColorEditFlags | flags ) |
Definition at line 355 of file color.cc.
References ConvertImVec4ToSnesColor(), ConvertSnesColorToImVec4(), yaze::gfx::SnesPalette::size(), SnesColorButton(), and yaze::gfx::SnesPalette::UpdateColor().
Referenced by yaze::gui::CanvasContextMenu::RenderPaletteOperationsMenu().
| IMGUI_API bool yaze::gui::PaletteColorButton | ( | const char * | id, |
| const gfx::SnesColor & | color, | ||
| bool | is_selected, | ||
| bool | is_modified, | ||
| const ImVec2 & | size, | ||
| ImGuiColorEditFlags | flags ) |
Definition at line 452 of file color.cc.
References ConvertSnesColorToImVec4(), yaze::gfx::SnesColor::rgb(), and yaze::gfx::SnesColor::snes().
Referenced by yaze::editor::OverworldMainPalettePanel::DrawPaletteGrid(), yaze::editor::OverworldAnimatedPalettePanel::DrawPaletteGrid(), yaze::editor::DungeonMainPalettePanel::DrawPaletteGrid(), yaze::editor::SpritePalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux1PalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux2PalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux3PalettePanel::DrawPaletteGrid(), and yaze::editor::EquipmentPalettePanel::DrawPaletteGrid().

|
inline |
Definition at line 134 of file color.h.
References yaze::gui::Color::alpha, yaze::gui::Color::blue, yaze::gui::Color::green, and yaze::gui::Color::red.
Referenced by yaze::gui::Theme::ApplyToImGui(), yaze::gui::LayoutHelpers::BeginCanvasPanel(), yaze::gui::LayoutHelpers::BeginTableWithTheming(), BeginThemedTabBar(), yaze::gui::LayoutHelpers::BeginToolbar(), yaze::gui::BackgroundRenderer::BlendColorWithFade(), BouncyButton(), yaze::gui::plotting::anonymous_namespace{implot_support.cc}::BuildBaseStyle(), DangerButton(), yaze::editor::DashboardPanel::Draw(), yaze::editor::ToastManager::Draw(), yaze::editor::DungeonStatusBar::Draw(), yaze::editor::RomLoadOptionsDialog::DrawActionButtons(), yaze::editor::ActivityBar::DrawActivityBarStrip(), yaze::editor::SettingsPanel::DrawAppearanceSettings(), DrawCanvasHUD(), yaze::gui::KeyboardShortcuts::DrawCategorySection(), yaze::editor::music::PianoRollView::DrawChannelList(), yaze::editor::UICoordinator::DrawCommandPalette(), yaze::editor::DungeonCanvasViewer::DrawCompactLayerToggles(), DrawDisplaySettings(), DrawDisplaySettingsForPopup(), yaze::gui::FlagsMenu::DrawDungeonFlags(), yaze::editor::EditorSelectionDialog::DrawEditorPanel(), yaze::editor::DashboardPanel::DrawEditorPanel(), yaze::editor::UICoordinator::DrawMenuBarExtras(), yaze::editor::UICoordinator::DrawNotificationBell(), yaze::editor::RightPanelManager::DrawNotificationsPanel(), yaze::gui::KeyboardShortcuts::DrawOverlayContent(), yaze::gui::FlagsMenu::DrawOverworldFlags(), yaze::editor::ProjectManagementPanel::DrawProjectOverview(), yaze::editor::EditorSelectionDialog::DrawQuickAccessButtons(), yaze::editor::ProjectManagementPanel::DrawQuickActions(), yaze::editor::DashboardPanel::DrawRecentEditors(), yaze::editor::PopupManager::DrawRomInfoPopup(), yaze::editor::ProjectManagementPanel::DrawRomManagement(), yaze::editor::StatusBar::DrawRomSegment(), yaze::editor::SessionCoordinator::DrawSessionIndicator(), yaze::gui::KeyboardShortcuts::DrawShortcutRow(), yaze::editor::ActivityBar::DrawSidePanel(), yaze::editor::ProjectManagementPanel::DrawStorageLocations(), yaze::editor::PopupManager::DrawSupportedFeaturesPopup(), yaze::editor::MusicEditor::DrawToolset(), yaze::editor::RomLoadOptionsDialog::DrawVersionInfo(), yaze::editor::DashboardPanel::DrawWelcomeHeader(), yaze::editor::EditorSelectionDialog::DrawWelcomeHeader(), yaze::editor::AgentUITheme::FromCurrentTheme(), GetAccentColor(), yaze::editor::music::anonymous_namespace{tracker_view.cc}::GetColorBeatHighlight(), yaze::editor::music::anonymous_namespace{tracker_view.cc}::GetColorCommand(), yaze::editor::music::anonymous_namespace{tracker_view.cc}::GetColorNote(), yaze::editor::music::anonymous_namespace{tracker_view.cc}::GetColorSelection(), yaze::editor::music::anonymous_namespace{tracker_view.cc}::GetColorSubroutine(), GetDangerButtonColors(), yaze::editor::anonymous_namespace{dashboard_panel.cc}::GetEditorAccentColor(), yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::GetEditorAccentColor(), GetErrorColor(), GetInfoColor(), GetModifiedColor(), GetOnPrimaryVec4(), GetOnSurfaceVariantVec4(), GetOnSurfaceVec4(), GetOutlineVec4(), yaze::editor::music::anonymous_namespace{piano_roll_view.cc}::GetPalette(), GetPrimaryActiveVec4(), GetPrimaryButtonColors(), GetPrimaryHoverVec4(), GetPrimaryVec4(), GetSelectedColor(), GetShadowVec4(), GetSuccessButtonColors(), GetSuccessColor(), GetSurfaceContainerHighestVec4(), GetSurfaceContainerHighVec4(), GetSurfaceContainerVec4(), GetSurfaceVariantVec4(), GetSurfaceVec4(), GetTextDisabledVec4(), GetTextSecondaryVec4(), GetWarningButtonColors(), GetWarningColor(), PaletteColorButton(), PanelHeader(), PrimaryButton(), yaze::emu::ui::RenderAIAgentPanel(), yaze::emu::ui::RenderApuDebugger(), yaze::emu::ui::RenderBreakpointList(), RenderCanvasBackground(), yaze::emu::ui::RenderCpuInstructionLog(), yaze::gui::BackgroundRenderer::RenderDockingBackground(), yaze::emu::ui::RenderEmulatorInterface(), yaze::emu::ui::RenderKeyboardShortcuts(), yaze::emu::ui::RenderMemoryViewer(), yaze::emu::ui::RenderModernCpuDebugger(), yaze::emu::ui::RenderNavBar(), yaze::emu::ui::RenderPerformanceMonitor(), RenderProviderBadge(), yaze::gui::BackgroundRenderer::RenderRadialGradient(), yaze::emu::ui::RenderSnesPpu(), yaze::emu::ui::RenderVirtualController(), ResolveSemanticColor(), RippleButton(), yaze::gui::LayoutHelpers::SectionHeader(), SectionHeader(), yaze::gui::ThemeManager::ShowSimpleThemeEditor(), yaze::gui::ThemeManager::ShowThemeSelector(), SuccessButton(), ThemedButton(), ThemedIconButton(), ThemedSeparator(), ThemedTooltip(), TransparentIconButton(), yaze::gui::AgentChatWidget::UpdateThemeColors(), yaze::editor::anonymous_namespace{welcome_screen.cc}::UpdateWelcomeAccentPalette(), and ValueChangeFlash().
|
inline |
Definition at line 138 of file color.h.
References yaze::gui::Color::alpha, yaze::gui::Color::blue, yaze::gui::Color::green, and yaze::gui::Color::red.
|
inline |
Begin a tile16 drag source. Call after rendering a tile widget. Returns true while dragging is active.
Definition at line 54 of file drag_drop.h.
References kDragPayloadTile16.
Referenced by yaze::gui::TileSelectorWidget::HandleInteraction().
|
inline |
Definition at line 65 of file drag_drop.h.
References kDragPayloadSprite.
|
inline |
Definition at line 76 of file drag_drop.h.
References kDragPayloadPalette.
|
inline |
Definition at line 88 of file drag_drop.h.
References kDragPayloadRoomObject.
|
inline |
Accept a tile16 drop. Returns true if a payload was accepted.
Definition at line 106 of file drag_drop.h.
References kDragPayloadTile16.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas().
|
inline |
Definition at line 119 of file drag_drop.h.
References kDragPayloadSprite.
|
inline |
Definition at line 132 of file drag_drop.h.
References kDragPayloadPalette.
|
inline |
Definition at line 145 of file drag_drop.h.
References kDragPayloadRoomObject.
| IMGUI_API bool yaze::gui::InputHex | ( | const char * | label, |
| uint64_t * | data ) |
Definition at line 325 of file input.cc.
References kStepFastHex, and kStepOneHex.
Referenced by yaze::editor::GraphicsEditor::DrawClipboardImport(), yaze::editor::DrawDiggableTilesEditorPopup(), yaze::editor::DrawEntranceInserterPopup(), yaze::editor::DrawExitEditorPopup(), yaze::editor::DrawExitInserterPopup(), yaze::editor::GraphicsEditor::DrawFileImport(), yaze::editor::DrawOverworldEntrancePopup(), yaze::editor::GraphicsEditor::DrawPaletteControls(), yaze::editor::DrawSpriteInserterPopup(), and yaze::editor::MemoryEditor::Update().
| IMGUI_API bool yaze::gui::InputHex | ( | const char * | label, |
| int * | data, | ||
| int | num_digits, | ||
| float | input_width ) |
Definition at line 331 of file input.cc.
References ImGui::InputScalarLeft(), kStepFastHex, and kStepOneHex.

| IMGUI_API bool yaze::gui::InputHexShort | ( | const char * | label, |
| uint32_t * | data ) |
Definition at line 338 of file input.cc.
References kStepFastHex, and kStepOneHex.
| IMGUI_API bool yaze::gui::InputHexWord | ( | const char * | label, |
| uint16_t * | data, | ||
| float | input_width, | ||
| bool | no_step ) |
Definition at line 344 of file input.cc.
References ImGui::InputScalarLeft(), kStepFastHex, and kStepOneHex.
Referenced by yaze::gui::Toolset::AddProperty(), yaze::editor::DungeonEntrancesPanel::Draw(), yaze::editor::MapPropertiesSystem::DrawBasicPropertiesTab(), yaze::editor::MapPropertiesSystem::DrawCustomFeaturesTab(), yaze::editor::ScreenEditor::DrawDungeonMapsTabs(), yaze::editor::DungeonRoomSelector::DrawEntranceSelector(), yaze::editor::DrawExitEditorPopup(), yaze::editor::MapPropertiesSystem::DrawOverlayControls(), yaze::editor::MapPropertiesSystem::DrawOverlayEditor(), yaze::editor::DrawOverworldEntrancePopup(), yaze::editor::DungeonRoomSelector::DrawRoomSelector(), yaze::editor::SpriteEditor::DrawSpriteCanvas(), and InputTileInfo().

| IMGUI_API bool yaze::gui::InputHexWord | ( | const char * | label, |
| int16_t * | data, | ||
| float | input_width, | ||
| bool | no_step ) |
Definition at line 357 of file input.cc.
References ImGui::InputScalarLeft(), kStepFastHex, and kStepOneHex.

| IMGUI_API bool yaze::gui::InputHexByte | ( | const char * | label, |
| uint8_t * | data, | ||
| float | input_width, | ||
| bool | no_step ) |
Definition at line 370 of file input.cc.
References ImGui::InputScalarLeft(), kStepFastHex, and kStepOneHex.
Referenced by yaze::gui::Toolset::AddProperty(), yaze::editor::DungeonEntrancesPanel::Draw(), yaze::editor::MapPropertiesSystem::DrawBasicPropertiesTab(), yaze::editor::GfxGroupEditor::DrawBlocksetViewer(), yaze::editor::SpriteEditor::DrawCurrentSheets(), yaze::editor::MapPropertiesSystem::DrawCustomFeaturesTab(), yaze::editor::ScreenEditor::DrawDungeonMapsTabs(), yaze::editor::DungeonRoomSelector::DrawEntranceSelector(), yaze::editor::MapPropertiesSystem::DrawGraphicsPopup(), yaze::editor::OverworldSidebar::DrawGraphicsSettings(), yaze::editor::MapPropertiesSystem::DrawMusicTab(), yaze::editor::OverworldSidebar::DrawMusicTab(), yaze::editor::DrawOverworldEntrancePopup(), yaze::editor::GfxGroupEditor::DrawPaletteControls(), yaze::editor::PalettesetEditorPanel::DrawPalettesetEditor(), yaze::editor::OverworldSidebar::DrawPaletteSettings(), yaze::editor::MapPropertiesSystem::DrawPalettesPopup(), yaze::editor::GfxGroupEditor::DrawRoomsetViewer(), yaze::editor::SpriteEditor::DrawSpriteCanvas(), yaze::editor::MapPropertiesSystem::DrawSpritePropertiesTab(), yaze::editor::OverworldSidebar::DrawSpritePropertiesTab(), yaze::editor::GfxGroupEditor::DrawSpritesetViewer(), yaze::editor::MessageEditor::DrawTextCommands(), yaze::editor::MapPropertiesSystem::DrawTileGraphicsTab(), InputTileInfo(), and yaze::editor::GfxGroupEditor::Update().

| IMGUI_API bool yaze::gui::InputHexByte | ( | const char * | label, |
| uint8_t * | data, | ||
| uint8_t | max_value, | ||
| float | input_width, | ||
| bool | no_step ) |
Definition at line 382 of file input.cc.
References ImGui::InputScalarLeft(), kStepFastHex, and kStepOneHex.

| IMGUI_API InputHexResult yaze::gui::InputHexByteEx | ( | const char * | label, |
| uint8_t * | data, | ||
| float | input_width, | ||
| bool | no_step ) |
Definition at line 397 of file input.cc.
References yaze::gui::InputHexResult::changed, yaze::gui::InputHexResult::immediate, ImGui::InputScalarLeftEx(), kStepFastHex, kStepOneHex, and yaze::gui::InputHexResult::text_committed.
Referenced by yaze::editor::DungeonWorkbenchPanel::DrawInspectorShelfRoom(), yaze::editor::DungeonWorkbenchPanel::DrawInspectorShelfSelection(), and yaze::editor::DungeonCanvasViewer::DrawRoomPropertyTable().

| IMGUI_API InputHexResult yaze::gui::InputHexByteEx | ( | const char * | label, |
| uint8_t * | data, | ||
| uint8_t | max_value, | ||
| float | input_width, | ||
| bool | no_step ) |
Definition at line 411 of file input.cc.
References yaze::gui::InputHexResult::changed, yaze::gui::InputHexResult::immediate, ImGui::InputScalarLeftEx(), kStepFastHex, kStepOneHex, and yaze::gui::InputHexResult::text_committed.

| IMGUI_API InputHexResult yaze::gui::InputHexWordEx | ( | const char * | label, |
| uint16_t * | data, | ||
| float | input_width, | ||
| bool | no_step ) |
Definition at line 429 of file input.cc.
References yaze::gui::InputHexResult::changed, yaze::gui::InputHexResult::immediate, ImGui::InputScalarLeftEx(), kStepFastHex, kStepOneHex, and yaze::gui::InputHexResult::text_committed.
Referenced by yaze::editor::DungeonWorkbenchToolbar::Draw(), and yaze::editor::DungeonWorkbenchPanel::DrawInspectorShelfSelection().

| IMGUI_API void yaze::gui::Paragraph | ( | const std::string & | text | ) |
| IMGUI_API bool yaze::gui::ClickableText | ( | const std::string & | text | ) |
| IMGUI_API void yaze::gui::ItemLabel | ( | absl::string_view | title, |
| ItemLabelFlags | flags ) |
| IMGUI_API bool yaze::gui::ListBox | ( | const char * | label, |
| int * | current_item, | ||
| const std::vector< std::string > & | items, | ||
| int | height_in_items ) |
| bool yaze::gui::InputTileInfo | ( | const char * | label, |
| gfx::TileInfo * | tile_info ) |
Definition at line 559 of file input.cc.
References yaze::gfx::TileInfo::horizontal_mirror_, yaze::gfx::TileInfo::id_, InputHexByte(), InputHexWord(), yaze::gfx::TileInfo::over_, yaze::gfx::TileInfo::palette_, and yaze::gfx::TileInfo::vertical_mirror_.
Referenced by yaze::editor::ScreenEditor::DrawDungeonMapsRoomGfx().

| IMGUI_API ImGuiID yaze::gui::GetID | ( | const std::string & | id | ) |
Definition at line 573 of file input.cc.
Referenced by yaze::editor::SpriteEditor::DrawCurrentSheets(), yaze::editor::SpriteEditor::DrawSpriteCanvas(), yaze::editor::SpriteEditor::DrawSpritesList(), and yaze::editor::SpriteEditor::DrawZSpriteOnCanvas().
| ImGuiKey yaze::gui::MapKeyToImGuiKey | ( | char | key | ) |
Definition at line 577 of file input.cc.
Referenced by yaze::editor::CommandManager::HandleWhichKeyInput(), and yaze::editor::ParseShortcut().
| void yaze::gui::AddTableColumn | ( | Table & | table, |
| const std::string & | label, | ||
| GuiElement | element ) |
Definition at line 640 of file input.cc.
References yaze::gui::Table::column_contents, and yaze::gui::Table::column_labels.
Referenced by yaze::editor::Tile16Editor::Initialize().
| void yaze::gui::DrawTable | ( | Table & | params | ) |
Definition at line 646 of file input.cc.
References yaze::gui::Table::column_contents, yaze::gui::Table::column_labels, yaze::gui::Table::flags, yaze::gui::Table::id, yaze::gui::Table::num_columns, and yaze::gui::Table::size.
| IMGUI_API bool yaze::gui::OpenUrl | ( | const std::string & | url | ) |
Definition at line 667 of file input.cc.
Referenced by yaze::editor::RightPanelManager::DrawQuickActionButtons().
| void yaze::gui::MemoryEditorPopup | ( | const std::string & | label, |
| std::span< uint8_t > | memory ) |
Definition at line 689 of file input.cc.
References yaze::gui::MemoryEditorWidget::DrawContents().
Referenced by yaze::editor::MessageEditor::DrawCurrentMessage().

| IMGUI_API bool yaze::gui::InputHexByteCustom | ( | const char * | label, |
| uint8_t * | data, | ||
| float | input_width ) |
| IMGUI_API bool yaze::gui::InputHexWordCustom | ( | const char * | label, |
| uint16_t * | data, | ||
| float | input_width ) |
Definition at line 726 of file input.cc.
Referenced by yaze::editor::MinecartTrackEditorPanel::Draw(), yaze::editor::OverworldSidebar::DrawConfiguration(), and yaze::editor::MapPropertiesSystem::DrawPropertiesPopup().
| IMGUI_API bool yaze::gui::SliderFloatWheel | ( | const char * | label, |
| float * | v, | ||
| float | v_min, | ||
| float | v_max, | ||
| const char * | format, | ||
| float | wheel_step, | ||
| ImGuiSliderFlags | flags ) |
Definition at line 749 of file input.cc.
Referenced by yaze::editor::MusicEditor::DrawSongTrackerWindow(), yaze::editor::music::PianoRollView::DrawToolbar(), yaze::editor::MusicEditor::DrawToolset(), and yaze::editor::MusicPlaybackControlPanel::DrawToolset().
| IMGUI_API bool yaze::gui::SliderIntWheel | ( | const char * | label, |
| int * | v, | ||
| int | v_min, | ||
| int | v_max, | ||
| const char * | format, | ||
| int | wheel_step, | ||
| ImGuiSliderFlags | flags ) |
Definition at line 765 of file input.cc.
Referenced by yaze::editor::MusicEditor::DrawToolset(), and yaze::editor::MusicPlaybackControlPanel::DrawToolset().
| Platform yaze::gui::GetCurrentPlatform | ( | ) |
Get the current platform at runtime.
For native builds, this is determined at compile time. For WASM builds, this queries navigator.platform on first call.
Definition at line 44 of file platform_keys.cc.
Referenced by IsMacPlatform().
| bool yaze::gui::IsMacPlatform | ( | ) |
Check if running on macOS (native or web)
Definition at line 49 of file platform_keys.cc.
References GetCurrentPlatform(), kMacOS, and kWebMac.
Referenced by FormatShortcut(), GetAltDisplayName(), GetCtrlDisplayName(), yaze::editor::anonymous_namespace{shortcut_manager.cc}::ModsSatisfied(), and yaze::editor::ParseShortcut().

| const char * yaze::gui::GetCtrlDisplayName | ( | ) |
Get the display name for the primary modifier key.
Definition at line 54 of file platform_keys.cc.
References IsMacPlatform().
Referenced by yaze::editor::DashboardPanel::DashboardPanel(), yaze::editor::RightPanelManager::DrawEditorSpecificShortcuts(), yaze::editor::RightPanelManager::DrawGlobalShortcuts(), yaze::editor::EditorSelectionDialog::EditorSelectionDialog(), FormatShortcut(), and yaze::gui::Shortcut::GetDisplayString().

| const char * yaze::gui::GetAltDisplayName | ( | ) |
Get the display name for the secondary modifier key.
Definition at line 58 of file platform_keys.cc.
References IsMacPlatform().
Referenced by FormatShortcut(), and yaze::gui::Shortcut::GetDisplayString().

| const char * yaze::gui::GetKeyName | ( | ImGuiKey | key | ) |
Get the ImGui key name as a string.
| key | The ImGuiKey value |
Definition at line 60 of file platform_keys.cc.
Referenced by FormatShortcut(), and yaze::gui::Shortcut::GetDisplayString().
| std::string yaze::gui::FormatShortcut | ( | const std::vector< ImGuiKey > & | keys | ) |
Format a list of ImGui keys into a human-readable shortcut string.
Handles platform-specific modifier naming:
| keys | Vector of ImGuiKey values (modifiers and key) |
Definition at line 225 of file platform_keys.cc.
References GetAltDisplayName(), GetCtrlDisplayName(), GetKeyName(), and IsMacPlatform().
Referenced by FormatCtrlShiftShortcut(), FormatCtrlShortcut(), and yaze::editor::PrintShortcut().

| std::string yaze::gui::FormatCtrlShortcut | ( | ImGuiKey | key | ) |
Convenience function for Ctrl+key shortcuts.
| key | The main key (e.g., ImGuiKey_S) |
Definition at line 295 of file platform_keys.cc.
References FormatShortcut().

| std::string yaze::gui::FormatCtrlShiftShortcut | ( | ImGuiKey | key | ) |
Convenience function for Ctrl+Shift+key shortcuts.
| key | The main key (e.g., ImGuiKey_P) |
Definition at line 299 of file platform_keys.cc.
References FormatShortcut().

|
inline |
Generate session-aware popup IDs to prevent conflicts in multi-editor layouts.
ImGui popup IDs must be unique across the entire application. When multiple editors are docked together, they may have popups with the same name (e.g., "Entrance Editor" in both OverworldEditor and entity.cc). This utility generates unique IDs using the pattern: "s{session_id}.{editor}::{popup}"
Example: "s0.Overworld::Entrance Editor"
Definition at line 23 of file popup_id.h.
Referenced by yaze::editor::DisplayPalette(), yaze::editor::PaletteEditor::DrawControlPanel(), yaze::editor::PaletteEditor::DrawCustomPalette(), yaze::editor::PaletteEditor::DrawCustomPalettePanel(), yaze::editor::DrawDiggableTilesEditorPopup(), yaze::editor::DrawExitEditorPopup(), yaze::editor::MapPropertiesSystem::DrawGraphicsPopup(), yaze::editor::DrawItemEditorPopup(), yaze::editor::MapPropertiesSystem::DrawOverlayControls(), yaze::editor::DrawOverworldEntrancePopup(), yaze::editor::MapPropertiesSystem::DrawPalettesPopup(), yaze::editor::MapPropertiesSystem::DrawPropertiesPopup(), yaze::editor::MapPropertiesSystem::DrawQuickAccessPopup(), yaze::editor::DrawSpriteEditorPopup(), yaze::editor::MapPropertiesSystem::DrawViewPopup(), yaze::editor::PaletteEditor::HandleColorPopup(), yaze::editor::OverworldEntityInteraction::HandleContextMenus(), yaze::editor::OverworldEditor::HandleEntityContextMenus(), and yaze::editor::OverworldEditor::ProcessPendingEntityInsertion().
|
inline |
Shorthand for editors without explicit session tracking.
Uses session ID 0 by default. Prefer the session-aware overload when the editor has access to its session context.
Definition at line 34 of file popup_id.h.
|
inline |
Generate popup ID with instance pointer for guaranteed uniqueness.
When you need absolute uniqueness even within the same editor type, append the instance pointer. This is useful for reusable components.
Definition at line 45 of file popup_id.h.
Referenced by yaze::gui::PaletteEditorWidget::DrawPaletteGrid().
|
inline |
Simple fuzzy match - returns true if all chars in pattern appear in str in order.
| pattern | Search pattern (e.g., "owm" for "Overworld Main") |
| str | String to search in |
Examples:
Definition at line 23 of file search.h.
Referenced by AnyPassesFilter(), FuzzyScore(), PassesFilter(), and yaze::editor::PaletteEditor::PassesSearchFilter().
|
inline |
Score a fuzzy match (higher = better, 0 = no match)
| pattern | Search pattern |
| str | String to search in |
Scoring:
Definition at line 50 of file search.h.
References FuzzyMatch().

|
inline |
Check if a string matches a search filter.
| filter | The search filter (can be empty for "show all") |
| str | The string to check |
Definition at line 76 of file search.h.
References FuzzyMatch().

|
inline |
Check if any of multiple strings match a search filter.
| filter | The search filter |
| strings | Vector of strings to check |
Definition at line 87 of file search.h.
References FuzzyMatch().

| void yaze::gui::ColorsYaze | ( | ) |
| void yaze::gui::DrawBitmapViewer | ( | const std::vector< gfx::Bitmap > & | bitmaps, |
| float | scale, | ||
| int & | current_bitmap_id ) |
Definition at line 132 of file style.cc.
References yaze::gfx::Bitmap::height(), yaze::gfx::Bitmap::texture(), and yaze::gfx::Bitmap::width().

| TextEditor::LanguageDefinition yaze::gui::GetAssemblyLanguageDef | ( | ) |
Definition at line 193 of file style.cc.
References TextEditor::CharLiteral, TextEditor::Identifier, TextEditor::LanguageDefinition::mAutoIndentation, TextEditor::LanguageDefinition::mCaseSensitive, TextEditor::LanguageDefinition::mCommentEnd, TextEditor::LanguageDefinition::mCommentStart, TextEditor::Identifier::mDeclaration, TextEditor::LanguageDefinition::mIdentifiers, TextEditor::LanguageDefinition::mKeywords, TextEditor::LanguageDefinition::mName, TextEditor::LanguageDefinition::mSingleLineComment, TextEditor::LanguageDefinition::mTokenRegexStrings, TextEditor::Number, TextEditor::Preprocessor, TextEditor::Punctuation, and TextEditor::String.
Referenced by yaze::editor::AssemblyEditor::ChangeActiveFile(), and yaze::editor::AssemblyEditor::Initialize().
| void yaze::gui::BeginWindowWithDisplaySettings | ( | const char * | id, |
| bool * | active, | ||
| const ImVec2 & | size, | ||
| ImGuiWindowFlags | flags ) |
Definition at line 249 of file style.cc.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldProperties().
| void yaze::gui::EndWindowWithDisplaySettings | ( | ) |
Definition at line 269 of file style.cc.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldProperties().
| void yaze::gui::BeginPadding | ( | int | i | ) |
Definition at line 274 of file style.cc.
Referenced by yaze::gui::Canvas::Begin(), BeginCanvas(), BeginCanvas(), yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), yaze::editor::MessageEditor::DrawCurrentMessage(), yaze::editor::OverworldEditor::DrawScratchSpace(), yaze::editor::OverworldCanvasRenderer::DrawTile16Selector(), and yaze::editor::Tile16Editor::UpdateBlockset().
| void yaze::gui::EndPadding | ( | ) |
Definition at line 278 of file style.cc.
References EndNoPadding().
Referenced by yaze::gui::Canvas::Begin(), BeginCanvas(), BeginCanvas(), yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), yaze::editor::MessageEditor::DrawCurrentMessage(), yaze::editor::OverworldEditor::DrawScratchSpace(), yaze::editor::OverworldCanvasRenderer::DrawTile16Selector(), and yaze::editor::Tile16Editor::UpdateBlockset().

| void yaze::gui::BeginNoPadding | ( | ) |
Definition at line 282 of file style.cc.
Referenced by yaze::editor::MessageEditor::DrawMessageList(), and yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas().
| void yaze::gui::EndNoPadding | ( | ) |
Definition at line 286 of file style.cc.
Referenced by yaze::editor::MessageEditor::DrawMessageList(), yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), and EndPadding().
| void yaze::gui::BeginChildWithScrollbar | ( | const char * | str_id | ) |
Definition at line 290 of file style.cc.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), yaze::editor::OverworldEditor::DrawScratchSpace(), yaze::editor::OverworldCanvasRenderer::DrawTile16Selector(), and yaze::editor::Tile16Editor::UpdateBlockset().
| void yaze::gui::BeginChildWithScrollbar | ( | const char * | str_id, |
| ImVec2 | content_size ) |
| void yaze::gui::BeginChildBothScrollbars | ( | int | id | ) |
Definition at line 319 of file style.cc.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas().
| void yaze::gui::BeginTableCanvas | ( | const char * | table_id, |
| int | columns, | ||
| ImVec2 | canvas_size ) |
| void yaze::gui::SetupCanvasTableColumn | ( | const char * | label, |
| float | width_ratio ) |
| void yaze::gui::DrawDisplaySettings | ( | ImGuiStyle * | ref | ) |
Definition at line 372 of file style.cc.
References ColorsYaze(), ConvertColorToImVec4(), yaze::gui::BackgroundRenderer::Get(), yaze::gui::ThemeManager::Get(), and ICON_MD_PALETTE.

| void yaze::gui::DrawDisplaySettingsForPopup | ( | ImGuiStyle * | ref | ) |
Definition at line 867 of file style.cc.
References ColorsYaze(), ConvertColorToImVec4(), yaze::gui::BackgroundRenderer::Get(), yaze::gui::ThemeManager::Get(), and ICON_MD_PALETTE.
Referenced by yaze::editor::PopupManager::DrawDisplaySettingsPopup().

| void yaze::gui::TextWithSeparators | ( | const absl::string_view & | text | ) |
Definition at line 1315 of file style.cc.
Referenced by yaze::editor::PaletteControlsPanel::DrawApplyButtons(), yaze::editor::GraphicsEditor::DrawCgxImport(), yaze::editor::GraphicsEditor::DrawClipboardImport(), yaze::editor::PopupManager::DrawDisplaySettingsPopup(), yaze::editor::DrawExitEditorPopup(), yaze::editor::GraphicsEditor::DrawExperimentalFeatures(), yaze::editor::GraphicsEditor::DrawFileImport(), yaze::editor::GraphicsEditor::DrawObjImport(), yaze::editor::GraphicsEditor::DrawPaletteControls(), yaze::editor::PaletteControlsPanel::DrawPaletteDisplay(), yaze::editor::PaletteControlsPanel::DrawPaletteGroupSelector(), yaze::editor::PaletteControlsPanel::DrawPresets(), and yaze::editor::GraphicsEditor::DrawTilemapImport().
| void yaze::gui::DrawFontManager | ( | ) |
Definition at line 1321 of file style.cc.
References yaze::font_registry, and yaze::FontState::fonts.
Referenced by yaze::editor::SettingsPanel::DrawAppearanceSettings(), and yaze::editor::PopupManager::DrawDisplaySettingsPopup().
| Color yaze::gui::RGB | ( | float | r, |
| float | g, | ||
| float | b, | ||
| float | a = 1.0f ) |
Definition at line 26 of file theme_manager.cc.
| Color yaze::gui::RGBA | ( | int | r, |
| int | g, | ||
| int | b, | ||
| int | a = 255 ) |
Definition at line 30 of file theme_manager.cc.
Referenced by yaze::gui::ThemeManager::ApplyClassicYazeTheme(), yaze::gui::ThemeManager::ApplySmartDefaults(), yaze::gui::ThemeManager::CreateFallbackYazeClassic(), and yaze::gui::ThemeManager::ParseColorFromString().
|
inline |
Definition at line 390 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetThemeColor().
Referenced by yaze::gui::PanelWindow::Begin(), ColoredButton(), StatusBadge(), StatusIndicator(), and ToggleIconButton().

|
inline |
Definition at line 394 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetThemeColorVec4().

|
inline |
Definition at line 399 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetPrimary().
Referenced by GetPrimaryVec4().

|
inline |
Definition at line 402 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetPrimaryHover().
Referenced by GetPrimaryHoverVec4().

|
inline |
Definition at line 405 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetPrimaryActive().
Referenced by GetPrimaryActiveVec4().

|
inline |
Definition at line 408 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetSecondary().

|
inline |
Definition at line 411 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetSurface().
Referenced by GetSurfaceVec4().

|
inline |
Definition at line 414 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetSurfaceVariant().
Referenced by GetSurfaceVariantVec4().

|
inline |
Definition at line 417 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetSurfaceContainer().
Referenced by GetSurfaceContainerVec4().

|
inline |
Definition at line 420 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetSurfaceContainerHigh().
Referenced by GetSurfaceContainerHighVec4().

|
inline |
Definition at line 423 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetSurfaceContainerHighest().
Referenced by GetSurfaceContainerHighestVec4().

|
inline |
Definition at line 426 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetOnSurface().
Referenced by GetOnSurfaceVec4().

|
inline |
Definition at line 429 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetOnSurfaceVariant().
Referenced by GetOnSurfaceVariantVec4().

|
inline |
Definition at line 432 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetOnPrimary().
Referenced by GetOnPrimaryVec4().

|
inline |
Definition at line 435 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetOutline().
Referenced by GetOutlineVec4().

|
inline |
Definition at line 438 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetTextSecondary().
Referenced by GetTextSecondaryVec4().

|
inline |
Definition at line 441 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetTextDisabled().
Referenced by GetTextDisabledVec4().

|
inline |
Definition at line 444 of file theme_manager.h.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetShadow().
Referenced by GetShadowVec4().

|
inline |
Definition at line 449 of file theme_manager.h.
References ConvertColorToImVec4(), and GetPrimary().
Referenced by yaze::editor::RightPanelManager::DrawAboutSection(), yaze::editor::RightPanelManager::DrawAgentQuickActions(), yaze::editor::StatusBar::DrawAgentSegment(), yaze::editor::RightPanelManager::DrawEditorContextHeader(), yaze::editor::EditorManager::DrawMainMenuBar(), yaze::editor::UICoordinator::DrawMenuBarIconButton(), yaze::editor::UICoordinator::DrawMenuBarRestoreButton(), yaze::editor::UICoordinator::DrawNotificationBell(), yaze::editor::RightPanelManager::DrawNotificationsPanel(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::RightPanelManager::DrawPanelHeader(), yaze::editor::RightPanelManager::DrawPanelToggleButtons(), yaze::editor::ProjectManagementPanel::DrawProjectOverview(), yaze::editor::ProjectManagementPanel::DrawQuickActions(), yaze::editor::ProjectManagementPanel::DrawRomManagement(), yaze::editor::SelectionPropertiesPanel::DrawSelectionSummary(), yaze::editor::UICoordinator::DrawSessionButton(), yaze::editor::ActivityBar::DrawSidePanel(), yaze::editor::ProjectManagementPanel::DrawStorageLocations(), yaze::editor::PixelEditorPanel::DrawToolbar(), and yaze::editor::ProjectManagementPanel::DrawVersionControl().

|
inline |
Definition at line 452 of file theme_manager.h.
References ConvertColorToImVec4(), and GetPrimaryHover().

|
inline |
Definition at line 455 of file theme_manager.h.
References ConvertColorToImVec4(), and GetPrimaryActive().

|
inline |
Definition at line 458 of file theme_manager.h.
References ConvertColorToImVec4(), and GetSurface().
Referenced by yaze::editor::WelcomeScreen::DrawProjectPanel(), and yaze::editor::anonymous_namespace{welcome_screen.cc}::UpdateWelcomeAccentPalette().

|
inline |
Definition at line 461 of file theme_manager.h.
References ConvertColorToImVec4(), and GetSurfaceVariant().
Referenced by yaze::editor::WelcomeScreen::DrawProjectPanel().

|
inline |
Definition at line 464 of file theme_manager.h.
References ConvertColorToImVec4(), and GetSurfaceContainer().
Referenced by yaze::editor::RightPanelManager::Draw(), yaze::editor::StatusBar::Draw(), and yaze::editor::UICoordinator::DrawMenuBarRestoreButton().

|
inline |
Definition at line 467 of file theme_manager.h.
References ConvertColorToImVec4(), and GetSurfaceContainerHigh().
Referenced by yaze::editor::RightPanelManager::BeginPanelSection(), yaze::editor::ToastManager::Draw(), yaze::editor::StatusBar::DrawAgentSegment(), yaze::editor::EditorManager::DrawMainMenuBar(), yaze::editor::UICoordinator::DrawMenuBarIconButton(), yaze::editor::UICoordinator::DrawMenuBarRestoreButton(), yaze::editor::UICoordinator::DrawNotificationBell(), yaze::editor::RightPanelManager::DrawNotificationsPanel(), yaze::editor::RightPanelManager::DrawPanelHeader(), yaze::editor::RightPanelManager::DrawPanelToggleButtons(), yaze::editor::RightPanelManager::DrawQuickActionButtons(), yaze::editor::UICoordinator::DrawSessionButton(), and yaze::editor::ActivityBar::DrawSidePanel().

|
inline |
Definition at line 470 of file theme_manager.h.
References ConvertColorToImVec4(), and GetSurfaceContainerHighest().
Referenced by yaze::editor::RightPanelManager::BeginPanelSection(), yaze::editor::StatusBar::DrawAgentSegment(), yaze::editor::EditorManager::DrawMainMenuBar(), yaze::editor::UICoordinator::DrawMaterialButton(), yaze::editor::UICoordinator::DrawMenuBarIconButton(), yaze::editor::UICoordinator::DrawMenuBarRestoreButton(), yaze::editor::UICoordinator::DrawNotificationBell(), yaze::editor::RightPanelManager::DrawNotificationsPanel(), yaze::editor::RightPanelManager::DrawPanelToggleButtons(), yaze::editor::RightPanelManager::DrawQuickActionButtons(), yaze::editor::UICoordinator::DrawSessionButton(), and yaze::editor::ActivityBar::DrawSidePanel().

|
inline |
Definition at line 473 of file theme_manager.h.
References ConvertColorToImVec4(), and GetOnSurface().
Referenced by yaze::editor::WelcomeScreen::DrawProjectPanel(), and yaze::editor::ActivityBar::DrawSidePanel().

|
inline |
Definition at line 476 of file theme_manager.h.
References ConvertColorToImVec4(), and GetOnSurfaceVariant().
Referenced by yaze::editor::UICoordinator::DrawMaterialButton().

|
inline |
Definition at line 479 of file theme_manager.h.
References ConvertColorToImVec4(), and GetOnPrimary().

|
inline |
Definition at line 482 of file theme_manager.h.
References ConvertColorToImVec4(), and GetOutline().
Referenced by yaze::editor::RightPanelManager::Draw(), yaze::editor::StatusBar::Draw(), yaze::editor::DungeonRoomGraphicsPanel::Draw(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::RightPanelManager::DrawPanelDivider(), yaze::editor::RightPanelManager::DrawPanelHeader(), yaze::editor::StatusBar::DrawSeparator(), and yaze::editor::ActivityBar::DrawSidePanel().

|
inline |
Definition at line 485 of file theme_manager.h.
References ConvertColorToImVec4(), and GetTextSecondary().
Referenced by yaze::editor::FileBrowser::Draw(), yaze::editor::DungeonRoomGraphicsPanel::Draw(), yaze::editor::RightPanelManager::DrawAboutSection(), yaze::editor::ActivityBar::DrawActivityBarStrip(), yaze::editor::RightPanelManager::DrawAgentChatPanel(), yaze::editor::RightPanelManager::DrawAgentQuickActions(), yaze::editor::StatusBar::DrawAgentSegment(), yaze::editor::StatusBar::DrawCursorSegment(), yaze::editor::StatusBar::DrawCustomSegments(), yaze::editor::RightPanelManager::DrawEditorSpecificShortcuts(), yaze::editor::WelcomeScreen::DrawHeader(), yaze::editor::EditorManager::DrawMainMenuBar(), yaze::editor::UICoordinator::DrawMenuBarIconButton(), yaze::editor::StatusBar::DrawModeSegment(), yaze::editor::UICoordinator::DrawNotificationBell(), yaze::editor::RightPanelManager::DrawNotificationsPanel(), yaze::editor::RightPanelManager::DrawPanelHeader(), yaze::editor::RightPanelManager::DrawPanelLabel(), yaze::editor::RightPanelManager::DrawPanelToggleButtons(), yaze::editor::RightPanelManager::DrawPanelValue(), yaze::editor::ProjectManagementPanel::DrawProjectOverview(), yaze::editor::RightPanelManager::DrawProjectPanel(), yaze::editor::WelcomeScreen::DrawProjectPanel(), yaze::editor::RightPanelManager::DrawPropertiesPanel(), yaze::editor::RightPanelManager::DrawProposalsPanel(), yaze::editor::ProjectManagementPanel::DrawQuickActions(), yaze::editor::WelcomeScreen::DrawQuickActions(), yaze::editor::WelcomeScreen::DrawRecentProjects(), yaze::editor::ProjectManagementPanel::DrawRomManagement(), yaze::editor::StatusBar::DrawRomSegment(), yaze::editor::StatusBar::DrawSelectionSegment(), yaze::editor::UICoordinator::DrawSessionButton(), yaze::editor::StatusBar::DrawSessionSegment(), yaze::editor::RightPanelManager::DrawSettingsPanel(), yaze::editor::ActivityBar::DrawSidePanel(), yaze::editor::ProjectManagementPanel::DrawSnapshotHistory(), yaze::editor::ProjectManagementPanel::DrawStorageLocations(), yaze::editor::WelcomeScreen::DrawTemplatesSection(), yaze::editor::ProjectManagementPanel::DrawVersionControl(), yaze::editor::WelcomeScreen::DrawWhatsNew(), and yaze::editor::StatusBar::DrawZoomSegment().

|
inline |
Definition at line 488 of file theme_manager.h.
References ConvertColorToImVec4(), and GetTextDisabled().
Referenced by yaze::editor::FileBrowser::Draw(), yaze::editor::WelcomeScreen::DrawHeader(), yaze::editor::UICoordinator::DrawMenuBarExtras(), yaze::editor::SelectionPropertiesPanel::DrawNoSelection(), yaze::editor::RightPanelManager::DrawNotificationsPanel(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::RightPanelManager::DrawPanelDescription(), and yaze::editor::WelcomeScreen::DrawProjectPanel().

|
inline |
Definition at line 491 of file theme_manager.h.
References ConvertColorToImVec4(), and GetShadow().

|
inline |
Returns an ImVec2 sized as a fraction of the main viewport WorkSize.
Example: ViewportRelativeSize(0.5f, 0.4f) on a 1920x1080 viewport gives ImVec2(960, 432).
Definition at line 99 of file ui_config.h.
Referenced by DialogSize().
|
inline |
Returns a standard dialog size as a fraction of the viewport.
Defaults to 60% width and 65% height which works well for most modal dialogs. Callers can override either factor.
Definition at line 110 of file ui_config.h.
References ViewportRelativeSize().

|
inline |
Definition at line 130 of file ui_config.h.
|
inline |
Returns a DPI-scaled version of a fixed pixel size.
Multiplies the base dimensions by ImGui's FontGlobalScale, which serves as the application-wide scale factor in yaze (set via user preferences). Use this when you have a known pixel size that should grow with the UI scale (e.g., canvas sizes, icon grids).
Definition at line 148 of file ui_config.h.
|
inline |
Returns content region available size clamped to a minimum.
Use before BeginChild when the child should fill available space but never shrink below min_size. Preserves ImGui layout and scrollbars when content exceeds available space.
Usage: ImVec2 size = GetContentRegionAvailClamped(ImVec2(0, UIConfig::kContentMinHeightChat)); if (ImGui::BeginChild("id", size, true)) { ... }
Definition at line 168 of file ui_config.h.
Referenced by yaze::gui::LayoutHelpers::BeginContentChild().
| ImVec4 yaze::gui::ResolveSemanticColor | ( | SemanticColor | color | ) |
Definition at line 19 of file ui_helpers.cc.
References ConvertColorToImVec4(), Disabled, Error, yaze::gui::ThemeManager::Get(), yaze::gui::ThemeManager::GetCurrentTheme(), Info, OnSurface, OnSurfaceVariant, Primary, Secondary, Success, and Warning.
Referenced by GetDisabledColor(), ThemedText(), and ThemedTextF().

| ImVec4 yaze::gui::GetThemeColor | ( | ImGuiCol | idx | ) |
Definition at line 44 of file ui_helpers.cc.
| ImVec4 yaze::gui::GetSuccessColor | ( | ) |
Definition at line 48 of file ui_helpers.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by ColoredButton(), yaze::editor::AgentAutomationPanel::Draw(), yaze::editor::music::SongBrowserView::Draw(), yaze::editor::MusicEditor::DrawChannelOverview(), yaze::editor::PopupManager::DrawDataIntegrityPopup(), yaze::editor::MusicPlaybackControlPanel::DrawDebugControls(), yaze::editor::ProposalDrawer::DrawPolicyStatus(), yaze::editor::ProposalDrawer::DrawProposalList(), yaze::editor::MemoryEditor::DrawSearchPopup(), yaze::editor::SessionCoordinator::DrawSessionManager(), yaze::editor::PopupManager::DrawSessionManagerPopup(), yaze::editor::MusicEditor::DrawSongTrackerWindow(), yaze::test::TestManager::DrawTestDashboard(), yaze::editor::LinkSpritePanel::DrawToolbar(), yaze::editor::MusicEditor::DrawToolset(), yaze::editor::MusicPlaybackControlPanel::DrawToolset(), GetCustomRomColor(), yaze::test::GetTestStatusColor(), yaze::gui::BppFormatUI::RenderAnalysisPanel(), yaze::gui::BppFormatUI::RenderFormatSelector(), yaze::editor::AgentChat::RenderMessage(), yaze::gui::BppFormatUI::RenderSheetAnalysis(), RomVersionBadge(), StatusBadge(), StatusIndicator(), and ToggleIconButton().

| ImVec4 yaze::gui::GetWarningColor | ( | ) |
Definition at line 53 of file ui_helpers.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by ColoredButton(), yaze::editor::ProposalDrawer::Draw(), yaze::editor::music::SongBrowserView::Draw(), yaze::editor::MemoryEditor::DrawBookmarksPopup(), yaze::editor::PixelEditorPanel::DrawColorPicker(), yaze::editor::PaletteEditor::DrawControlPanel(), yaze::editor::MusicPlaybackControlPanel::DrawDebugControls(), yaze::editor::PopupManager::DrawLayoutResetConfirmPopup(), yaze::editor::PaletteControlsPanel::DrawPaletteDisplay(), yaze::editor::MusicEditor::DrawPlaybackControl(), yaze::editor::ProposalDrawer::DrawPolicyStatus(), yaze::editor::ProposalDrawer::DrawProposalList(), yaze::editor::PopupManager::DrawSessionLimitWarningPopup(), yaze::editor::SessionCoordinator::DrawSessionManager(), yaze::editor::MusicPlaybackControlPanel::DrawSongInfo(), yaze::editor::MusicEditor::DrawSongTrackerWindow(), yaze::editor::PixelEditorPanel::DrawStatusBar(), yaze::test::TestManager::DrawTestDashboard(), yaze::editor::LinkSpritePanel::DrawToolbar(), yaze::editor::MusicEditor::DrawToolset(), yaze::editor::MusicPlaybackControlPanel::DrawToolset(), yaze::editor::PopupManager::DrawWriteConflictWarningPopup(), yaze::test::GetTestStatusColor(), GetVanillaRomColor(), yaze::gui::BppFormatUI::RenderAnalysisPanel(), yaze::gui::BppFormatUI::RenderFormatSelector(), yaze::gui::BppFormatUI::RenderSheetAnalysis(), RomVersionBadge(), and StatusBadge().

| ImVec4 yaze::gui::GetErrorColor | ( | ) |
Definition at line 58 of file ui_helpers.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by ColoredButton(), yaze::editor::AgentAutomationPanel::Draw(), yaze::editor::LinkSpritePanel::Draw(), yaze::editor::music::SongBrowserView::Draw(), yaze::editor::ProposalDrawer::DrawActionButtons(), yaze::editor::MusicEditor::DrawAsmPopups(), yaze::editor::PaletteEditor::DrawControlPanel(), yaze::editor::MusicPlaybackControlPanel::DrawDebugControls(), yaze::editor::ProposalDrawer::DrawPolicyStatus(), yaze::editor::ProposalDrawer::DrawProposalList(), yaze::test::TestManager::DrawTestDashboard(), yaze::editor::MusicEditor::DrawToolset(), yaze::test::GetTestStatusColor(), yaze::gui::BppFormatUI::RenderFormatSelector(), StatusBadge(), and yaze::editor::LinkSpritePanel::Update().

| ImVec4 yaze::gui::GetInfoColor | ( | ) |
Definition at line 63 of file ui_helpers.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by ColoredButton(), yaze::editor::AgentAutomationPanel::Draw(), yaze::editor::MemoryEditor::DrawBookmarksPopup(), yaze::editor::MusicPlaybackControlPanel::DrawDebugControls(), yaze::editor::MemoryEditor::DrawJumpToAddressPopup(), yaze::editor::PopupManager::DrawLayoutPresetsPopup(), yaze::editor::MusicEditor::DrawPlaybackControl(), yaze::editor::ProposalDrawer::DrawPolicyStatus(), yaze::editor::PopupManager::DrawSessionManagerPopup(), yaze::editor::MusicPlaybackControlPanel::DrawSongInfo(), yaze::editor::MusicEditor::DrawSongTrackerWindow(), yaze::test::TestManager::DrawTestDashboard(), yaze::editor::MemoryEditor::DrawToolbar(), yaze::editor::MusicEditor::DrawToolset(), yaze::editor::MusicPlaybackControlPanel::DrawToolset(), yaze::editor::AgentChat::RenderMessage(), yaze::editor::CommandManager::ShowWhichKeyHierarchical(), and StatusBadge().

| ImVec4 yaze::gui::GetAccentColor | ( | ) |
Definition at line 68 of file ui_helpers.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by yaze::gui::PanelWindow::Begin(), LoadingSpinner(), yaze::gui::Toolset::ModeButton(), ToggleButton(), and ToolsetButton().

| ImVec4 yaze::gui::GetDisabledColor | ( | ) |
Definition at line 73 of file ui_helpers.cc.
References Disabled, and ResolveSemanticColor().
Referenced by yaze::editor::AgentAutomationPanel::Draw(), yaze::editor::MusicPlaybackControlPanel::DrawDebugControls(), yaze::editor::ProposalDrawer::DrawPolicyStatus(), yaze::editor::MusicEditor::DrawSongTrackerWindow(), yaze::test::TestManager::DrawTestDashboard(), yaze::test::GetTestStatusColor(), and yaze::editor::AgentChat::RenderMessage().

| ImVec4 yaze::gui::GetEntranceColor | ( | ) |
Definition at line 78 of file ui_helpers.cc.
Referenced by yaze::editor::OverworldEntityRenderer::DrawEntrances(), and yaze::editor::OverworldEntityRenderer::DrawEntrances().
| ImVec4 yaze::gui::GetExitColor | ( | ) |
Definition at line 83 of file ui_helpers.cc.
Referenced by yaze::editor::OverworldEntityRenderer::DrawExits(), and yaze::editor::OverworldEntityRenderer::DrawExits().
| ImVec4 yaze::gui::GetItemColor | ( | ) |
Definition at line 88 of file ui_helpers.cc.
Referenced by yaze::editor::OverworldEntityRenderer::DrawItems(), and yaze::editor::OverworldEntityRenderer::DrawItems().
| ImVec4 yaze::gui::GetSpriteColor | ( | ) |
Definition at line 93 of file ui_helpers.cc.
Referenced by yaze::editor::OverworldEntityRenderer::DrawSprites(), and yaze::editor::OverworldEntityRenderer::DrawSprites().
| ImVec4 yaze::gui::GetSelectedColor | ( | ) |
Definition at line 98 of file ui_helpers.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by yaze::editor::PaletteControlsPanel::DrawPaletteDisplay(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), and yaze::editor::PixelEditorPanel::DrawTileHighlight().

| ImVec4 yaze::gui::GetLockedColor | ( | ) |
Definition at line 103 of file ui_helpers.cc.
Referenced by LockIndicator().
| ImVec4 yaze::gui::GetVanillaRomColor | ( | ) |
Definition at line 108 of file ui_helpers.cc.
References GetWarningColor().

| ImVec4 yaze::gui::GetCustomRomColor | ( | ) |
Definition at line 112 of file ui_helpers.cc.
References GetSuccessColor().

| ImVec4 yaze::gui::GetModifiedColor | ( | ) |
Definition at line 116 of file ui_helpers.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), and yaze::editor::PixelEditorPanel::DrawStatusBar().

| void yaze::gui::ColoredText | ( | const char * | text, |
| const ImVec4 & | color ) |
Definition at line 125 of file ui_helpers.cc.
Referenced by yaze::editor::FileBrowser::Draw(), yaze::editor::RightPanelManager::DrawAboutSection(), yaze::editor::ActivityBar::DrawActivityBarStrip(), yaze::editor::RightPanelManager::DrawAgentChatPanel(), yaze::editor::RightPanelManager::DrawAgentQuickActions(), yaze::editor::UICoordinator::DrawCommandPalette(), yaze::editor::AgentProposalsPanel::DrawDiffView(), yaze::editor::UICoordinator::DrawMenuBarExtras(), yaze::editor::SelectionPropertiesPanel::DrawNoSelection(), yaze::editor::UICoordinator::DrawNotificationBell(), yaze::editor::RightPanelManager::DrawNotificationsPanel(), yaze::editor::RightPanelManager::DrawPanelHeader(), yaze::editor::RightPanelManager::DrawPanelLabel(), yaze::editor::RightPanelManager::DrawProjectPanel(), yaze::editor::WelcomeScreen::DrawProjectPanel(), yaze::editor::RightPanelManager::DrawPropertiesPanel(), yaze::editor::RightPanelManager::DrawProposalsPanel(), yaze::editor::StatusBar::DrawRomSegment(), yaze::editor::StatusBar::DrawSeparator(), yaze::editor::RightPanelManager::DrawSettingsPanel(), yaze::editor::ProjectManagementPanel::DrawSnapshotHistory(), and ThemedText().
| void yaze::gui::ColoredTextF | ( | const ImVec4 & | color, |
| const char * | fmt, | ||
| ... ) |
Definition at line 131 of file ui_helpers.cc.
Referenced by yaze::editor::FileBrowser::Draw(), yaze::editor::AgentEditor::DrawChatHistoryViewer(), yaze::editor::UICoordinator::DrawCommandPalette(), yaze::editor::StatusBar::DrawCursorSegment(), yaze::editor::StatusBar::DrawCustomSegments(), yaze::editor::RightPanelManager::DrawEditorContextHeader(), yaze::editor::StatusBar::DrawModeSegment(), yaze::editor::UICoordinator::DrawNotificationBell(), yaze::editor::RightPanelManager::DrawNotificationsPanel(), yaze::editor::RightPanelManager::DrawPanelValue(), yaze::editor::ProjectManagementPanel::DrawProjectOverview(), yaze::editor::WelcomeScreen::DrawProjectPanel(), yaze::editor::ProjectManagementPanel::DrawQuickActions(), yaze::editor::ProjectManagementPanel::DrawRomManagement(), yaze::editor::StatusBar::DrawRomSegment(), yaze::editor::SelectionPropertiesPanel::DrawSelectionSummary(), yaze::editor::StatusBar::DrawSessionSegment(), yaze::editor::ProjectManagementPanel::DrawStorageLocations(), yaze::editor::ProjectManagementPanel::DrawVersionControl(), and yaze::editor::StatusBar::DrawZoomSegment().
| void yaze::gui::ThemedText | ( | const char * | text, |
| SemanticColor | color ) |
Definition at line 140 of file ui_helpers.cc.
References ColoredText(), and ResolveSemanticColor().

| void yaze::gui::ThemedTextF | ( | SemanticColor | color, |
| const char * | fmt, | ||
| ... ) |
Definition at line 144 of file ui_helpers.cc.
References ResolveSemanticColor().

| ButtonColorSet yaze::gui::GetPrimaryButtonColors | ( | ) |
Definition at line 157 of file ui_helpers.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().

| ButtonColorSet yaze::gui::GetDangerButtonColors | ( | ) |
Definition at line 167 of file ui_helpers.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().

| ButtonColorSet yaze::gui::GetSuccessButtonColors | ( | ) |
Definition at line 177 of file ui_helpers.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by yaze::editor::MusicEditor::DrawSongTrackerWindow(), yaze::test::TestManager::DrawTestDashboard(), yaze::editor::MusicEditor::DrawToolset(), and yaze::editor::MusicPlaybackControlPanel::DrawToolset().

| ButtonColorSet yaze::gui::GetWarningButtonColors | ( | ) |
Definition at line 187 of file ui_helpers.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by yaze::editor::MusicEditor::DrawSongTrackerWindow(), and yaze::editor::MusicEditor::DrawToolset().

| void yaze::gui::ThemedSeparator | ( | ) |
Definition at line 201 of file ui_helpers.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().

| void yaze::gui::BeginField | ( | const char * | label, |
| float | label_width ) |
Definition at line 212 of file ui_helpers.cc.
Referenced by LabeledInputHex(), and LabeledInputHex().
| void yaze::gui::EndField | ( | ) |
Definition at line 224 of file ui_helpers.cc.
Referenced by LabeledInputHex(), and LabeledInputHex().
| bool yaze::gui::BeginPropertyTable | ( | const char * | id, |
| int | columns, | ||
| ImGuiTableFlags | extra_flags ) |
Definition at line 229 of file ui_helpers.cc.
Referenced by yaze::zelda3::DungeonObjectEditor::DrawPropertyUI().
| void yaze::gui::EndPropertyTable | ( | ) |
Definition at line 241 of file ui_helpers.cc.
Referenced by yaze::zelda3::DungeonObjectEditor::DrawPropertyUI().
| void yaze::gui::PropertyRow | ( | const char * | label, |
| const char * | value ) |
Definition at line 245 of file ui_helpers.cc.
Referenced by yaze::zelda3::DungeonObjectEditor::DrawPropertyUI().
| void yaze::gui::PropertyRow | ( | const char * | label, |
| int | value ) |
Definition at line 252 of file ui_helpers.cc.
| void yaze::gui::PropertyRowHex | ( | const char * | label, |
| uint8_t | value ) |
Definition at line 259 of file ui_helpers.cc.
| void yaze::gui::PropertyRowHex | ( | const char * | label, |
| uint16_t | value ) |
Definition at line 266 of file ui_helpers.cc.
| void yaze::gui::SectionHeader | ( | const char * | icon, |
| const char * | label, | ||
| const ImVec4 & | color ) |
Definition at line 273 of file ui_helpers.cc.
Referenced by yaze::editor::PaletteGroupPanel::DrawBatchOperationsPopup(), yaze::editor::PaletteGroupPanel::DrawColorInfo(), yaze::editor::PaletteGroupPanel::DrawColorPicker(), yaze::editor::SpritePalettePanel::DrawCustomPanels(), yaze::editor::PaletteGroupPanel::DrawMetadataInfo(), yaze::editor::SelectionPropertiesPanel::DrawPropertyHeader(), and yaze::zelda3::DungeonObjectEditor::DrawPropertyUI().
| bool yaze::gui::IconButton | ( | const char * | icon, |
| const char * | label, | ||
| const ImVec2 & | size ) |
Definition at line 282 of file ui_helpers.cc.
| bool yaze::gui::IconButton | ( | const char * | icon, |
| const char * | tooltip ) |
Definition at line 287 of file ui_helpers.cc.
| bool yaze::gui::ColoredButton | ( | const char * | label, |
| ButtonType | type, | ||
| const ImVec2 & | size ) |
Definition at line 298 of file ui_helpers.cc.
References Error, GetErrorColor(), GetInfoColor(), GetSuccessColor(), GetThemeColor(), GetWarningColor(), Info, Success, and Warning.
Referenced by ConfirmationDialog().
| bool yaze::gui::StyledButton | ( | const char * | label, |
| const ImVec4 & | color, | ||
| const ImVec2 & | size ) |
Definition at line 332 of file ui_helpers.cc.
| bool yaze::gui::ToggleIconButton | ( | const char * | icon_on, |
| const char * | icon_off, | ||
| bool * | state, | ||
| const char * | tooltip ) |
Definition at line 347 of file ui_helpers.cc.
References GetSuccessColor(), and GetThemeColor().
Referenced by yaze::gui::Toolset::AddToggle().

| bool yaze::gui::ToggleButton | ( | const char * | label, |
| bool | active, | ||
| const ImVec2 & | size ) |
Definition at line 366 of file ui_helpers.cc.
References GetAccentColor().
Referenced by yaze::editor::MapPropertiesSystem::DrawCanvasToolbar().

| void yaze::gui::HelpMarker | ( | const char * | desc | ) |
Definition at line 382 of file ui_helpers.cc.
References ICON_MD_HELP_OUTLINE.
Referenced by yaze::editor::ObjectEditorPanel::DrawEmulatorPreview(), and yaze::zelda3::DungeonObjectEditor::DrawPropertyUI().
| void yaze::gui::SeparatorText | ( | const char * | label | ) |
Definition at line 393 of file ui_helpers.cc.
Referenced by yaze::gui::GfxSheetAssetBrowser::Draw().
| void yaze::gui::StatusBadge | ( | const char * | text, |
| ButtonType | type ) |
Definition at line 397 of file ui_helpers.cc.
References Error, GetErrorColor(), GetInfoColor(), GetSuccessColor(), GetThemeColor(), GetWarningColor(), Info, Success, and Warning.
Referenced by yaze::gui::Toolset::AddV3StatusBadge().
| void yaze::gui::BeginToolset | ( | const char * | id | ) |
Definition at line 429 of file ui_helpers.cc.
| void yaze::gui::EndToolset | ( | ) |
Definition at line 434 of file ui_helpers.cc.
| void yaze::gui::ToolsetButton | ( | const char * | icon, |
| bool | selected, | ||
| const char * | tooltip, | ||
| std::function< void()> | on_click ) |
Definition at line 439 of file ui_helpers.cc.
References GetAccentColor().

| void yaze::gui::BeginCanvasContainer | ( | const char * | id, |
| bool | scrollable ) |
Definition at line 461 of file ui_helpers.cc.
| void yaze::gui::EndCanvasContainer | ( | ) |
Definition at line 467 of file ui_helpers.cc.
| bool yaze::gui::EditorTabItem | ( | const char * | icon, |
| const char * | label, | ||
| bool * | p_open ) |
Definition at line 471 of file ui_helpers.cc.
| bool yaze::gui::ConfirmationDialog | ( | const char * | id, |
| const char * | title, | ||
| const char * | message, | ||
| const char * | confirm_text, | ||
| const char * | cancel_text ) |
Definition at line 477 of file ui_helpers.cc.
References ColoredButton(), and Warning.

| void yaze::gui::StatusIndicator | ( | const char * | label, |
| bool | active, | ||
| const char * | tooltip ) |
Definition at line 507 of file ui_helpers.cc.
References GetSuccessColor(), and GetThemeColor().

| void yaze::gui::RenderProviderBadge | ( | const char * | provider | ) |
Definition at line 528 of file ui_helpers.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().

| void yaze::gui::RomVersionBadge | ( | const char * | version, |
| bool | is_vanilla ) |
Definition at line 547 of file ui_helpers.cc.
References GetSuccessColor(), GetWarningColor(), ICON_MD_CHECK_CIRCLE, and ICON_MD_INFO.
Referenced by yaze::gui::Toolset::AddRomBadge().

| void yaze::gui::LockIndicator | ( | bool | locked, |
| const char * | label ) |
Definition at line 556 of file ui_helpers.cc.
References GetLockedColor(), ICON_MD_LOCK, and ICON_MD_LOCK_OPEN.

| void yaze::gui::VerticalSpacing | ( | float | pixels | ) |
Definition at line 568 of file ui_helpers.cc.
| void yaze::gui::HorizontalSpacing | ( | float | pixels | ) |
Definition at line 572 of file ui_helpers.cc.
| void yaze::gui::CenterText | ( | const char * | text | ) |
Definition at line 577 of file ui_helpers.cc.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawV3Settings(), yaze::editor::OverworldEditor::Update(), and yaze::editor::OverworldEditor::UpdateGfxGroupEditor().
| void yaze::gui::RightAlign | ( | float | width | ) |
Definition at line 583 of file ui_helpers.cc.
| float yaze::gui::GetPulseAlpha | ( | float | speed | ) |
Definition at line 592 of file ui_helpers.cc.
Referenced by PushPulseEffect().
| float yaze::gui::GetFadeIn | ( | float | duration | ) |
Definition at line 597 of file ui_helpers.cc.
| void yaze::gui::PushPulseEffect | ( | float | speed | ) |
Definition at line 616 of file ui_helpers.cc.
References GetPulseAlpha().

| void yaze::gui::PopPulseEffect | ( | ) |
Definition at line 621 of file ui_helpers.cc.
| void yaze::gui::LoadingSpinner | ( | const char * | label, |
| float | radius ) |
Definition at line 625 of file ui_helpers.cc.
References GetAccentColor(), and IM_PI.

| float yaze::gui::GetResponsiveWidth | ( | float | min_width, |
| float | max_width, | ||
| float | ratio ) |
Definition at line 653 of file ui_helpers.cc.
| void yaze::gui::SetupResponsiveColumns | ( | int | count, |
| float | min_col_width ) |
Definition at line 664 of file ui_helpers.cc.
| void yaze::gui::BeginTwoColumns | ( | const char * | id, |
| float | split_ratio ) |
Definition at line 680 of file ui_helpers.cc.
| void yaze::gui::SwitchColumn | ( | ) |
Definition at line 697 of file ui_helpers.cc.
| void yaze::gui::EndTwoColumns | ( | ) |
Definition at line 701 of file ui_helpers.cc.
| bool yaze::gui::LabeledInputHex | ( | const char * | label, |
| uint8_t * | value ) |
Definition at line 710 of file ui_helpers.cc.
References BeginField(), and EndField().

| bool yaze::gui::LabeledInputHex | ( | const char * | label, |
| uint16_t * | value ) |
Definition at line 721 of file ui_helpers.cc.
References BeginField(), and EndField().

| bool yaze::gui::IconCombo | ( | const char * | icon, |
| const char * | label, | ||
| int * | current, | ||
| const char *const | items[], | ||
| int | count ) |
Definition at line 732 of file ui_helpers.cc.
| std::string yaze::gui::MakePanelTitle | ( | const std::string & | title | ) |
Definition at line 739 of file ui_helpers.cc.
Referenced by yaze::editor::DungeonEditorV2::ShowRoomPanel().
| const char * yaze::gui::ShortcutContextToString | ( | ShortcutContext | context | ) |
Convert ShortcutContext to display string.
Definition at line 696 of file keyboard_shortcuts.cc.
References kCode, kDungeon, kEmulator, kGlobal, kGraphics, kMessage, kMusic, kOverworld, kPalette, and kSprite.
Referenced by yaze::gui::KeyboardShortcuts::DrawOverlayContent(), and yaze::gui::KeyboardShortcuts::DrawShortcutRow().
| ShortcutContext yaze::gui::EditorNameToContext | ( | const std::string & | editor_name | ) |
| bool yaze::gui::RippleButton | ( | const char * | label, |
| const ImVec2 & | size = ImVec2(0, 0), | ||
| const ImVec4 & | ripple_color = ImVec4(1.0f, 1.0f, 1.0f, 0.3f), | ||
| const char * | panel_id = nullptr, | ||
| const char * | anim_id = nullptr ) |
Draw a button with animated click ripple effect.
| label | The button label text |
| size | The size of the button (default: 0,0 = auto) |
| ripple_color | Optional ripple color (default: white) |
| panel_id | Optional animation scope key (panel ID) |
| anim_id | Optional animation key (defaults to ImGui ID) |
Definition at line 18 of file themed_widgets.cc.
References yaze::gui::Animator::Animate(), ConvertColorToImVec4(), yaze::gui::Animator::EaseOutCubic(), yaze::gui::ThemeManager::Get(), GetAnimator(), and yaze::gui::ThemeManager::GetCurrentTheme().
| bool yaze::gui::BouncyButton | ( | const char * | label, |
| const ImVec2 & | size = ImVec2(0, 0), | ||
| const char * | panel_id = nullptr, | ||
| const char * | anim_id = nullptr ) |
Draw a bouncy animated button that scales on press.
| label | The button label text |
| size | The size of the button (default: 0,0 = auto) |
| panel_id | Optional animation scope key (panel ID) |
| anim_id | Optional animation key (defaults to ImGui ID) |
Definition at line 93 of file themed_widgets.cc.
References yaze::gui::Animator::Animate(), ConvertColorToImVec4(), yaze::gui::Animator::EaseOutBack(), yaze::gui::ThemeManager::Get(), GetAnimator(), and yaze::gui::ThemeManager::GetCurrentTheme().
| bool yaze::gui::ThemedIconButton | ( | const char * | icon, |
| const char * | tooltip = nullptr, | ||
| const ImVec2 & | size = ImVec2(0, 0), | ||
| bool | is_active = false, | ||
| bool | is_disabled = false, | ||
| const char * | panel_id = nullptr, | ||
| const char * | anim_id = nullptr ) |
Draw a standard icon button with theme-aware colors.
| icon | The icon string (e.g., ICON_MD_SETTINGS) |
| tooltip | Optional tooltip text |
| size | The size of the button (default: 0,0 = auto) |
| is_active | Whether the button is in an active/toggled state |
| is_disabled | Whether the button is disabled |
| panel_id | Optional animation scope key (panel ID) |
| anim_id | Optional animation key (defaults to ImGui ID) |
Definition at line 173 of file themed_widgets.cc.
References yaze::gui::Animator::Animate(), ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), GetAnimator(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by yaze::editor::DungeonToolset::Draw(), yaze::editor::PaletteGroupPanel::DrawPaletteSelector(), yaze::editor::DungeonCanvasViewer::DrawRoomPropertyTable(), yaze::editor::PaletteGroupPanel::DrawToolbar(), InlineIconButton(), and ToolbarIconButton().
| bool yaze::gui::TransparentIconButton | ( | const char * | icon, |
| const ImVec2 & | size, | ||
| const char * | tooltip = nullptr, | ||
| bool | is_active = false, | ||
| const ImVec4 & | active_color = ImVec4(0, 0, 0, 0), | ||
| const char * | panel_id = nullptr, | ||
| const char * | anim_id = nullptr ) |
Draw a transparent icon button (hover effect only).
| icon | The icon string (e.g., ICON_MD_SETTINGS) |
| size | The size of the button |
| tooltip | Optional tooltip text |
| is_active | Whether the button is in an active/toggled state |
| active_color | Optional custom color for active state icon If alpha is 0, uses theme.primary instead |
| panel_id | Optional animation scope key (panel ID) |
| anim_id | Optional animation key (defaults to ImGui ID) |
Definition at line 221 of file themed_widgets.cc.
References yaze::gui::Animator::Animate(), ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), GetAnimator(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip(), yaze::editor::RightPanelManager::DrawAgentChatPanel(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::RightPanelManager::DrawPanelHeader(), yaze::editor::ActivityBar::DrawSidePanel(), and PanelHeader().
| bool yaze::gui::ThemedButton | ( | const char * | label, |
| const ImVec2 & | size = ImVec2(0, 0), | ||
| const char * | panel_id = nullptr, | ||
| const char * | anim_id = nullptr ) |
Draw a standard text button with theme colors.
| label | The button label text |
| size | The size of the button (default: 0,0 = auto) |
| panel_id | Optional animation scope key (panel ID) |
| anim_id | Optional animation key (defaults to ImGui ID) |
Definition at line 294 of file themed_widgets.cc.
References yaze::gui::Animator::Animate(), ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), GetAnimator(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by yaze::editor::SelectionPropertiesPanel::DrawAgentActions(), yaze::editor::StatusBar::DrawAgentSegment(), yaze::editor::PaletteGroupPanel::DrawBatchOperationsPopup(), yaze::editor::PaletteGroupPanel::DrawColorPicker(), yaze::gui::PaletteEditorWidget::DrawColorPicker(), yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), yaze::gui::PaletteEditorWidget::DrawPaletteGrid(), yaze::editor::SelectionPropertiesPanel::DrawSelectionSummary(), yaze::editor::anonymous_namespace{welcome_screen.cc}::DrawThemeQuickSwitcher(), and yaze::gui::PaletteEditorWidget::ShowPaletteEditor().
| bool yaze::gui::PrimaryButton | ( | const char * | label, |
| const ImVec2 & | size = ImVec2(0, 0), | ||
| const char * | panel_id = nullptr, | ||
| const char * | anim_id = nullptr ) |
Draw a primary action button (accented color).
| label | The button label text |
| size | The size of the button (default: 0,0 = auto) |
| panel_id | Optional animation scope key (panel ID) |
| anim_id | Optional animation key (defaults to ImGui ID) |
Definition at line 320 of file themed_widgets.cc.
References yaze::gui::Animator::Animate(), ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), GetAnimator(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by yaze::editor::OverworldToolbar::Draw(), yaze::gui::PaletteEditorWidget::DrawPaletteGrid(), yaze::editor::PaletteGroupPanel::DrawToolbar(), and yaze::gui::PaletteEditorWidget::ShowPaletteEditor().
| bool yaze::gui::DangerButton | ( | const char * | label, |
| const ImVec2 & | size = ImVec2(0, 0), | ||
| const char * | panel_id = nullptr, | ||
| const char * | anim_id = nullptr ) |
Draw a danger action button (error color).
| label | The button label text |
| size | The size of the button (default: 0,0 = auto) |
| panel_id | Optional animation scope key (panel ID) |
| anim_id | Optional animation key (defaults to ImGui ID) |
Definition at line 355 of file themed_widgets.cc.
References yaze::gui::Animator::Animate(), ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), GetAnimator(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by yaze::editor::ObjectEditorPanel::DrawStaticObjectEditor(), yaze::editor::PaletteGroupPanel::DrawToolbar(), yaze::editor::Tile16Editor::Update(), yaze::editor::Tile16Editor::UpdateAsPanel(), and yaze::editor::Tile16Editor::UpdateTile16Edit().
| bool yaze::gui::SuccessButton | ( | const char * | label, |
| const ImVec2 & | size = ImVec2(0, 0), | ||
| const char * | panel_id = nullptr, | ||
| const char * | anim_id = nullptr ) |
Draw a success action button (green color).
| label | The button label text |
| size | The size of the button (default: 0,0 = auto) |
| panel_id | Optional animation scope key (panel ID) |
| anim_id | Optional animation key (defaults to ImGui ID) |
Definition at line 389 of file themed_widgets.cc.
References yaze::gui::Animator::Animate(), ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), GetAnimator(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by yaze::editor::Tile16Editor::Update(), yaze::editor::Tile16Editor::UpdateAsPanel(), and yaze::editor::Tile16Editor::UpdateTile16Edit().
| bool yaze::gui::ToolbarIconButton | ( | const char * | icon, |
| const char * | tooltip = nullptr, | ||
| bool | is_active = false ) |
Convenience wrapper for toolbar-sized icon buttons.
Wraps ThemedIconButton with IconSize::Toolbar() preset.
| icon | The icon string (e.g., ICON_MD_SETTINGS) |
| tooltip | Optional tooltip text |
| is_active | Whether the button is in an active/toggled state |
Definition at line 422 of file themed_widgets.cc.
References ThemedIconButton(), and yaze::gui::IconSize::Toolbar().
Referenced by yaze::editor::OverworldToolbar::Draw(), yaze::editor::ScreenEditor::DrawDungeonMapsEditor(), yaze::editor::ScreenEditor::DrawInventoryToolset(), yaze::editor::PixelEditorPanel::DrawToolbar(), and yaze::editor::PixelEditorPanel::DrawViewControls().

| bool yaze::gui::InlineIconButton | ( | const char * | icon, |
| const char * | tooltip = nullptr, | ||
| bool | is_active = false ) |
Convenience wrapper for small inline icon buttons.
Wraps ThemedIconButton with IconSize::Small() preset. Suitable for status bars, property rows, and inline actions.
| icon | The icon string (e.g., ICON_MD_UNDO) |
| tooltip | Optional tooltip text |
| is_active | Whether the button is in an active/toggled state |
Definition at line 426 of file themed_widgets.cc.
References yaze::gui::IconSize::Small(), and ThemedIconButton().
Referenced by yaze::editor::DungeonStatusBar::Draw().

| void yaze::gui::SectionHeader | ( | const char * | label | ) |
Draw a section header.
Definition at line 430 of file themed_widgets.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().

| bool yaze::gui::PaletteColorButton | ( | const char * | id, |
| const gfx::SnesColor & | color, | ||
| bool | is_selected, | ||
| bool | is_modified, | ||
| const ImVec2 & | size, | ||
| const char * | panel_id, | ||
| const char * | anim_id ) |
Definition at line 438 of file themed_widgets.cc.
References yaze::gui::Animator::Animate(), ConvertColorToImVec4(), ConvertSnesColorToImVec4(), yaze::gui::ThemeManager::Get(), GetAnimator(), and yaze::gui::ThemeManager::GetCurrentTheme().
| void yaze::gui::PanelHeader | ( | const char * | title, |
| const char * | icon = nullptr, | ||
| bool * | p_open = nullptr, | ||
| const char * | panel_id = nullptr ) |
Draw a panel header with consistent styling.
| panel_id | Optional animation scope key (panel ID) |
Definition at line 485 of file themed_widgets.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), yaze::gui::ThemeManager::GetCurrentTheme(), ICON_MD_CLOSE, yaze::gui::UIConfig::kIconButtonToolbar, yaze::gui::UIConfig::kPanelHeaderHeight, and TransparentIconButton().

| bool yaze::gui::BeginThemedTabBar | ( | const char * | id, |
| ImGuiTabBarFlags | flags ) |
A stylized tab bar with "Mission Control" branding.
Definition at line 542 of file themed_widgets.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by yaze::editor::DungeonObjectSelector::Draw(), yaze::editor::AgentKnowledgePanel::Draw(), yaze::editor::OracleMenuInspectorPanel::Draw(), yaze::editor::UsageStatisticsCard::Draw(), yaze::editor::PixelEditorPanel::DrawCanvas(), yaze::editor::UICoordinator::DrawCommandPalette(), yaze::editor::SpriteEditor::DrawCustomSpritesMetadata(), yaze::editor::ScreenEditor::DrawDungeonMapsTabs(), yaze::editor::AssemblyEditor::DrawFileTabView(), yaze::editor::UICoordinator::DrawGlobalSearch(), yaze::editor::DungeonWorkbenchPanel::DrawInspectorShelf(), yaze::editor::DungeonObjectSelector::DrawIntegratedEditingPanels(), yaze::editor::MapPropertiesSystem::DrawMapPropertiesPanel(), yaze::editor::SettingsPanel::DrawPatchSettings(), yaze::editor::AgentProposalsPanel::DrawProposalDetail(), yaze::editor::DungeonWorkbenchPanel::DrawRecentRoomTabs(), yaze::editor::SessionCoordinator::DrawSessionTabs(), yaze::editor::DungeonObjectSelector::DrawTileSelector(), yaze::editor::SpriteEditor::DrawVanillaSpriteEditor(), and yaze::editor::GfxGroupEditor::Update().

| void yaze::gui::EndThemedTabBar | ( | ) |
Definition at line 568 of file themed_widgets.cc.
Referenced by yaze::editor::DungeonObjectSelector::Draw(), yaze::editor::AgentKnowledgePanel::Draw(), yaze::editor::OracleMenuInspectorPanel::Draw(), yaze::editor::UsageStatisticsCard::Draw(), yaze::editor::PixelEditorPanel::DrawCanvas(), yaze::editor::UICoordinator::DrawCommandPalette(), yaze::editor::SpriteEditor::DrawCustomSpritesMetadata(), yaze::editor::ScreenEditor::DrawDungeonMapsTabs(), yaze::editor::AssemblyEditor::DrawFileTabView(), yaze::editor::UICoordinator::DrawGlobalSearch(), yaze::editor::DungeonWorkbenchPanel::DrawInspectorShelf(), yaze::editor::DungeonObjectSelector::DrawIntegratedEditingPanels(), yaze::editor::MapPropertiesSystem::DrawMapPropertiesPanel(), yaze::editor::SettingsPanel::DrawPatchSettings(), yaze::editor::AgentProposalsPanel::DrawProposalDetail(), yaze::editor::DungeonWorkbenchPanel::DrawRecentRoomTabs(), yaze::editor::SessionCoordinator::DrawSessionTabs(), yaze::editor::DungeonObjectSelector::DrawTileSelector(), yaze::editor::SpriteEditor::DrawVanillaSpriteEditor(), and yaze::editor::GfxGroupEditor::Update().
| void yaze::gui::ValueChangeFlash | ( | bool | changed, |
| const char * | id ) |
Provide visual "flash" feedback when a value changes.
Triggers a brief color pulse on the widget background or border to confirm data entry/mutation.
| changed | The result from an ImGui input (e.g., InputHexByte) |
| id | Unique ID for the animation state |
Definition at line 574 of file themed_widgets.cc.
References yaze::gui::Animator::AnimateColor(), ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), GetAnimator(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by yaze::editor::DungeonCanvasViewer::DrawRoomPropertyTable().
| void yaze::gui::DrawCanvasHUD | ( | const char * | label, |
| const ImVec2 & | pos, | ||
| const ImVec2 & | size, | ||
| std::function< void()> | draw_content ) |
Draw a stylized Heads-Up Display (HUD) for canvas status.
Encloses text/icons in a semi-transparent dark container with a subtle accent border. Used for Zoom, Coords, etc.
| label | Unique ID for the HUD window |
| pos | Screen position for the HUD |
| size | HUD dimensions |
| draw_content | Callback to render HUD contents |
Definition at line 584 of file themed_widgets.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().

| void yaze::gui::ThemedTooltip | ( | const char * | text | ) |
Draw a tooltip with theme-aware background and borders.
Definition at line 612 of file themed_widgets.cc.
References ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::GetCurrentTheme().
Referenced by yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser().

| bool yaze::gui::PaletteColorButton | ( | const char * | id, |
| const struct SnesColor & | color, | ||
| bool | is_selected, | ||
| bool | is_modified, | ||
| const ImVec2 & | size, | ||
| const char * | panel_id = nullptr, | ||
| const char * | anim_id = nullptr ) |
Draw a palette color button.
| id | The button ID |
| color | The SNES color to display |
| is_selected | Whether this color is currently selected |
| is_modified | Whether this color has been modified |
| size | The size of the button |
| panel_id | Optional animation scope key (panel ID) |
| anim_id | Optional animation key (defaults to ImGui ID) |
| thread_local std::vector<std::string> yaze::gui::g_auto_scope_stack_ |
Definition at line 13 of file widget_auto_register.cc.
Referenced by AutoRegisterLastItem(), yaze::gui::AutoWidgetScope::AutoWidgetScope(), and yaze::gui::AutoWidgetScope::~AutoWidgetScope().
|
constexpr |
|
constexpr |
Definition at line 150 of file canvas.cc.
Referenced by yaze::gui::Canvas::DrawInfoGrid().
|
constexpr |
Definition at line 152 of file canvas.cc.
Referenced by yaze::gui::Canvas::DrawBackground().
|
constexpr |
Definition at line 16 of file drag_drop.h.
Referenced by AcceptTileDrop(), and BeginTileDragSource().
|
constexpr |
Definition at line 17 of file drag_drop.h.
Referenced by AcceptSpriteDrop(), and BeginSpriteDragSource().
|
constexpr |
Definition at line 18 of file drag_drop.h.
Referenced by AcceptPaletteDrop(), and BeginPaletteDragSource().
|
constexpr |
Definition at line 19 of file drag_drop.h.
Referenced by AcceptRoomObjectDrop(), and BeginRoomObjectDragSource().
| const int yaze::gui::kStepOneHex = 0x01 |
Definition at line 322 of file input.cc.
Referenced by InputHex(), InputHex(), InputHexByte(), InputHexByte(), InputHexByteEx(), InputHexByteEx(), InputHexShort(), InputHexWord(), InputHexWord(), and InputHexWordEx().
| const int yaze::gui::kStepFastHex = 0x0F |
Definition at line 323 of file input.cc.
Referenced by InputHex(), InputHex(), InputHexByte(), InputHexByte(), InputHexByteEx(), InputHexByteEx(), InputHexShort(), InputHexWord(), InputHexWord(), and InputHexWordEx().
|
constexpr |
Definition at line 21 of file input.h.
Referenced by yaze::editor::PopupManager::DrawAboutPopup(), yaze::editor::PopupManager::DrawAsarIntegrationPopup(), yaze::editor::PopupManager::DrawBuildInstructionsPopup(), yaze::editor::PopupManager::DrawCLIUsagePopup(), yaze::editor::PopupManager::DrawContributingPopup(), yaze::editor::PopupManager::DrawDataIntegrityPopup(), yaze::editor::PopupManager::DrawDisplaySettingsPopup(), yaze::editor::PopupManager::DrawDungeonPotItemSaveConfirmPopup(), yaze::editor::PopupManager::DrawFeatureFlagsPopup(), yaze::editor::PopupManager::DrawGettingStartedPopup(), yaze::editor::PopupManager::DrawLayoutResetConfirmPopup(), yaze::editor::PopupManager::DrawManageProjectPopup(), yaze::editor::PopupManager::DrawNewProjectPopup(), yaze::editor::PopupManager::DrawOpenRomHelpPopup(), yaze::editor::PopupManager::DrawRomBackupManagerPopup(), yaze::editor::PopupManager::DrawRomInfoPopup(), yaze::editor::PopupManager::DrawRomWriteConfirmPopup(), yaze::editor::PopupManager::DrawSaveAsPopup(), yaze::editor::PopupManager::DrawSaveScopePopup(), yaze::editor::PopupManager::DrawSessionLimitWarningPopup(), yaze::editor::PopupManager::DrawStatusPopup(), yaze::editor::PopupManager::DrawSupportedFeaturesPopup(), yaze::editor::PopupManager::DrawTroubleshootingPopup(), yaze::editor::PopupManager::DrawWhatsNewPopup(), yaze::editor::PopupManager::DrawWorkspaceHelpPopup(), yaze::editor::UICoordinator::DrawWorkspacePresetDialogs(), and yaze::editor::PopupManager::DrawWriteConflictWarningPopup().