mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-09-18 05:16:44 +02:00
remove Screen::show
This commit is contained in:
parent
4c25dcc702
commit
083ce8ba76
3 changed files with 24 additions and 30 deletions
|
|
@ -40,3 +40,6 @@ fn align <S: Screen> (
|
|||
}
|
||||
})
|
||||
}
|
||||
|
||||
#[cfg(test)] #[test] fn test_align () {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ pub enum Full<T: Screen, I: Draw<T>> {
|
|||
H(I),
|
||||
WH(I),
|
||||
}
|
||||
|
||||
impl_draw!(<T: Screen, I: Draw<T>,>|self: Full<T, I>, to: T|{
|
||||
let XYWH(x0, y0, w0, h0) = to.area();
|
||||
match self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue