Struct adi_screen::WindowBuilder
[−]
[src]
pub struct WindowBuilder { /* fields omitted */ }
A builder for Window
.
Methods
impl WindowBuilder
[src]
pub fn new(name: &str, icon: Option<Graphic>) -> Self
[src]
A new WindowBuilder
.
pub fn fog(self, fog: (f32, f32)) -> Self
[src]
Set fog (distance, depth), off by default.
pub fn background(self, rgb: (f32, f32, f32)) -> Self
[src]
Set background color, white by default.
pub fn finish(self) -> Window
[src]
Finish building the Window
.