fltk 1.5.22

Rust bindings for the FLTK GUI library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// use fltk::{enums::*, prelude::*, *};

fn main() {
    // let app = app::App::default();
    // let mut win = window::GlWindow::default().with_size(400, 300);
    // win.set_mode(Mode::MultiSample); // for antialiasing
    // win.set_frame(FrameType::FlatBox);
    // win.begin();
    // let mut dial =
    //     valuator::LineDial::new(100, 50, 200, 200, "Load %");
    // dial.set_selection_color(Color::Red);
    // dial.set_color(Color::Blue);
    // dial.set_value(0.5);
    // dial.set_frame(FrameType::OFlatFrame);
    // win.end();
    // win.show();
    // app.run().unwrap();
}