Struct fltk::window::AndroidWindow [−][src]
pub struct AndroidWindow { /* fields omitted */ }
Expand description
An Android window
Implementations
impl AndroidWindow
[src]
impl AndroidWindow
[src]Methods from Deref<Target = Window>
pub fn show_with_env_args(&mut self)
[src]
pub fn show_with_env_args(&mut self)
[src]Use FLTK specific arguments for the application: More info here. The options are:
-bg2 color
-bg color
-di[splay] host:n.n
-dn[d]
-fg color
-g[eometry] WxH+X+Y
-i[conic]
-k[bd]
-na[me] classname
-nod[nd]
-nok[bd]
-not[ooltips]
-s[cheme] scheme
-ti[tle] windowtitle
-to[oltips]
pub fn show_with_args(&mut self, args: &[&str])
[src]
pub fn show_with_args(&mut self, args: &[&str])
[src]Use FLTK specific arguments for the application: More info here. The options are:
-bg2 color
-bg color
-di[splay] host:n.n
-dn[d]
-fg color
-g[eometry] WxH+X+Y
-i[conic]
-k[bd]
-na[me] classname
-nod[nd]
-nok[bd]
-not[ooltips]
-s[cheme] scheme
-ti[tle] windowtitle
-to[oltips]
pub fn flush(&mut self)
[src]
pub fn flush(&mut self)
[src]Forces the window to be drawn, this window is also made current and calls draw()
pub fn pixels_per_unit(&self) -> f32
[src]
pub fn pixels_per_unit(&self) -> f32
[src]Returns the pixels per unit.
Assumes a factor of 2.0 (Retina) (Retina) on MacOS since [NSWindow backingScaleFactor]
requires an info.plist with NSHighResolutionCapable
set to true.
If this is not desired, you need to bundle your app and set to false.
Trait Implementations
impl Deref for AndroidWindow
[src]
impl Deref for AndroidWindow
[src]