[go: up one dir, main page]

Crate re_ui

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.
egui_ext
Things that should be upstream moved to egui/eframe at some point
filter_widget
icons
list_item
Second-generation list item.
menu
modal
notifications
UI for notifications.
syntax_highlighting
testing
time

Structs§

CommandPalette
CommandPaletteUrl
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.
OnResponse
Wrap a Widget and register actions on its Response.
RelativeTimeRange
A time range that can be relative to the time cursor.
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§

CommandPaletteAction
Either a command, or a URL that we want to open.
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.

Traits§

ContextExt
Extension trait for egui::Context.
HasDesignTokens
OnResponseExt
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.
design_tokens_of
design_tokens_of_visuals
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.
relative_time_range_boundary_label_text
relative_time_range_label_text
Returns (label text, on hover text).