Crate egui_modal

Source
Expand description

egui-modal Modal library for egui

Structs§

DialogBuilder
Used for constructing and opening a modal dialog. This can be used to both set the title/body/icon of the modal and open it as a one-time call (as opposed to a continous call in the update loop) at the same time. Make sure to call DialogBuilder::open to actually open the dialog.
Modal
A Modal is created using Modal::new(). Make sure to use a let binding when using Modal::new() to ensure you can call things like Modal::open() later on.
ModalStyle
Contains styling parameters for the modal, like body margin and button colors.

Enums§

Icon
An icon. If used, it will be shown next to the body of the modal.
ModalButtonStyle
The different styles a modal button can take.