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) |
| 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::DungeonWorkbenchToolbar::Draw(), yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::DrawCanvasModeSelector(), yaze::editor::DungeonWorkbenchContent::DrawInspectorHeader(), yaze::editor::DungeonWorkbenchContent::DrawInspectorPrimarySelector(), yaze::editor::DungeonWorkbenchContent::DrawSidebarHeader(), and yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::DrawViewOptionsButton().
|
inline |
Definition at line 36 of file dungeon_workbench_chrome.h.
References CalcIconButtonWidth().
Referenced by yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::IconToggleButton().

|
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().

| void yaze::editor::workbench::DrawInspectorSectionHeader | ( | const char * | label | ) |
Definition at line 9 of file dungeon_workbench_inspector_helpers.cc.
Referenced by yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfRoom(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfSelection(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfTools(), and yaze::editor::DungeonWorkbenchContent::DrawInspectorToolDrawer().
| bool yaze::editor::workbench::BeginInspectorSection | ( | const char * | label, |
| bool | default_open ) |
Definition at line 13 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 22 of file dungeon_workbench_inspector_helpers.cc.
Referenced by yaze::editor::DungeonWorkbenchContent::DrawApplyScopeControls(), yaze::editor::DungeonWorkbenchContent::DrawDungeonMapPopup(), yaze::editor::DungeonWorkbenchContent::DrawInspectorCompactSummary(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfTools(), yaze::editor::DungeonWorkbenchContent::DrawLayerCompositingControls(), and yaze::editor::DungeonWorkbenchContent::DrawSelectionShelf().