lib_myfltk 0.1.7

Utility functions based on the FLTK.rs GUI library.
Documentation
#![allow(dead_code)]
#![allow(unused)]

/*
                Goals

    -- Experiment with drawing frames.
            -- Change the label font size.
    -- Experiment with imputting text
        and retrieving that text.
    -- Create a widget to input a file name.
    -- Create a widget with checkboxes
        to allow for choosing parameters.

*/

use fltk::enums::{Color, Font, FrameType};
use fltk::{app, button::Button, enums, frame::Frame, prelude::*, window::Window};

fn main() {
    let app = app::App::default();

    app::set_font(enums::Font::Times);
    app::set_font_size(22);

    let mut wind = Window::new(500, 200, 400, 300, "JT's Window!");
    let mut frame = Frame::new(100, 50, 200, 100, "Frame Label");

    frame.set_frame(FrameType::GleamDownBox);
    frame.set_color(Color::Cyan); // Frame background color.

    wind.end();
    wind.show();

    app.run().unwrap();
}