[go: up one dir, main page]

Crate re_ui

Source
Expand description

Rerun GUI theme and helpers, built around egui.

Re-exports§

pub use self::icons::Icon;
pub use self::syntax_highlighting::SyntaxHighlighting;

Modules§

alert
drag_and_drop
Helpers for drag and drop support for reordering hierarchical lists.
filter_widget
icons
list_item
Second-generation list item.
menu
modal
notifications
syntax_highlighting
time

Structs§

CommandPalette
ControlRow
A single row in the controls table.
DesignTokens
The look and feel of the UI.
Help
A help popup where you can show markdown text and controls as a table.
IconText
KeyMarkdown
Newtype over egui::Key which provides a Display implementation suitable for markdown.
ModifiersMarkdown
Newtype over egui::Modifiers which provides a Display implementation suitable for markdown.
MouseButtonMarkdown
Newtype over egui::PointerButton which provides a Display implementation suitable for markdown.
MouseButtonText
Helper to show mouse buttons as text/icons.
SectionCollapsingHeader
A collapsible section header, with support for optional help tooltip and button.
TimeDragValue
Drag value widget for editing time values for both sequence and temporal timelines.
TopBarStyle

Enums§

LabelStyle
The style of a label.
TableStyle
UICommand
All the commands we support.
UiLayout
Specifies the context in which the UI is used and the constraints it should follow.

Constants§

CUSTOM_WINDOW_DECORATIONS
If true, we hide the native window decoration (the top bar with app title, close button etc), and instead paint our own close/maximize/minimize buttons.
FULLSIZE_CONTENT
If true, we fill the entire window, except for the close/maximize/minimize buttons in the top-left. See https://github.com/emilk/egui/pull/2049
NATIVE_WINDOW_BAR
If true, we show the native window decorations/chrome with the close/maximize/minimize buttons and app title.

Traits§

ContextExt
Extension trait for egui::Context.
UICommandSender
Interface for sending UICommand messages.
UiExt
Rerun custom extensions to egui::Ui.

Functions§

apply_style_and_install_loaders
Apply the Rerun design tokens to the given egui context and install image loaders.
arrow_ui
design_tokens_of
design_tokens_of_visuals