Module gui

Source
Expand description

Shared behaviour for GUIs.

Re-exports§

pub use MaybeMutable::ReadOnly;
pub use MaybeMutable::Mutable;

Modules§

connection
Prompt the user for connection settings using a modal.
menu
Shared behaviour for GUIs related to menus.

Enums§

MaybeMutable
A reference which can be mutable or not. Used to control whether the item is editable when displayed.

Functions§

file_prompt
Prompt the user for a file.
list_of_bits
List the bits from a cmri::packet::Data (using the labels) as a vertical list of egui::SelectableLabels.
list_of_bytes
Show bytes in a scrollable grid, whilst allowing them to be changed.
modal_error
Use an egui_modal::Modal to display an error, sticking with consistent dialog styling.
modal_prompt
Use an egui_modal::Modal to prompt the user for information, sticking with consistent dialog styling.