Skip to content

Commit

Permalink
aqua dark
Browse files Browse the repository at this point in the history
  • Loading branch information
MoAlyousef committed Sep 26, 2021
1 parent d5a25de commit 29d72ed
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 292 deletions.
9 changes: 8 additions & 1 deletion examples/aqua_dark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ fn main() {
let widget_theme = WidgetTheme::new(ThemeType::AquaDark);
widget_theme.apply();
let mut win = window::Window::default().with_size(400, 300);
let mut btn = button::Button::new(160, 200, 80, 30, "Hello");
input::Input::new(50, 10, 300, 30, None);
let mut check = button::CheckButton::new(160, 150, 80, 30, " Check");
check.set_value(true);
check.set_frame(enums::FrameType::FlatBox);
let mut round = button::RoundButton::new(160, 180, 80, 30, " Round");
round.set_value(true);
round.set_frame(enums::FrameType::FlatBox);
let mut btn = button::Button::new(160, 230, 80, 30, "Hello");
btn.set_frame(widget_themes::OS_DEFAULT_BUTTON_UP_BOX);
win.end();
win.make_resizable(true);
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ fn main() {
}
```
*/
#![allow(clippy::needless_doctest_main)]

use fltk::{app, enums::Color};
#[cfg(target_os = "macos")]
Expand Down
Loading

0 comments on commit 29d72ed

Please sign in to comment.