adding in a taskbar icon
This commit is contained in:
parent
55d3bc77a9
commit
cb225aca28
BIN
assets/icon.png
Normal file
BIN
assets/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue