Function stark::context::init_context[][src]

pub fn init_context(
    title: &str,
    icon_file: &str,
    width: u32,
    height: u32
) -> (Window, EventLoop<()>)
Expand description

Uses winit to acquire a graphical frame and create an event loop for it