Skip to content

Commit

Permalink
Changed buttons frame theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Guido30 committed Oct 30, 2023
1 parent d58c090 commit eaa6213
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ use fltk::{
window::Window,
};
use fltk_evented::Listener;
use fltk_theme::{color_themes, ColorTheme, SchemeType, WidgetScheme};
use fltk_theme::{
color_themes, widget_themes, ColorTheme, SchemeType, WidgetScheme,
};
use rand::{seq::SliceRandom, thread_rng};

use lcu::GameClient;
Expand Down Expand Up @@ -73,6 +75,7 @@ fn main() {
btn_skin.set_color(Color::Dark2);
btn_skin.set_image(Some(icon_skin));
btn_skin.set_align(Align::ImageNextToText);
btn_skin.set_frame(widget_themes::OS_BUTTON_UP_BOX);

let mut btn_chroma: Listener<_> =
Button::default().with_label(" Chroma").into();
Expand All @@ -81,6 +84,7 @@ fn main() {
btn_chroma.set_color(Color::Dark2);
btn_chroma.set_image(Some(icon_chroma));
btn_chroma.set_align(Align::ImageNextToText);
btn_chroma.set_frame(widget_themes::OS_BUTTON_UP_BOX);

group_btns.end();

Expand Down

0 comments on commit eaa6213

Please sign in to comment.