widgetry::backend_glow

Type Alias WindowAdapter

Source
type WindowAdapter = WindowAdapter;

Aliased Type§

struct WindowAdapter(ContextWrapper<PossiblyCurrent, Window>);

Fields§

§0: ContextWrapper<PossiblyCurrent, Window>

Implementations

Source§

impl WindowAdapter

Source

pub fn window(&self) -> &Window

Source

pub fn window_resized(&self, new_size: ScreenDims, scale_factor: f64)

Source

pub fn draw_finished(&self, _gfc_ctx_innards: GfxCtxInnards<'_>)