WIP
This commit is contained in:
parent
cf007a3d3b
commit
147aa0f695
17 changed files with 150 additions and 138 deletions
|
@ -53,6 +53,7 @@ use std::{
|
|||
pub use test_app_context::{ContextHandle, TestAppContext};
|
||||
use util::ResultExt;
|
||||
use uuid::Uuid;
|
||||
pub use window::MeasureParams;
|
||||
use window_input_handler::WindowInputHandler;
|
||||
|
||||
pub trait Entity: 'static {
|
||||
|
|
|
@ -1302,7 +1302,7 @@ impl LayoutEngine {
|
|||
}
|
||||
|
||||
pub fn computed_layout(&mut self, node: LayoutId) -> Result<EngineLayout> {
|
||||
Ok(self.0.layout(node)?.into())
|
||||
dbg!(Ok(self.0.layout(node)?.into()))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -157,7 +157,7 @@ impl<T: Clone + Default> Into<taffy::geometry::Point<T>> for Point<T> {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Refineable)]
|
||||
#[derive(Clone, Refineable, Debug)]
|
||||
pub struct Size<T: Clone + Default> {
|
||||
pub width: T,
|
||||
pub height: T,
|
||||
|
|
|
@ -7,6 +7,7 @@ pub use assets::*;
|
|||
pub mod elements;
|
||||
pub mod font_cache;
|
||||
mod image_data;
|
||||
pub use taffy;
|
||||
pub use crate::image_data::ImageData;
|
||||
pub mod views;
|
||||
pub use font_cache::FontCache;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue