fltk-theme 0.7.9

A theming crate for fltk-rs
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub mod dark;
pub mod light;
#[cfg(all(target_os = "macos", feature = "cocoa-colors"))]
pub mod sys;

// use fltk::enums::Color;

// const fn from_rgba(r: u8, g: u8, b: u8, a: u8) -> Color {
//     let val = ((r as u32 & 0xff) << 24) + ((g as u32 & 0xff) << 16) + ((b as u32 & 0xff) << 8) + (a as u32 & 0xff);
//     Color::from_rgbi(val)
// }