Trait flo_draw::FloWindowProperties[][src]

pub trait FloWindowProperties {
    fn title(&self) -> BindRef<String>;
fn size(&self) -> BindRef<(u64, u64)>;
fn fullscreen(&self) -> BindRef<bool>;
fn has_decorations(&self) -> BindRef<bool>;
fn mouse_pointer(&self) -> BindRef<MousePointer>; }
Expand description

Trait implemented by objects that can provide properties for creating/updating a flo_draw window

Window properties are supplied as bindings to make it possible to update them after the window has been created.

Required methods

The title of the window

The initial size of the window

Set to true if the window should be fullscreen

Set to true if the window should have decorations

The mouse pointer to show for a window

Implementations on Foreign Types

‘()’ can be used to create a window with the default title

A string can be used to set just the window title

Implementors