mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
wip: fixing the modal
This commit is contained in:
parent
29f11b5977
commit
2adf0028c3
5 changed files with 57 additions and 69 deletions
|
|
@ -217,15 +217,7 @@ impl<E: Engine, W: Widget<Engine = E>> Layout<E> for W {}
|
|||
|
||||
pub struct DebugOverlay<E: Engine, W: Widget<Engine = E>>(pub W);
|
||||
|
||||
pub struct ModalHost<E: Engine, M: Widget<Engine = E>, W: Widget<Engine = E>>(
|
||||
pub bool, pub M, pub W
|
||||
);
|
||||
|
||||
pub enum Fill<E: Engine, W: Widget<Engine = E>> {
|
||||
X(W),
|
||||
Y(W),
|
||||
XY(W)
|
||||
}
|
||||
pub enum Fill<E: Engine, W: Widget<Engine = E>> { X(W), Y(W), XY(W) }
|
||||
|
||||
impl<E: Engine, W: Widget<Engine = E>> Fill<E, W> {
|
||||
fn inner (&self) -> &W {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue