summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/overlay.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/overlay.rs b/src/overlay.rs
index 1be0beeb..a7003751 100644
--- a/src/overlay.rs
+++ b/src/overlay.rs
@@ -1,4 +1,11 @@
//! Display interactive elements on top of other widgets.
+
+/// A generic [`Overlay`].
+///
+/// This is an alias of an `iced_native` element with a default `Renderer`.
+pub type Element<'a, Message, Renderer = crate::Renderer> =
+ iced_native::overlay::Element<'a, Message, Renderer>;
+
pub mod menu {
//! Build and show dropdown menus.
pub use iced_native::overlay::menu::{Appearance, State, StyleSheet};