opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Enumerations | Functions
osc::ui Namespace Reference

Namespaces

namespace  detail
 
namespace  plot
 

Classes

class  Context
 
class  ContextConfiguration
 
class  DrawList
 
class  DrawListAPI
 
class  DrawListView
 
class  Gizmo
 
struct  GizmoOperationSnappingSteps
 
struct  HittestResult
 
struct  ID
 
struct  TableColumnSortSpec
 

Typedefs

using TreeNodeFlags = Flags< TreeNodeFlag >
 
using TabItemFlags = Flags< TabItemFlag >
 
using SliderFlags = Flags< SliderFlag >
 
using TextInputFlags = Flags< TextInputFlag >
 
using ComboFlags = Flags< ComboFlag >
 
using PanelFlags = Flags< PanelFlag >
 
using ChildPanelFlags = Flags< ChildPanelFlag >
 
using HoveredFlags = Flags< HoveredFlag >
 
using ItemFlags = Flags< ItemFlag >
 
using PopupFlags = Flags< PopupFlag >
 
using TableFlags = Flags< TableFlag >
 
using ColumnFlags = Flags< ColumnFlag >
 
using GizmoOperations = Flags< GizmoOperation >
 

Enumerations

enum class  TreeNodeFlag : unsigned {
  None = 0 , DefaultOpen = 1<<0 , OpenOnArrow = 1<<1 , Leaf = 1<<2 ,
  Bullet = 1<<3 , DrawLinesToNodes = 1<<4 , DrawLinesFull = 1<<5 , NUM_FLAGS = 6
}
 
enum class  TabItemFlag : unsigned {
  None = 0 , NoReorder = 1<<0 , NoCloseButton = 1<<1 , UnsavedDocument = 1<<2 ,
  SetSelected = 1<<3 , NUM_FLAGS = 4
}
 
enum class  MouseButton { Left , Right , Middle , NUM_OPTIONS }
 
enum class  SliderFlag : unsigned {
  None = 0 , Logarithmic = 1<<0 , AlwaysClamp = 1<<1 , NoInput = 1<<2 ,
  NUM_FLAGS = 3
}
 
enum class  DataType { Float , NUM_OPTIONS }
 
enum class  TextInputFlag : unsigned { None = 0 , ReadOnly = 1<<0 , EnterReturnsTrue = 1<<1 , NUM_FLAGS = 2 }
 
enum class  ComboFlag : unsigned { None = 0 , NoArrowButton = 1<<0 , NUM_FLAGS = 1 }
 
enum class  PanelFlag : unsigned {
  None = 0 , NoMove = 1<<0 , NoTitleBar = 1<<1 , NoResize = 1<<2 ,
  NoSavedSettings = 1<<3 , NoScrollbar = 1<<4 , NoInputs = 1<<5 , NoBackground = 1<<6 ,
  NoCollapse = 1<<7 , NoDecoration = 1<<8 , NoDocking = 1<<9 , NoNav = 1<<10 ,
  MenuBar = 1<<11 , AlwaysAutoResize = 1<<12 , HorizontalScrollbar = 1<<13 , AlwaysVerticalScrollbar = 1<<14 ,
  NUM_FLAGS = 15
}
 
enum class  ChildPanelFlag : unsigned { None = 0 , Border = 1<<0 , NUM_FLAGS = 1 }
 
enum class  Conditional { Always , Once , Appearing , NUM_OPTIONS }
 
enum class  HoveredFlag : unsigned {
  None = 0 , AllowWhenDisabled = 1<<0 , AllowWhenBlockedByPopup = 1<<1 , AllowWhenBlockedByActiveItem = 1<<2 ,
  AllowWhenOverlapped = 1<<3 , DelayNormal = 1<<4 , ForTooltip = 1<<5 , RootAndChildPanels = 1<<6 ,
  ChildPanels = 1<<7 , NUM_FLAGS = 8
}
 
enum class  ItemFlag : unsigned { None = 0 , Disabled = 1<<0 , Inputable = 1<<1 , NUM_FLAGS = 2 }
 
enum class  ColorVar {
  Text , Button , ButtonActive , ButtonHovered ,
  FrameBg , PopupBg , FrameBgHovered , FrameBgActive ,
  CheckMark , SliderGrab , PanelBg , NUM_OPTIONS
}
 
enum class  StyleVar {
  Alpha , ButtonTextAlign , CellPadding , DisabledAlpha ,
  FramePadding , FrameRounding , ItemInnerSpacing , ItemSpacing ,
  TabRounding , PanelPadding , NUM_OPTIONS
}
 
enum class  PopupFlag : unsigned { None = 0 , MouseButtonLeft = 1<<0 , MouseButtonRight = 1<<1 , NUM_FLAGS = 2 }
 
enum class  TableFlag : unsigned {
  None = 0 , BordersInner = 1<<0 , BordersInnerV = 1<<1 , NoSavedSettings = 1<<2 ,
  PadOuterX = 1<<3 , Resizable = 1<<4 , ScrollY = 1<<5 , SizingStretchProp = 1<<6 ,
  SizingStretchSame = 1<<7 , Sortable = 1<<8 , SortTristate = 1<<9 , NUM_FLAGS = 10
}
 
enum class  SortDirection { None , Ascending , Descending , NUM_OPTIONS }
 
enum class  ColumnFlag : unsigned { None = 0 , NoSort = 1<<0 , WidthStretch = 1<<1 , NUM_FLAGS = 2 }
 
enum class  GizmoOperation : unsigned {
  None = 0 , Translate = 1<<0 , Rotate = 1<<1 , Scale = 1<<2 ,
  NUM_FLAGS = 3
}
 
enum class  GizmoMode { Local , World , NUM_OPTIONS }
 

Functions

void align_text_to_frame_padding ()
 
void draw_text (CStringView)
 
template<typename... Args>
void draw_text (CStringView fmt, Args &&... args)
 
void draw_text_disabled (CStringView)
 
template<typename... Args>
void draw_text_disabled (CStringView fmt, Args &&... args)
 
void draw_text_wrapped (CStringView)
 
template<typename... Args>
void draw_text_wrapped (CStringView fmt, Args &&... args)
 
void draw_text_bullet_pointed (CStringView)
 
bool draw_text_link (CStringView)
 
void draw_bullet_point ()
 
bool draw_tree_node_ex (CStringView, TreeNodeFlags={})
 
float get_tree_node_to_label_spacing ()
 
void tree_pop ()
 
void draw_progress_bar (float fraction)
 
bool begin_menu (CStringView sv, bool enabled=true)
 
void end_menu ()
 
bool draw_menu_item (CStringView label, std::optional< KeyCombination > shortcut={}, bool selected=false, bool enabled=true)
 
bool draw_menu_item (CStringView label, std::optional< KeyCombination > shortcut, bool *p_selected, bool enabled=true)
 
bool begin_tab_bar (CStringView str_id)
 
void end_tab_bar ()
 
bool begin_tab_item (CStringView label, bool *p_open=nullptr, TabItemFlags={})
 
void end_tab_item ()
 
bool draw_tab_item_button (CStringView label)
 
void set_num_columns (int count=1, std::optional< CStringView > id=std::nullopt, bool border=true)
 
float get_column_width (int column_index=-1)
 
void next_column ()
 
void same_line (float offset_from_start_x=0.0f, float spacing=-1.0f)
 
bool is_mouse_clicked (MouseButton, bool repeat=false)
 
bool is_mouse_clicked (MouseButton, ID owner_id)
 
bool is_mouse_released (MouseButton)
 
bool is_mouse_down (MouseButton)
 
bool is_mouse_dragging (MouseButton, float lock_threshold=-1.0f)
 
bool draw_selectable (CStringView label, bool *p_selected)
 
bool draw_selectable (CStringView label, bool selected=false)
 
bool draw_checkbox (CStringView label, bool *v)
 
bool draw_float_slider (CStringView label, float *v, float v_min, float v_max, const char *format="%.3f", SliderFlags={})
 
bool draw_scalar_input (CStringView label, DataType data_type, void *p_data, const void *p_step=nullptr, const void *p_step_fast=nullptr, const char *format=nullptr, TextInputFlags={})
 
bool draw_int_input (CStringView label, int *v, int step=1, int step_fast=100, TextInputFlags={})
 
bool draw_size_t_input (CStringView label, size_t *v, size_t step=1, size_t step_fast=100, TextInputFlags={})
 
bool draw_double_input (CStringView label, double *v, double step=0.0, double step_fast=0.0, const char *format="%.6f", TextInputFlags={})
 
bool draw_float_input (CStringView label, float *v, float step=0.0f, float step_fast=0.0f, const char *format="%.3f", TextInputFlags={})
 
bool draw_float3_input (CStringView label, float v[3], const char *format="%.3f", TextInputFlags={})
 
bool draw_vector3_input (CStringView label, Vector3 &v, const char *format="%.3f", TextInputFlags={})
 
bool draw_rgb_color_editor (CStringView label, Color &color)
 
bool draw_rgba_color_editor (CStringView label, Color &color)
 
bool draw_button (CStringView label, const Vector2 &size={})
 
bool draw_small_button (CStringView label)
 
bool draw_arrow_down_button (CStringView label)
 
bool draw_invisible_button (CStringView label, Vector2 size={})
 
bool draw_radio_button (CStringView label, bool active)
 
bool draw_collapsing_header (CStringView label, TreeNodeFlags={})
 
void draw_dummy (const Vector2 &size)
 
void draw_vertical_spacer (float num_lines)
 
bool begin_combobox (CStringView label, CStringView preview_value, ComboFlags={})
 
void end_combobox ()
 
bool begin_listbox (CStringView label)
 
void end_listbox ()
 
void enable_dockspace_over_main_window ()
 
bool begin_panel (CStringView name, bool *p_open=nullptr, PanelFlags={})
 
void end_panel ()
 
bool begin_child_panel (CStringView str_id, const Vector2 &size={}, ChildPanelFlags child_flags={}, PanelFlags panel_flags={})
 
void end_child_panel ()
 
void close_current_popup ()
 
void set_tooltip (CStringView fmt,...)
 
void set_scroll_y_here ()
 
float get_frame_height ()
 
Vector2 get_content_region_available ()
 
Vector2 get_cursor_start_panel_position ()
 
Vector2 get_cursor_panel_position ()
 
void set_cursor_panel_position (Vector2)
 
float get_cursor_panel_x ()
 
void set_cursor_panel_x (float local_x)
 
Vector2 get_cursor_ui_position ()
 
void set_cursor_ui_position (Vector2)
 
void set_next_panel_ui_position (Vector2, Conditional=Conditional::Always, Vector2 pivot={})
 
void set_next_panel_size (Vector2 size, Conditional=Conditional::Always)
 
void set_next_panel_size_constraints (Vector2 size_min, Vector2 size_max)
 
void set_next_panel_bg_alpha (float alpha)
 
bool is_panel_hovered (HoveredFlags={})
 
void begin_disabled (bool disabled=true)
 
void end_disabled ()
 
bool begin_tooltip_nowrap ()
 
void end_tooltip_nowrap ()
 
void push_id (UID)
 
void push_id (int)
 
template<std::integral T>
void push_id (T number)
 
void push_id (std::string_view)
 
void push_id (const void *)
 
void pop_id ()
 
ID get_id (std::string_view)
 
void set_next_item_size (Rect)
 
bool add_item (Rect bounds, ID)
 
bool is_item_hoverable (Rect bounds, ID)
 
void draw_separator ()
 
void start_new_line ()
 
void indent (float indent_w=0.0f)
 
void unindent (float indent_w=0.0f)
 
void set_keyboard_focus_here ()
 
bool is_key_pressed (Key, bool repeat=true)
 
bool is_key_released (Key)
 
bool is_key_down (Key)
 
Color get_style_color (ColorVar)
 
Vector2 get_style_frame_padding ()
 
float get_style_frame_border_size ()
 
Vector2 get_style_panel_padding ()
 
Vector2 get_style_item_spacing ()
 
Vector2 get_style_item_inner_spacing ()
 
float get_style_alpha ()
 
float get_framerate ()
 
bool wants_keyboard ()
 
void push_style_var (StyleVar, Vector2)
 
void push_style_var (StyleVar, float)
 
void pop_style_var (int count=1)
 
void open_popup (CStringView str_id, PopupFlags={})
 
bool begin_popup (CStringView str_id, PanelFlags={})
 
bool begin_popup_context_menu (CStringView str_id={}, PopupFlags=PopupFlag::MouseButtonRight)
 
bool begin_popup_modal (CStringView name, bool *p_open=nullptr, PanelFlags={})
 
void end_popup ()
 
Vector2 get_mouse_ui_position ()
 
float get_mouse_wheel_amount ()
 
bool begin_menu_bar ()
 
void end_menu_bar ()
 
void hide_mouse_cursor ()
 
void show_mouse_cursor ()
 
void set_next_item_width (float item_width)
 
void set_next_item_open (bool is_open)
 
void push_item_flag (ItemFlags flags, bool enabled)
 
void pop_item_flag ()
 
bool is_item_clicked (MouseButton=MouseButton::Left)
 
bool is_item_hovered (HoveredFlags={})
 
bool is_item_deactivated_after_edit ()
 
Rect get_item_ui_rect ()
 
Vector2 get_item_top_left_ui_position ()
 
Vector2 get_item_bottom_right_ui_position ()
 
bool begin_table (CStringView str_id, int column, TableFlags={}, const Vector2 &outer_size={}, float inner_width=0.0f)
 
void table_setup_scroll_freeze (int cols, int rows)
 
bool table_column_sort_specs_are_dirty ()
 
std::vector< TableColumnSortSpecget_table_column_sort_specs ()
 
void table_headers_row ()
 
bool table_set_column_index (int column_n)
 
void table_next_row ()
 
void table_setup_column (CStringView label, ColumnFlags={}, float init_width_or_weight=0.0f, ID=ID{})
 
void end_table ()
 
void push_style_color (ColorVar, const Color &)
 
void pop_style_color (int count=1)
 
Color get_color (ColorVar)
 
float get_text_line_height_in_current_panel ()
 
float get_text_line_height_with_spacing_in_current_panel ()
 
float get_font_base_size ()
 
float get_font_base_size_with_spacing ()
 
std::optional< Texture2Dget_font_texture ()
 
Vector2 calc_text_size (CStringView text, bool hide_text_after_double_hash=false)
 
Vector2 get_panel_size ()
 
DrawListView get_panel_draw_list ()
 
DrawListView get_foreground_draw_list ()
 
void show_demo_panel ()
 
void apply_dark_theme ()
 
bool update_polar_camera_from_keyboard_inputs (PolarPerspectiveCamera &, const Rect &viewport_rect, std::optional< AABB > maybe_scene_world_space_aabb)
 
bool update_polar_camera_from_all_inputs (PolarPerspectiveCamera &, const Rect &viewport_rect, std::optional< AABB > maybe_scene_world_space_aabb)
 
void update_camera_from_all_inputs (Camera &, EulerAngles &)
 
Rect get_content_region_available_ui_rect ()
 
void draw_image (const Texture2D &texture, std::optional< Vector2 > dimensions=std::nullopt, const Rect &region_uv_coordinates=Rect::from_corners({0.0f, 0.0f}, {1.0f, 1.0f}))
 
void draw_image (const RenderTexture &)
 
void draw_image (const RenderTexture &, Vector2 dimensions)
 
Vector2 calc_button_size (CStringView)
 
float calc_button_width (CStringView)
 
bool draw_button_nobg (CStringView, Vector2 dimensions={0.0f, 0.0f})
 
bool draw_image_button (CStringView, const Texture2D &, Vector2 dimensions, const Rect &texture_coordinates)
 
bool draw_image_button (CStringView, const Texture2D &, Vector2 dimensions)
 
Rect get_last_drawn_item_ui_rect ()
 
Rect get_last_drawn_item_screen_rect ()
 
void add_screenshot_annotation_to_last_drawn_item (std::string_view label)
 
HittestResult hittest_last_drawn_item ()
 
HittestResult hittest_last_drawn_item (float drag_threshold)
 
bool any_of_keys_down (std::span< const Key >)
 
bool any_of_keys_down (std::initializer_list< const Key >)
 
bool any_of_keys_pressed (std::span< const Key >)
 
bool any_of_keys_pressed (std::initializer_list< const Key >)
 
bool is_ctrl_down ()
 
bool is_ctrl_or_super_down ()
 
bool is_shift_down ()
 
bool is_alt_down ()
 
bool is_mouse_released_without_dragging (MouseButton)
 
bool is_mouse_released_without_dragging (MouseButton, float drag_threshold)
 
bool is_mouse_dragging_with_any_button_down ()
 
void begin_tooltip (std::optional< float > wrap_width=std::nullopt)
 
void end_tooltip (std::optional< float > wrap_width=std::nullopt)
 
void draw_tooltip_header_text (CStringView)
 
void draw_tooltip_description_spacer ()
 
void draw_tooltip_description_text (CStringView)
 
void draw_tooltip_body_only (CStringView)
 
void draw_tooltip_body_only_if_item_hovered (CStringView, HoveredFlags=HoveredFlag::ForTooltip)
 
void draw_tooltip (CStringView header, CStringView description={})
 
void draw_tooltip_if_item_hovered (CStringView header, CStringView description={}, HoveredFlags=HoveredFlag::ForTooltip)
 
void draw_help_marker (CStringView header, CStringView description)
 
void draw_help_marker (CStringView)
 
bool draw_string_input (CStringView label, std::string &edited_string, TextInputFlags={})
 
bool draw_string_input_with_hint (CStringView label, CStringView hint, std::string &edited_string, TextInputFlags={})
 
bool draw_float_meters_input (CStringView label, float &v, float step=0.0f, float step_fast=0.0f, TextInputFlags={})
 
bool draw_float3_meters_input (CStringView label, Vector3 &, TextInputFlags={})
 
bool draw_float_meters_slider (CStringView label, float &v, float v_min, float v_max, SliderFlags flags={})
 
bool draw_float_kilogram_input (CStringView label, float &v, float step=0.0f, float step_fast=0.0f, TextInputFlags={})
 
bool draw_angle_input (CStringView label, Radians &v)
 
bool draw_angle3_input (CStringView label, Vector< Radians, 3 > &, CStringView format="%.3f")
 
bool draw_angle_slider (CStringView label, Radians &v, Radians min, Radians max)
 
PanelFlags get_minimal_panel_flags ()
 
bool main_window_has_workspace ()
 
Rect get_main_window_workspace_ui_rect ()
 
Rect get_main_window_workspace_screen_space_rect ()
 
Vector2 get_main_window_workspace_dimensions ()
 
float get_main_window_workspace_aspect_ratio ()
 
bool is_mouse_in_main_window_workspace ()
 
bool begin_main_window_top_bar (CStringView label, float height=ui::get_frame_height(), PanelFlags={PanelFlag::NoScrollbar, PanelFlag::NoSavedSettings, PanelFlag::MenuBar})
 
bool begin_main_window_bottom_bar (CStringView)
 
bool draw_button_centered (CStringView)
 
void draw_text_centered (CStringView)
 
void draw_text_panel_centered (CStringView)
 
void draw_text_disabled_and_centered (CStringView)
 
void draw_text_disabled_and_panel_centered (CStringView)
 
void draw_text_column_centered (CStringView)
 
void draw_text_faded (CStringView)
 
void draw_text_warning (CStringView)
 
bool should_save_last_drawn_item_value ()
 
void pop_item_flags (int n=1)
 
bool draw_combobox (CStringView label, size_t *current, size_t size, const std::function< CStringView(size_t)> &accessor)
 
bool draw_combobox (CStringView label, size_t *current, std::span< const CStringView > items)
 
void draw_vertical_separator ()
 
void draw_same_line_with_vertical_separator ()
 
bool draw_float_circular_slider (CStringView label, float *v, float min, float max, CStringView format="%.3f", SliderFlags={})
 
bool update_polar_camera_from_mouse_inputs (PolarPerspectiveCamera &, Vector2 viewport_dimensions)
 
constexpr float gizmo_annotation_offset ()
 
bool draw_gizmo_mode_selector (Gizmo &)
 
bool draw_gizmo_mode_selector (GizmoMode &)
 
bool draw_gizmo_operation_selector (Gizmo &, bool can_translate=true, bool can_rotate=true, bool can_scale=true, CStringView translate_button_text="T", CStringView rotate_button_text="R", CStringView scale_button_text="S")
 
bool draw_gizmo_operation_selector (GizmoOperation &, bool can_translate=true, bool can_rotate=true, bool can_scale=true, CStringView translate_button_text="T", CStringView rotate_button_text="R", CStringView scale_button_text="S")
 

Typedef Documentation

◆ ChildPanelFlags

◆ ColumnFlags

◆ ComboFlags

◆ GizmoOperations

◆ HoveredFlags

◆ ItemFlags

◆ PanelFlags

◆ PopupFlags

◆ SliderFlags

◆ TabItemFlags

◆ TableFlags

◆ TextInputFlags

◆ TreeNodeFlags

Enumeration Type Documentation

◆ ChildPanelFlag

Enumerator
None 
Border 
NUM_FLAGS 

◆ ColorVar

Enumerator
Text 
Button 
ButtonActive 
ButtonHovered 
FrameBg 
PopupBg 
FrameBgHovered 
FrameBgActive 
CheckMark 
SliderGrab 
PanelBg 
NUM_OPTIONS 

◆ ColumnFlag

Enumerator
None 
NoSort 
WidthStretch 
NUM_FLAGS 

◆ ComboFlag

Enumerator
None 
NoArrowButton 
NUM_FLAGS 

◆ Conditional

Enumerator
Always 
Once 
Appearing 
NUM_OPTIONS 

◆ DataType

Enumerator
Float 
NUM_OPTIONS 

◆ GizmoMode

Enumerator
Local 
World 
NUM_OPTIONS 

◆ GizmoOperation

Enumerator
None 
Translate 
Rotate 
Scale 
NUM_FLAGS 

◆ HoveredFlag

Enumerator
None 
AllowWhenDisabled 
AllowWhenBlockedByPopup 
AllowWhenBlockedByActiveItem 
AllowWhenOverlapped 
DelayNormal 
ForTooltip 
RootAndChildPanels 
ChildPanels 
NUM_FLAGS 

◆ ItemFlag

Enumerator
None 
Disabled 
Inputable 
NUM_FLAGS 

◆ MouseButton

Enumerator
Left 
Right 
Middle 
NUM_OPTIONS 

◆ PanelFlag

Enumerator
None 
NoMove 
NoTitleBar 
NoResize 
NoSavedSettings 
NoScrollbar 
NoInputs 
NoBackground 
NoCollapse 
NoDecoration 
NoDocking 
NoNav 
MenuBar 
AlwaysAutoResize 
HorizontalScrollbar 
AlwaysVerticalScrollbar 
NUM_FLAGS 

◆ PopupFlag

Enumerator
None 
MouseButtonLeft 
MouseButtonRight 
NUM_FLAGS 

◆ SliderFlag

Enumerator
None 
Logarithmic 
AlwaysClamp 
NoInput 
NUM_FLAGS 

◆ SortDirection

Enumerator
None 
Ascending 
Descending 
NUM_OPTIONS 

◆ StyleVar

Enumerator
Alpha 
ButtonTextAlign 
CellPadding 
DisabledAlpha 
FramePadding 
FrameRounding 
ItemInnerSpacing 
ItemSpacing 
TabRounding 
PanelPadding 
NUM_OPTIONS 

◆ TabItemFlag

Enumerator
None 
NoReorder 
NoCloseButton 
UnsavedDocument 
SetSelected 
NUM_FLAGS 

◆ TableFlag

Enumerator
None 
BordersInner 
BordersInnerV 
NoSavedSettings 
PadOuterX 
Resizable 
ScrollY 
SizingStretchProp 
SizingStretchSame 
Sortable 
SortTristate 
NUM_FLAGS 

◆ TextInputFlag

Enumerator
None 
ReadOnly 
EnterReturnsTrue 
NUM_FLAGS 

◆ TreeNodeFlag

Enumerator
None 
DefaultOpen 
OpenOnArrow 
Leaf 
Bullet 
DrawLinesToNodes 
DrawLinesFull 
NUM_FLAGS 

Function Documentation

◆ add_item()

bool osc::ui::add_item ( Rect  bounds,
ID   
)

◆ add_screenshot_annotation_to_last_drawn_item()

void osc::ui::add_screenshot_annotation_to_last_drawn_item ( std::string_view  label)

◆ align_text_to_frame_padding()

void osc::ui::align_text_to_frame_padding ( )

◆ any_of_keys_down() [1/2]

bool osc::ui::any_of_keys_down ( std::initializer_list< const Key )

◆ any_of_keys_down() [2/2]

bool osc::ui::any_of_keys_down ( std::span< const Key )

◆ any_of_keys_pressed() [1/2]

bool osc::ui::any_of_keys_pressed ( std::initializer_list< const Key )

◆ any_of_keys_pressed() [2/2]

bool osc::ui::any_of_keys_pressed ( std::span< const Key )

◆ apply_dark_theme()

void osc::ui::apply_dark_theme ( )

◆ begin_child_panel()

bool osc::ui::begin_child_panel ( CStringView  str_id,
const Vector2 size = {},
ChildPanelFlags  child_flags = {},
PanelFlags  panel_flags = {} 
)

◆ begin_combobox()

bool osc::ui::begin_combobox ( CStringView  label,
CStringView  preview_value,
ComboFlags  = {} 
)

◆ begin_disabled()

void osc::ui::begin_disabled ( bool  disabled = true)

◆ begin_listbox()

bool osc::ui::begin_listbox ( CStringView  label)

◆ begin_main_window_bottom_bar()

bool osc::ui::begin_main_window_bottom_bar ( CStringView  )

◆ begin_main_window_top_bar()

bool osc::ui::begin_main_window_top_bar ( CStringView  label,
float  height = ui::get_frame_height(),
PanelFlags  = {PanelFlag::NoScrollbarPanelFlag::NoSavedSettingsPanelFlag::MenuBar} 
)

◆ begin_menu()

bool osc::ui::begin_menu ( CStringView  sv,
bool  enabled = true 
)

◆ begin_menu_bar()

bool osc::ui::begin_menu_bar ( )

◆ begin_panel()

bool osc::ui::begin_panel ( CStringView  name,
bool p_open = nullptr,
PanelFlags  = {} 
)

◆ begin_popup()

bool osc::ui::begin_popup ( CStringView  str_id,
PanelFlags  = {} 
)

◆ begin_popup_context_menu()

bool osc::ui::begin_popup_context_menu ( CStringView  str_id = {},
PopupFlags  = PopupFlag::MouseButtonRight 
)

◆ begin_popup_modal()

bool osc::ui::begin_popup_modal ( CStringView  name,
bool p_open = nullptr,
PanelFlags  = {} 
)

◆ begin_tab_bar()

bool osc::ui::begin_tab_bar ( CStringView  str_id)

◆ begin_tab_item()

bool osc::ui::begin_tab_item ( CStringView  label,
bool p_open = nullptr,
TabItemFlags  = {} 
)

◆ begin_table()

bool osc::ui::begin_table ( CStringView  str_id,
int  column,
TableFlags  = {},
const Vector2 outer_size = {},
float  inner_width = 0.0f 
)

◆ begin_tooltip()

void osc::ui::begin_tooltip ( std::optional< float wrap_width = std::nullopt)

◆ begin_tooltip_nowrap()

bool osc::ui::begin_tooltip_nowrap ( )

◆ calc_button_size()

Vector2 osc::ui::calc_button_size ( CStringView  )

◆ calc_button_width()

float osc::ui::calc_button_width ( CStringView  )

◆ calc_text_size()

Vector2 osc::ui::calc_text_size ( CStringView  text,
bool  hide_text_after_double_hash = false 
)

◆ close_current_popup()

void osc::ui::close_current_popup ( )

◆ draw_angle3_input()

bool osc::ui::draw_angle3_input ( CStringView  label,
Vector< Radians, 3 > &  ,
CStringView  format = "%.3f" 
)

◆ draw_angle_input()

bool osc::ui::draw_angle_input ( CStringView  label,
Radians v 
)

◆ draw_angle_slider()

bool osc::ui::draw_angle_slider ( CStringView  label,
Radians v,
Radians  min,
Radians  max 
)

◆ draw_arrow_down_button()

bool osc::ui::draw_arrow_down_button ( CStringView  label)

◆ draw_bullet_point()

void osc::ui::draw_bullet_point ( )

◆ draw_button()

bool osc::ui::draw_button ( CStringView  label,
const Vector2 size = {} 
)

◆ draw_button_centered()

bool osc::ui::draw_button_centered ( CStringView  )

◆ draw_button_nobg()

bool osc::ui::draw_button_nobg ( CStringView  ,
Vector2  dimensions = {0.0f, 0.0f} 
)

◆ draw_checkbox()

bool osc::ui::draw_checkbox ( CStringView  label,
bool v 
)

◆ draw_collapsing_header()

bool osc::ui::draw_collapsing_header ( CStringView  label,
TreeNodeFlags  = {} 
)

◆ draw_combobox() [1/2]

bool osc::ui::draw_combobox ( CStringView  label,
size_t current,
size_t  size,
const std::function< CStringView(size_t)> &  accessor 
)

◆ draw_combobox() [2/2]

bool osc::ui::draw_combobox ( CStringView  label,
size_t current,
std::span< const CStringView items 
)

◆ draw_double_input()

bool osc::ui::draw_double_input ( CStringView  label,
double v,
double  step = 0.0,
double  step_fast = 0.0,
const char format = "%.6f",
TextInputFlags  = {} 
)

◆ draw_dummy()

void osc::ui::draw_dummy ( const Vector2 size)

◆ draw_float3_input()

bool osc::ui::draw_float3_input ( CStringView  label,
float  v[3],
const char format = "%.3f",
TextInputFlags  = {} 
)

◆ draw_float3_meters_input()

bool osc::ui::draw_float3_meters_input ( CStringView  label,
Vector3 ,
TextInputFlags  = {} 
)

◆ draw_float_circular_slider()

bool osc::ui::draw_float_circular_slider ( CStringView  label,
float v,
float  min,
float  max,
CStringView  format = "%.3f",
SliderFlags  = {} 
)

◆ draw_float_input()

bool osc::ui::draw_float_input ( CStringView  label,
float v,
float  step = 0.0f,
float  step_fast = 0.0f,
const char format = "%.3f",
TextInputFlags  = {} 
)

◆ draw_float_kilogram_input()

bool osc::ui::draw_float_kilogram_input ( CStringView  label,
float v,
float  step = 0.0f,
float  step_fast = 0.0f,
TextInputFlags  = {} 
)

◆ draw_float_meters_input()

bool osc::ui::draw_float_meters_input ( CStringView  label,
float v,
float  step = 0.0f,
float  step_fast = 0.0f,
TextInputFlags  = {} 
)

◆ draw_float_meters_slider()

bool osc::ui::draw_float_meters_slider ( CStringView  label,
float v,
float  v_min,
float  v_max,
SliderFlags  flags = {} 
)

◆ draw_float_slider()

bool osc::ui::draw_float_slider ( CStringView  label,
float v,
float  v_min,
float  v_max,
const char format = "%.3f",
SliderFlags  = {} 
)

◆ draw_gizmo_mode_selector() [1/2]

bool osc::ui::draw_gizmo_mode_selector ( Gizmo )

◆ draw_gizmo_mode_selector() [2/2]

bool osc::ui::draw_gizmo_mode_selector ( GizmoMode )

◆ draw_gizmo_operation_selector() [1/2]

bool osc::ui::draw_gizmo_operation_selector ( Gizmo ,
bool  can_translate = true,
bool  can_rotate = true,
bool  can_scale = true,
CStringView  translate_button_text = "T",
CStringView  rotate_button_text = "R",
CStringView  scale_button_text = "S" 
)

◆ draw_gizmo_operation_selector() [2/2]

bool osc::ui::draw_gizmo_operation_selector ( GizmoOperation ,
bool  can_translate = true,
bool  can_rotate = true,
bool  can_scale = true,
CStringView  translate_button_text = "T",
CStringView  rotate_button_text = "R",
CStringView  scale_button_text = "S" 
)

◆ draw_help_marker() [1/2]

void osc::ui::draw_help_marker ( CStringView  header,
CStringView  description 
)

◆ draw_help_marker() [2/2]

void osc::ui::draw_help_marker ( CStringView  )

◆ draw_image() [1/3]

void osc::ui::draw_image ( const RenderTexture )

◆ draw_image() [2/3]

void osc::ui::draw_image ( const RenderTexture ,
Vector2  dimensions 
)

◆ draw_image() [3/3]

void osc::ui::draw_image ( const Texture2D texture,
std::optional< Vector2 dimensions = std::nullopt,
const Rect region_uv_coordinates = Rect::from_corners({0.0f, 0.0f}, {1.0f, 1.0f}) 
)

◆ draw_image_button() [1/2]

bool osc::ui::draw_image_button ( CStringView  ,
const Texture2D ,
Vector2  dimensions 
)

◆ draw_image_button() [2/2]

bool osc::ui::draw_image_button ( CStringView  ,
const Texture2D ,
Vector2  dimensions,
const Rect texture_coordinates 
)

◆ draw_int_input()

bool osc::ui::draw_int_input ( CStringView  label,
int v,
int  step = 1,
int  step_fast = 100,
TextInputFlags  = {} 
)

◆ draw_invisible_button()

bool osc::ui::draw_invisible_button ( CStringView  label,
Vector2  size = {} 
)

◆ draw_menu_item() [1/2]

bool osc::ui::draw_menu_item ( CStringView  label,
std::optional< KeyCombination shortcut,
bool p_selected,
bool  enabled = true 
)

◆ draw_menu_item() [2/2]

bool osc::ui::draw_menu_item ( CStringView  label,
std::optional< KeyCombination shortcut = {},
bool  selected = false,
bool  enabled = true 
)

◆ draw_progress_bar()

void osc::ui::draw_progress_bar ( float  fraction)

◆ draw_radio_button()

bool osc::ui::draw_radio_button ( CStringView  label,
bool  active 
)

◆ draw_rgb_color_editor()

bool osc::ui::draw_rgb_color_editor ( CStringView  label,
Color color 
)

◆ draw_rgba_color_editor()

bool osc::ui::draw_rgba_color_editor ( CStringView  label,
Color color 
)

◆ draw_same_line_with_vertical_separator()

void osc::ui::draw_same_line_with_vertical_separator ( )

◆ draw_scalar_input()

bool osc::ui::draw_scalar_input ( CStringView  label,
DataType  data_type,
void p_data,
const void p_step = nullptr,
const void p_step_fast = nullptr,
const char format = nullptr,
TextInputFlags  = {} 
)

◆ draw_selectable() [1/2]

bool osc::ui::draw_selectable ( CStringView  label,
bool p_selected 
)

◆ draw_selectable() [2/2]

bool osc::ui::draw_selectable ( CStringView  label,
bool  selected = false 
)

◆ draw_separator()

void osc::ui::draw_separator ( )

◆ draw_size_t_input()

bool osc::ui::draw_size_t_input ( CStringView  label,
size_t v,
size_t  step = 1,
size_t  step_fast = 100,
TextInputFlags  = {} 
)

◆ draw_small_button()

bool osc::ui::draw_small_button ( CStringView  label)

◆ draw_string_input()

bool osc::ui::draw_string_input ( CStringView  label,
std::string &  edited_string,
TextInputFlags  = {} 
)

◆ draw_string_input_with_hint()

bool osc::ui::draw_string_input_with_hint ( CStringView  label,
CStringView  hint,
std::string &  edited_string,
TextInputFlags  = {} 
)

◆ draw_tab_item_button()

bool osc::ui::draw_tab_item_button ( CStringView  label)

◆ draw_text() [1/2]

template<typename... Args>
void osc::ui::draw_text ( CStringView  fmt,
Args &&...  args 
)

◆ draw_text() [2/2]

void osc::ui::draw_text ( CStringView  )

◆ draw_text_bullet_pointed()

void osc::ui::draw_text_bullet_pointed ( CStringView  )

◆ draw_text_centered()

void osc::ui::draw_text_centered ( CStringView  )

◆ draw_text_column_centered()

void osc::ui::draw_text_column_centered ( CStringView  )

◆ draw_text_disabled() [1/2]

template<typename... Args>
void osc::ui::draw_text_disabled ( CStringView  fmt,
Args &&...  args 
)

◆ draw_text_disabled() [2/2]

void osc::ui::draw_text_disabled ( CStringView  )

◆ draw_text_disabled_and_centered()

void osc::ui::draw_text_disabled_and_centered ( CStringView  )

◆ draw_text_disabled_and_panel_centered()

void osc::ui::draw_text_disabled_and_panel_centered ( CStringView  )

◆ draw_text_faded()

void osc::ui::draw_text_faded ( CStringView  )

◆ draw_text_link()

bool osc::ui::draw_text_link ( CStringView  )

◆ draw_text_panel_centered()

void osc::ui::draw_text_panel_centered ( CStringView  )

◆ draw_text_warning()

void osc::ui::draw_text_warning ( CStringView  )

◆ draw_text_wrapped() [1/2]

template<typename... Args>
void osc::ui::draw_text_wrapped ( CStringView  fmt,
Args &&...  args 
)

◆ draw_text_wrapped() [2/2]

void osc::ui::draw_text_wrapped ( CStringView  )

◆ draw_tooltip()

void osc::ui::draw_tooltip ( CStringView  header,
CStringView  description = {} 
)

◆ draw_tooltip_body_only()

void osc::ui::draw_tooltip_body_only ( CStringView  )

◆ draw_tooltip_body_only_if_item_hovered()

void osc::ui::draw_tooltip_body_only_if_item_hovered ( CStringView  ,
HoveredFlags  = HoveredFlag::ForTooltip 
)

◆ draw_tooltip_description_spacer()

void osc::ui::draw_tooltip_description_spacer ( )

◆ draw_tooltip_description_text()

void osc::ui::draw_tooltip_description_text ( CStringView  )

◆ draw_tooltip_header_text()

void osc::ui::draw_tooltip_header_text ( CStringView  )

◆ draw_tooltip_if_item_hovered()

void osc::ui::draw_tooltip_if_item_hovered ( CStringView  header,
CStringView  description = {},
HoveredFlags  = HoveredFlag::ForTooltip 
)

◆ draw_tree_node_ex()

bool osc::ui::draw_tree_node_ex ( CStringView  ,
TreeNodeFlags  = {} 
)

◆ draw_vector3_input()

bool osc::ui::draw_vector3_input ( CStringView  label,
Vector3 v,
const char format = "%.3f",
TextInputFlags  = {} 
)

◆ draw_vertical_separator()

void osc::ui::draw_vertical_separator ( )

◆ draw_vertical_spacer()

void osc::ui::draw_vertical_spacer ( float  num_lines)

◆ enable_dockspace_over_main_window()

void osc::ui::enable_dockspace_over_main_window ( )

◆ end_child_panel()

void osc::ui::end_child_panel ( )

◆ end_combobox()

void osc::ui::end_combobox ( )

◆ end_disabled()

void osc::ui::end_disabled ( )

◆ end_listbox()

void osc::ui::end_listbox ( )

◆ end_menu()

void osc::ui::end_menu ( )

◆ end_menu_bar()

void osc::ui::end_menu_bar ( )

◆ end_panel()

void osc::ui::end_panel ( )

◆ end_popup()

void osc::ui::end_popup ( )

◆ end_tab_bar()

void osc::ui::end_tab_bar ( )

◆ end_tab_item()

void osc::ui::end_tab_item ( )

◆ end_table()

void osc::ui::end_table ( )

◆ end_tooltip()

void osc::ui::end_tooltip ( std::optional< float wrap_width = std::nullopt)

◆ end_tooltip_nowrap()

void osc::ui::end_tooltip_nowrap ( )

◆ get_color()

Color osc::ui::get_color ( ColorVar  )

◆ get_column_width()

float osc::ui::get_column_width ( int  column_index = -1)

◆ get_content_region_available()

Vector2 osc::ui::get_content_region_available ( )

◆ get_content_region_available_ui_rect()

Rect osc::ui::get_content_region_available_ui_rect ( )

◆ get_cursor_panel_position()

Vector2 osc::ui::get_cursor_panel_position ( )

◆ get_cursor_panel_x()

float osc::ui::get_cursor_panel_x ( )

◆ get_cursor_start_panel_position()

Vector2 osc::ui::get_cursor_start_panel_position ( )

◆ get_cursor_ui_position()

Vector2 osc::ui::get_cursor_ui_position ( )

◆ get_font_base_size()

float osc::ui::get_font_base_size ( )

◆ get_font_base_size_with_spacing()

float osc::ui::get_font_base_size_with_spacing ( )

◆ get_font_texture()

std::optional< Texture2D > osc::ui::get_font_texture ( )

◆ get_foreground_draw_list()

DrawListView osc::ui::get_foreground_draw_list ( )

◆ get_frame_height()

float osc::ui::get_frame_height ( )

◆ get_framerate()

float osc::ui::get_framerate ( )

◆ get_id()

ID osc::ui::get_id ( std::string_view  )

◆ get_item_bottom_right_ui_position()

Vector2 osc::ui::get_item_bottom_right_ui_position ( )

◆ get_item_top_left_ui_position()

Vector2 osc::ui::get_item_top_left_ui_position ( )

◆ get_item_ui_rect()

Rect osc::ui::get_item_ui_rect ( )

◆ get_last_drawn_item_screen_rect()

Rect osc::ui::get_last_drawn_item_screen_rect ( )

◆ get_last_drawn_item_ui_rect()

Rect osc::ui::get_last_drawn_item_ui_rect ( )

◆ get_main_window_workspace_aspect_ratio()

float osc::ui::get_main_window_workspace_aspect_ratio ( )

◆ get_main_window_workspace_dimensions()

Vector2 osc::ui::get_main_window_workspace_dimensions ( )

◆ get_main_window_workspace_screen_space_rect()

Rect osc::ui::get_main_window_workspace_screen_space_rect ( )

◆ get_main_window_workspace_ui_rect()

Rect osc::ui::get_main_window_workspace_ui_rect ( )

◆ get_minimal_panel_flags()

PanelFlags osc::ui::get_minimal_panel_flags ( )

◆ get_mouse_ui_position()

Vector2 osc::ui::get_mouse_ui_position ( )

◆ get_mouse_wheel_amount()

float osc::ui::get_mouse_wheel_amount ( )

◆ get_panel_draw_list()

DrawListView osc::ui::get_panel_draw_list ( )

◆ get_panel_size()

Vector2 osc::ui::get_panel_size ( )

◆ get_style_alpha()

float osc::ui::get_style_alpha ( )

◆ get_style_color()

Color osc::ui::get_style_color ( ColorVar  )

◆ get_style_frame_border_size()

float osc::ui::get_style_frame_border_size ( )

◆ get_style_frame_padding()

Vector2 osc::ui::get_style_frame_padding ( )

◆ get_style_item_inner_spacing()

Vector2 osc::ui::get_style_item_inner_spacing ( )

◆ get_style_item_spacing()

Vector2 osc::ui::get_style_item_spacing ( )

◆ get_style_panel_padding()

Vector2 osc::ui::get_style_panel_padding ( )

◆ get_table_column_sort_specs()

std::vector< TableColumnSortSpec > osc::ui::get_table_column_sort_specs ( )

◆ get_text_line_height_in_current_panel()

float osc::ui::get_text_line_height_in_current_panel ( )

◆ get_text_line_height_with_spacing_in_current_panel()

float osc::ui::get_text_line_height_with_spacing_in_current_panel ( )

◆ get_tree_node_to_label_spacing()

float osc::ui::get_tree_node_to_label_spacing ( )

◆ gizmo_annotation_offset()

constexpr float osc::ui::gizmo_annotation_offset ( )
constexpr

◆ hide_mouse_cursor()

void osc::ui::hide_mouse_cursor ( )

◆ hittest_last_drawn_item() [1/2]

HittestResult osc::ui::hittest_last_drawn_item ( )

◆ hittest_last_drawn_item() [2/2]

HittestResult osc::ui::hittest_last_drawn_item ( float  drag_threshold)

◆ indent()

void osc::ui::indent ( float  indent_w = 0.0f)

◆ is_alt_down()

bool osc::ui::is_alt_down ( )

◆ is_ctrl_down()

bool osc::ui::is_ctrl_down ( )

◆ is_ctrl_or_super_down()

bool osc::ui::is_ctrl_or_super_down ( )

◆ is_item_clicked()

bool osc::ui::is_item_clicked ( MouseButton  = MouseButton::Left)

◆ is_item_deactivated_after_edit()

bool osc::ui::is_item_deactivated_after_edit ( )

◆ is_item_hoverable()

bool osc::ui::is_item_hoverable ( Rect  bounds,
ID   
)

◆ is_item_hovered()

bool osc::ui::is_item_hovered ( HoveredFlags  = {})

◆ is_key_down()

bool osc::ui::is_key_down ( Key  )

◆ is_key_pressed()

bool osc::ui::is_key_pressed ( Key  ,
bool  repeat = true 
)

◆ is_key_released()

bool osc::ui::is_key_released ( Key  )

◆ is_mouse_clicked() [1/2]

bool osc::ui::is_mouse_clicked ( MouseButton  ,
bool  repeat = false 
)

◆ is_mouse_clicked() [2/2]

bool osc::ui::is_mouse_clicked ( MouseButton  ,
ID  owner_id 
)

◆ is_mouse_down()

bool osc::ui::is_mouse_down ( MouseButton  )

◆ is_mouse_dragging()

bool osc::ui::is_mouse_dragging ( MouseButton  ,
float  lock_threshold = -1.0f 
)

◆ is_mouse_dragging_with_any_button_down()

bool osc::ui::is_mouse_dragging_with_any_button_down ( )

◆ is_mouse_in_main_window_workspace()

bool osc::ui::is_mouse_in_main_window_workspace ( )

◆ is_mouse_released()

bool osc::ui::is_mouse_released ( MouseButton  )

◆ is_mouse_released_without_dragging() [1/2]

bool osc::ui::is_mouse_released_without_dragging ( MouseButton  )

◆ is_mouse_released_without_dragging() [2/2]

bool osc::ui::is_mouse_released_without_dragging ( MouseButton  ,
float  drag_threshold 
)

◆ is_panel_hovered()

bool osc::ui::is_panel_hovered ( HoveredFlags  = {})

◆ is_shift_down()

bool osc::ui::is_shift_down ( )

◆ main_window_has_workspace()

bool osc::ui::main_window_has_workspace ( )

◆ next_column()

void osc::ui::next_column ( )

◆ open_popup()

void osc::ui::open_popup ( CStringView  str_id,
PopupFlags  = {} 
)

◆ pop_id()

void osc::ui::pop_id ( )

◆ pop_item_flag()

void osc::ui::pop_item_flag ( )

◆ pop_item_flags()

void osc::ui::pop_item_flags ( int  n = 1)

◆ pop_style_color()

void osc::ui::pop_style_color ( int  count = 1)

◆ pop_style_var()

void osc::ui::pop_style_var ( int  count = 1)

◆ push_id() [1/5]

void osc::ui::push_id ( const void )

◆ push_id() [2/5]

void osc::ui::push_id ( int  )

◆ push_id() [3/5]

void osc::ui::push_id ( std::string_view  )

◆ push_id() [4/5]

template<std::integral T>
void osc::ui::push_id ( T  number)

◆ push_id() [5/5]

void osc::ui::push_id ( UID  )

◆ push_item_flag()

void osc::ui::push_item_flag ( ItemFlags  flags,
bool  enabled 
)

◆ push_style_color()

void osc::ui::push_style_color ( ColorVar  ,
const Color  
)

◆ push_style_var() [1/2]

void osc::ui::push_style_var ( StyleVar  ,
float   
)

◆ push_style_var() [2/2]

void osc::ui::push_style_var ( StyleVar  ,
Vector2   
)

◆ same_line()

void osc::ui::same_line ( float  offset_from_start_x = 0.0f,
float  spacing = -1.0f 
)

◆ set_cursor_panel_position()

void osc::ui::set_cursor_panel_position ( Vector2  )

◆ set_cursor_panel_x()

void osc::ui::set_cursor_panel_x ( float  local_x)

◆ set_cursor_ui_position()

void osc::ui::set_cursor_ui_position ( Vector2  )

◆ set_keyboard_focus_here()

void osc::ui::set_keyboard_focus_here ( )

◆ set_next_item_open()

void osc::ui::set_next_item_open ( bool  is_open)

◆ set_next_item_size()

void osc::ui::set_next_item_size ( Rect  )

◆ set_next_item_width()

void osc::ui::set_next_item_width ( float  item_width)

◆ set_next_panel_bg_alpha()

void osc::ui::set_next_panel_bg_alpha ( float  alpha)

◆ set_next_panel_size()

void osc::ui::set_next_panel_size ( Vector2  size,
Conditional  = Conditional::Always 
)

◆ set_next_panel_size_constraints()

void osc::ui::set_next_panel_size_constraints ( Vector2  size_min,
Vector2  size_max 
)

◆ set_next_panel_ui_position()

void osc::ui::set_next_panel_ui_position ( Vector2  ,
Conditional  = Conditional::Always,
Vector2  pivot = {} 
)

◆ set_num_columns()

void osc::ui::set_num_columns ( int  count = 1,
std::optional< CStringView id = std::nullopt,
bool  border = true 
)

◆ set_scroll_y_here()

void osc::ui::set_scroll_y_here ( )

◆ set_tooltip()

void osc::ui::set_tooltip ( CStringView  fmt,
  ... 
)
inline

◆ should_save_last_drawn_item_value()

bool osc::ui::should_save_last_drawn_item_value ( )

◆ show_demo_panel()

void osc::ui::show_demo_panel ( )

◆ show_mouse_cursor()

void osc::ui::show_mouse_cursor ( )

◆ start_new_line()

void osc::ui::start_new_line ( )

◆ table_column_sort_specs_are_dirty()

bool osc::ui::table_column_sort_specs_are_dirty ( )

◆ table_headers_row()

void osc::ui::table_headers_row ( )

◆ table_next_row()

void osc::ui::table_next_row ( )

◆ table_set_column_index()

bool osc::ui::table_set_column_index ( int  column_n)

◆ table_setup_column()

void osc::ui::table_setup_column ( CStringView  label,
ColumnFlags  = {},
float  init_width_or_weight = 0.0f,
ID  = ID{} 
)

◆ table_setup_scroll_freeze()

void osc::ui::table_setup_scroll_freeze ( int  cols,
int  rows 
)

◆ tree_pop()

void osc::ui::tree_pop ( )

◆ unindent()

void osc::ui::unindent ( float  indent_w = 0.0f)

◆ update_camera_from_all_inputs()

void osc::ui::update_camera_from_all_inputs ( Camera ,
EulerAngles  
)

◆ update_polar_camera_from_all_inputs()

bool osc::ui::update_polar_camera_from_all_inputs ( PolarPerspectiveCamera ,
const Rect viewport_rect,
std::optional< AABB maybe_scene_world_space_aabb 
)

◆ update_polar_camera_from_keyboard_inputs()

bool osc::ui::update_polar_camera_from_keyboard_inputs ( PolarPerspectiveCamera ,
const Rect viewport_rect,
std::optional< AABB maybe_scene_world_space_aabb 
)

◆ update_polar_camera_from_mouse_inputs()

bool osc::ui::update_polar_camera_from_mouse_inputs ( PolarPerspectiveCamera ,
Vector2  viewport_dimensions 
)

◆ wants_keyboard()

bool osc::ui::wants_keyboard ( )