#include <algorithm>
#include <cmath>
#include <functional>
#include <span>
#include "app/gui/core/color.h"
#include "app/gui/core/layout_helpers.h"
#include "app/gui/core/style_guard.h"
#include "app/gui/core/ui_helpers.h"
#include "app/gui/widgets/themed_widgets.h"
#include "imgui/imgui.h"
Go to the source code of this file.
|
| float | yaze::editor::workbench::CalcIconButtonWidth (const char *icon, float button_height) |
| |
| float | yaze::editor::workbench::CalcIconToggleButtonWidth (const char *icon_on, const char *icon_off, float button_height) |
| |
| float | yaze::editor::workbench::CalcPaneSegmentHeight (float button_size) |
| |
| bool | yaze::editor::workbench::ShouldStackSegments (float available_width, int item_count, float min_item_width) |
| |
| void | yaze::editor::workbench::DrawPaneTitle (const char *icon, const char *title, const char *compact_title, bool compact, const char *subtitle=nullptr) |
| |
| void | yaze::editor::workbench::DrawSectionLabel (const char *icon, const char *label, const char *tooltip=nullptr) |
| |
| bool | yaze::editor::workbench::DrawHeaderIconAction (const char *id, const char *icon, float button_size, const char *tooltip, bool active=false) |
| |
| void | yaze::editor::workbench::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 | yaze::editor::workbench::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) |
| |