Magnum::Ui::Modal class

Modal widget.

Should be snapped to whole area of a plane. Gives the plane a background and fills the rest with semi-transparent dim color to suggest modality.

Styling

Ignores StateFlag::Hovered, StateFlag::Pressed and StateFlag::Active, Style::Flat.

Base classes

class Widget
Base for widgets.

Constructors, destructors, conversion operators

Modal(Plane& plane, const Anchor& anchor, Style style = Style::Default) explicit
Label.

Function documentation

Magnum::Ui::Modal::Modal(Plane& plane, const Anchor& anchor, Style style = Style::Default) explicit

Label.

Parameters
plane Plane this widget is a part of
anchor Positioning anchor
style Widget style