Expand description
Rerun GUI theme and helpers, built around egui.
Re-exports§
pub use self::icons::Icon;pub use self::syntax_highlighting::SyntaxHighlighting;
Modules§
- drag_
and_ drop - Helpers for drag and drop support for reordering hierarchical lists.
- filter_
widget - icons
- list_
item - Second-generation list item.
- modal
- notifications
- syntax_
highlighting
Macros§
Structs§
- Color
Table - A table mapping all combination of
HueandScaleto aegui::Color32. - Color
Token - A token representing a color in the global color table.
- Command
Palette - Control
Row - A single row in the controls table.
- Design
Tokens - The look and feel of the UI.
- Help
- A help popup where you can show markdown text and controls as a table.
- Icon
Text - Helper to show text with icons in a row.
Usually created via the
crate::icon_text!macro. - KeyMarkdown
- Newtype over
egui::Keywhich provides aDisplayimplementation suitable for markdown. - 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.
- Section
Collapsing Header - A collapsible section header, with support for optional help tooltip and button.
- Time
Drag Value - Drag value widget for editing time values for both sequence and temporal timelines.
- TopBar
Style
Enums§
- Hue
- A hue for a
ColorToken. - Icon
Text Item - Label
Style - The style of a label.
- Scale
- A color scale for a
ColorToken. - 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
- INFO_
COLOR - NATIVE_
WINDOW_ BAR - If true, we show the native window decorations/chrome with the close/maximize/minimize buttons and app title.
- SUCCESS_
COLOR
Traits§
- Context
Ext - Extension trait for
egui::Context. - 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.
- arrow_
ui - design_
tokens - Return a reference to the global design tokens structure.
- maybe_
plus - Shows a “+” if the OS is not Mac.
Useful if you want to e.g. show an icon after a
modifiers_text - modifiers_
text - Helper to add
egui::Modifiersas text with icons. Will automatically show Cmd/Ctrl based on the OS. - shortcut_
with_ icon - Shows a keyboard shortcut with a modifier and the given icon.