Classes | |
| struct | SegmentSpec |
Functions | |
| float | CalcIconButtonWidth (const char *icon, float button_height) |
| float | CalcIconToggleButtonWidth (const char *icon_on, const char *icon_off, float button_height) |
| float | CalcPaneSegmentHeight (float button_size) |
| bool | ShouldStackSegments (float available_width, int item_count, float min_item_width) |
| void | DrawPaneTitle (const char *icon, const char *title, const char *compact_title, bool compact, const char *subtitle=nullptr) |
| void | DrawSectionLabel (const char *icon, const char *label, const char *tooltip=nullptr) |
| bool | DrawHeaderIconAction (const char *id, const char *icon, float button_size, const char *tooltip, bool active=false) |
| void | DrawPaneHeader (const char *table_id, const char *icon, const char *title, const char *compact_title, const char *subtitle, bool compact, float action_width, const std::function< void()> &draw_actions) |
| void | DrawSegmentedControls (const char *id, std::span< const SegmentSpec > segments, int selected_index, float height, float min_item_width, const std::function< void(int)> &on_select, bool force_stack=false) |
| bool | HasEditableRoomObjectSize (std::span< const zelda3::RoomObject > objects, std::span< const size_t > selected_indices) |
| bool | DrawObjectSizeControls (const zelda3::RoomObject &object, uint8_t *requested_size) |
| void | DrawInspectorSectionHeader (const char *label) |
| bool | BeginInspectorSection (const char *label, bool default_open) |
| bool | DrawActionButton (const char *label, const ImVec2 &size) |
|
inline |
Definition at line 23 of file dungeon_workbench_chrome.h.
Referenced by CalcIconToggleButtonWidth(), yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::DrawCanvasModeSelector(), yaze::editor::DungeonWorkbenchContent::DrawInspectorHeader(), yaze::editor::DungeonWorkbenchContent::DrawInspectorPrimarySelector(), yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::DrawRecentRoomsMenu(), yaze::editor::DungeonWorkbenchContent::DrawSidebarHeader(), yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::DrawToolbarOverflowMenu(), yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::DrawViewOptionsButton(), yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::ToolbarEstimatedWidth(), and yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::ToolbarRightActionsWidth().
|
inline |
Definition at line 36 of file dungeon_workbench_chrome.h.
References CalcIconButtonWidth().
Referenced by yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::IconToggleButton(), and yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::ToolbarEstimatedWidth().

|
inline |
Definition at line 43 of file dungeon_workbench_chrome.h.
References yaze::gui::LayoutHelpers::GetTouchSafeWidgetHeight().

|
inline |
Definition at line 48 of file dungeon_workbench_chrome.h.
Referenced by DrawSegmentedControls().
|
inline |
Definition at line 60 of file dungeon_workbench_chrome.h.
References yaze::gui::ColoredText(), and yaze::gui::GetPrimaryVec4().
Referenced by DrawPaneHeader().

|
inline |
Definition at line 80 of file dungeon_workbench_chrome.h.
References yaze::gui::ColoredText(), and yaze::gui::GetPrimaryVec4().

|
inline |
Definition at line 94 of file dungeon_workbench_chrome.h.
References yaze::gui::TransparentIconButton().
Referenced by yaze::editor::DungeonWorkbenchToolbar::Draw(), yaze::editor::DungeonWorkbenchContent::DrawInspectorHeader(), and yaze::editor::DungeonWorkbenchContent::DrawSidebarHeader().

|
inline |
Definition at line 105 of file dungeon_workbench_chrome.h.
References DrawPaneTitle().
Referenced by yaze::editor::DungeonWorkbenchContent::DrawInspectorHeader(), and yaze::editor::DungeonWorkbenchContent::DrawSidebarHeader().

|
inline |
Definition at line 146 of file dungeon_workbench_chrome.h.
References ShouldStackSegments(), and yaze::gui::ToggleButton().

| bool yaze::editor::workbench::HasEditableRoomObjectSize | ( | std::span< const zelda3::RoomObject > | objects, |
| std::span< const size_t > | selected_indices ) |
Definition at line 17 of file dungeon_workbench_inspector_helpers.cc.
Referenced by yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfSelection().
| bool yaze::editor::workbench::DrawObjectSizeControls | ( | const zelda3::RoomObject & | object, |
| uint8_t * | requested_size ) |
Definition at line 26 of file dungeon_workbench_inspector_helpers.cc.
References yaze::gui::AutoRegisterLastItem(), yaze::core::FeatureFlags::get(), yaze::zelda3::CustomObjectManager::Get(), yaze::editor::GetDungeonCustomObjectSlotName(), yaze::gui::InputHexByteEx(), yaze::zelda3::IsRoomObjectResizable(), yaze::zelda3::IsRoomObjectSizeEditable(), yaze::core::FeatureFlags::Flags::kEnableCustomObjects, yaze::gui::LayoutHelpers::PropertyRow(), yaze::zelda3::RoomObjectSizeAxisStep(), yaze::zelda3::RoomObjectSizeAxisTiles(), yaze::zelda3::CustomObjectManager::RuntimeSubtypeCountForObject(), and yaze::gui::InputHexResult::ShouldApply().
Referenced by yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfSelection().
| void yaze::editor::workbench::DrawInspectorSectionHeader | ( | const char * | label | ) |
Definition at line 143 of file dungeon_workbench_inspector_helpers.cc.
Referenced by yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfRoom(), and yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfSelection().
| bool yaze::editor::workbench::BeginInspectorSection | ( | const char * | label, |
| bool | default_open ) |
Definition at line 147 of file dungeon_workbench_inspector_helpers.cc.
Referenced by yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfRoom().
| bool yaze::editor::workbench::DrawActionButton | ( | const char * | label, |
| const ImVec2 & | size ) |
Definition at line 156 of file dungeon_workbench_inspector_helpers.cc.
Referenced by yaze::editor::DungeonWorkbenchContent::DrawApplyScopeControls(), yaze::editor::DungeonWorkbenchContent::DrawDungeonMapPopup(), yaze::editor::DungeonWorkbenchContent::DrawInspectorCompactSummary(), yaze::editor::DungeonWorkbenchContent::DrawInspectorToolPicker(), and yaze::editor::DungeonWorkbenchContent::DrawLayerCompositingControls().