sfml_xt::graphics

Trait RenderWindowExt

source
pub trait RenderWindowExt {
    // Required methods
    fn center(&mut self);
    fn desktop_fullscreen(
        &mut self,
        title: &str,
        ctx_settings: &ContextSettings,
    );
}
Expand description

Extensions for RenderWindow

Required Methods§

source

fn center(&mut self)

Center the window on screen

source

fn desktop_fullscreen(&mut self, title: &str, ctx_settings: &ContextSettings)

Enter a fake fullscreen mode (desktop fullscreen)

Implementations on Foreign Types§

source§

impl RenderWindowExt for RenderWindow

source§

fn center(&mut self)

source§

fn desktop_fullscreen(&mut self, title: &str, ctx_settings: &ContextSettings)

Implementors§