adding in a taskbar icon

master
Able 2021-06-03 04:18:08 -05:00
parent c1eaa06dd8
commit 0d99145eae
2 changed files with 4 additions and 0 deletions

BIN
assets/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -53,6 +53,10 @@ impl App {
.with_size(800, 600)
.center_screen()
.with_label("AblEditor");
let image = fltk::image::PngImage::load("assets/icon.png").unwrap();
main_win.set_icon(Some(image));
let _menu = menu::Menu::new(&s);
let mut frame = fltk::frame::Frame::default();