Crate flandres

Crate flandres 

Source
Expand description

§flandres

fltk widgets adapted for Android.

This crate provides public wrapper functions which return fltk widgets. These widgets are styled and adapted to Android screen resolution.

§Usage

Add flandres to your fltk applications.

[dependencies]
fltk = "1"
flandres = "0.3"
    use fltk::*;
    let mut win = flandres::window();
    let _inp = flandres::inout_widget::<input::Input>(200, 200, 200, 100, "");
    let _but: button::Button = flandres::widget(200, 600, 200, 100, "Click Me!");

Functions§

display_widget
Returns a widget implementing DisplayExt (TextDisplay, TextEditor) styled and adapted to Android screen resolution
inout_widget
Returns an input or output widget styled and adapted to Android screen resolution
widget
Returns a widget styled and adapted to Android screen resolution
window
Returns an Android Window