pub use std::{
any::{Any, TypeId},
cell::RefCell,
collections::{HashMap, HashSet},
fmt::Debug,
rc::Rc,
};
use dces::prelude::*;
use crate::{
event::*,
layout::{AbsoluteLayout, Layout},
proc_macros::WidgetCtx,
properties::*,
theming::Selector,
utils::*,
widget,
widget_base::*,
};
widget!(
Overlay
);
impl Template for Overlay {
fn template(self, _: Entity, _: &mut BuildContext) -> Self {
self.name("Overlay")
}
fn layout(&self) -> Box<dyn Layout> {
Box::new(AbsoluteLayout::new())
}
}