Skip to main content

UiFrameContext

Type Alias UiFrameContext 

Source
pub type UiFrameContext<'a, H> = UiFrameCx<'a, H>;

Aliased Type§

pub struct UiFrameContext<'a, H> {
    pub ui: &'a mut UiTree<H>,
    pub app: &'a mut H,
    pub services: &'a mut dyn UiServices,
    pub window: AppWindowId,
    pub bounds: Rect,
    pub scale_factor: f32,
}

Fields§

§ui: &'a mut UiTree<H>§app: &'a mut H§services: &'a mut dyn UiServices§window: AppWindowId§bounds: Rect§scale_factor: f32