Skip to main content

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.
loading_indicator
The loading indicator are three dots that fade in and out in sequence.
menu
modal
notifications
UI for notifications.
re_form
syntax_highlighting
testing
text_edit
time

Structs§

AlertVisuals
ButtonVisuals
Colors for a single button crate::Variant.
CmdRow
The visual content of a single command-palette row, as produced by a CommandPaletteProvider.
ComboItem
A selectable button to be used within egui::ComboBoxes or egui::Popups.
ComboItemHeader
A header to group multiple ComboItems.
CommandEnvironment
Context to determine which context-dependent commands are currently available.
CommandPalette
A command palette where you can select a custom command.
ControlRow
A single row in the controls table.
DesignTokens
The look and feel of the UI.
FuzzyMatch
How well a FuzzyQuery matches a target string.
FuzzyQuery
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.
LinkButton
A component wrapping ReButton, optimized for showing links (has a built-in copy button).
MatchedCmd
A specific command that matches some FuzzyQuery.
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.
ReButton
RecordingCommand
A command that acts on a specific recording.
RedapServerCommand
A command that acts on a specific Redap server.
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.
SetPlaybackSpeed
TableCommand
A command that acts on a specific table-like Redap entry (dataset or table).
TimeDragValue
Drag value widget for editing time values for both sequence and temporal timelines.
TopBarStyle
UrlDecorator
The globally-installed UrlDecoratorFn, stored in egui memory.

Enums§

LabelStyle
The style of a label.
RecordingCommandKind
What a RecordingCommand does to its recording.
RedapServerCommandKind
What a RedapServerCommand does to its server.
ResolvedCommand
A command resolved against the current CommandEnvironment, ready to dispatch.
RowState
How a command-palette row should be drawn.
Size
TableCommandKind
What a TableCommand does to its entry.
TableStyle
UICommand
All the commands we support.
UiLayout
Specifies the context in which the UI is used and the constraints it should follow.
Variant
WindowFrameConfig

Traits§

CommandPaletteProvider
One source of commands.
ContextExt
Extension trait for egui::Context.
HasDesignTokens
OnResponseExt
ReButtonExt
RecordingCommandSender
Interface for sending RecordingCommand messages.
RedapServerCommandSender
Interface for sending RedapServerCommand messages.
TableCommandSender
Interface for sending TableCommand messages.
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.
consume_timeline_shortcut
Consume the “timeline” keyboard shortcuts: playback controls bound to space / arrow / home / end keys, plus the playback-speed chord.
custom_window_decorations_default
Whether custom (client-drawn) window decorations should be the default on this system.
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
listen_for_kb_shortcuts
Listen for all non-timeline keyboard shortcuts, resolved against env.
paint_command_row
Lay out and paint one command-palette row.
refresh_shortcuts
The keyboard shortcut for refreshing the current view.
relative_time_range_boundary_label_text
relative_time_range_label_text
Returns (label text, on hover text).
supports_custom_decorations
Whether we support drawing a custom title bar (and overall decorations) on this OS.

Type Aliases§

MatchGroup
Commands in a group, that somehow belong together.
UrlDecoratorFn
A decorator that turns a recognized URL string into a labeled LinkButton.