[dependencies] fltk = "1.4" fltk-theme = "0.7" Example Setting the color theme: use fltk::{prelude::*, *}; use fltk_theme::{ColorTheme, color_themes}; fn main() { let a = app::App::default().with_scheme(app::Scheme::Gtk); let theme = ColorTheme::new(color_themes::BLACK_...
A theming crate for fltk-rs. Contribute to fltk-rs/fltk-theme development by creating an account on GitHub.
你忘记了共享的files,并创建了一个新的仅限本地的向量。相反,您应该更改共享值:
(Additional theming can be found in thefltk-themecrate) These can be set using theApp::with_scheme()method. letapp = app::App::default().with_scheme(app::Scheme::Gleam); Themes of individual widgets can be optionally modified using the provided methods in theWidgetExttrait, such asset_co...
(Additional theming can be found in the fltk-theme crate)These can be set using the App::with_scheme() method.let app = app::App::default().with_scheme(app::Scheme::Gleam);Themes of individual widgets can be optionally modified using the provided methods in the WidgetExt trait, such ...
(Additional theming can be found in thefltk-themecrate) These can be set using theApp::with_scheme()method. letapp = app::App::default().with_scheme(app::Scheme::Gleam); Themes of individual widgets can be optionally modified using the provided methods in theWidgetExttrait, such asset_co...
(Additional theming can be found in the fltk-theme crate)These can be set using the App::with_scheme() method.let app = app::App::default().with_scheme(app::Scheme::Gleam);Themes of individual widgets can be optionally modified using the provided methods in the WidgetExt trait, such ...
(Additional theming can be found in the fltk-theme crate)These can be set using the App::with_scheme() method.let app = app::App::default().with_scheme(app::Scheme::Gleam);Themes of individual widgets can be optionally modified using the provided methods in the WidgetExt trait, such ...