Expand description
Rerun GUI theme and helpers, built around egui.
Re-exports§
pub use self::icons::Icon;pub use self::notifications::Link;pub use self::syntax_highlighting::SyntaxHighlighting;pub use self::theme::ReTheme;
Modules§
- alert
- debug_
only - Helpers for marking the parts of the UI that only exist in debug builds.
- discovery
- Progressive feature discovery: at most one attention dot is visible at a time.
- 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 - theme
- Rerun’s theme: the
StyleProviders that turn widget classes into design tokens. - time
Structs§
- Alert
Visuals - Button
Visuals - Colors for a single button
crate::Variant. - CmdRow
- The visual content of a single command-palette row, as produced by a
CommandPaletteProvider. - Combo
Item - A selectable button to be used within
egui::ComboBoxes oregui::Popups. - Combo
Item Header - A header to group multiple
ComboItems. - Command
Palette - A command palette where you can select a custom command.
- Control
Row - A single row in the controls table.
- Design
Tokens - The look and feel of the UI.
- Design
Tokens Already Initialized Error - Returned by
crate::try_set_design_tokenswhen the design tokens have already been initialized. - Fuzzy
Match - How well a
FuzzyQuerymatches a target string. - Fuzzy
Query - Help
- A help popup where you can show markdown text and controls as a table.
- Icon
Text - KeyMarkdown
- Newtype over
egui::Keywhich provides aDisplayimplementation suitable for markdown. - Link
Button - A button optimized for showing links (has a built-in copy button).
- Matched
Cmd - A specific command that matches some
FuzzyQuery. - Meta
Line Visuals - A metadata line that pairs each value with the word naming it.
- Modifiers
Markdown - Newtype over
egui::Modifierswhich provides aDisplayimplementation suitable for markdown. - Mouse
Button Markdown - Newtype over
egui::PointerButtonwhich provides aDisplayimplementation suitable for markdown. - Mouse
Button Text - Helper to show mouse buttons as text/icons.
- OnResponse
- Wrap a
Widgetand register actions on itsResponse. - Outlines
- The colors a card is outlined with to say what state its content is in.
- Panel
Title Bar - Static title bar that separates a panel into sections.
- Progress
Ring - A small ring, the size of an icon, that fills clockwise from twelve o’clock.
- Section
Collapsing Header - A collapsible section header, with support for optional help tooltip and button.
- TabBar
- A row of tabs, with the selected one underlined.
- TabVisuals
- The label colors of a tab bar, one per interaction state.
- Text
Edit Visuals - Colors for a single text edit
crate::text_edit::TextEditVariant. - TopBar
Style - UrlDecorator
- The globally-installed
UrlDecoratorFn, stored in egui memory.
Enums§
- List
Item Density - Row spacing for list items.
- Requested
Object - A handle to an object that is requested asynchronously.
- RowState
- How a command-palette row should be drawn.
- Server
Value - A value that has to be fetched from the server holding it.
- Size
- The height (and thus padding) of a button.
- Table
Style - UICommand
- Commands dispatched against the viewer’s current context instead of an explicit target.
- UiLayout
- Specifies the context in which the UI is used and the constraints it should follow.
- Variant
- The color scheme of a button.
- Window
Frame Config
Constants§
- FLAG_
BUTTON_ SIZE - Width of the flag button, and the height it takes where the row has room for it.
- TAB_
TOOLBAR_ HEIGHT - Height of the row between a
TabBarand the content under it. The row summarizes that content on the left and holds its actions on the right. - TAB_
TOOLBAR_ MARGIN_ Y - Space above and below a
TAB_TOOLBAR_HEIGHTrow.
Traits§
- Button
Ext - Rerun’s button styling, as extensions to
egui::Button. - Command
Palette Provider - One source of commands.
- Context
Ext - Extension trait for
egui::Context. - Drag
Value Ext - Rerun’s styling, as extensions to
egui::DragValue. - HasDesign
Tokens - OnResponse
Ext - UICommand
Sender - Interface for sending
UICommandmessages. - 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.
- conflicts_
with_ text_ editing - Like
KeyboardShortcut::conflicts_with_text_editing, but also reserves undo/redo (cmd/ctrl + Z/Y) for the focused text edit. - consume_
best_ shortcut - Consume the best-matching pressed keyboard shortcut, if any.
- custom_
window_ decorations_ default - Whether custom (client-drawn) window decorations should be the default on this system.
- design_
tokens_ of - design_
tokens_ of_ visuals - format_
shortcut - Like
egui::Context::format_shortcut, but spells arrow keys with glyphs our bundled fonts have. - 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
- key_
symbol_ or_ name - Like
egui::Key::symbol_or_name, but spells arrow keys with glyphs our bundled fonts have. - paint_
command_ row - Lay out and paint one command-palette row.
- supports_
custom_ decorations - Whether this platform supports custom window decorations.
- try_
set_ design_ tokens - Override the embedded design tokens before they’re first read.
- viewport_
with_ window_ chrome - Set up the window chrome: who draws the decorations, and what is left of the native title bar.
- with_
hover_ icon_ button - Show a
Buttonthat reveals an icon button on hover. - with_
hover_ icon_ buttons - Show a
Buttonthat reveals more icon buttons (or other content) on hover.
Type Aliases§
- Match
Group - Commands in a group, that somehow belong together.
- UrlDecorator
Fn - A decorator that turns a recognized URL string into a labeled
LinkButton.