From e00b16460ca06f913d4bf4414c5bdd0b300560d1 Mon Sep 17 00:00:00 2001 From: Slimey <117548228+sl1m3yy@users.noreply.github.com> Date: Sun, 6 Nov 2022 16:15:20 +0000 Subject: [PATCH] Base+VideoPlayer: Add an icon for video player Co-authored-by: TreuKS --- Base/res/icons/16x16/app-video-player.png | Bin 0 -> 254 bytes Base/res/icons/32x32/app-video-player.png | Bin 0 -> 478 bytes Userland/Applications/VideoPlayer/CMakeLists.txt | 2 +- .../VideoPlayer/VideoPlayerWidget.cpp | 2 +- Userland/Applications/VideoPlayer/main.cpp | 3 +++ 5 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 Base/res/icons/16x16/app-video-player.png create mode 100644 Base/res/icons/32x32/app-video-player.png diff --git a/Base/res/icons/16x16/app-video-player.png b/Base/res/icons/16x16/app-video-player.png new file mode 100644 index 0000000000000000000000000000000000000000..c7ba87be6e86838cbce6540a39b4763e4b3a3cd1 GIT binary patch literal 254 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!eSlAhE06{PH8nMLb#-lRZF6&T z8yg!tJ3Cib*Wlpb`1ttr^z?F9jhS&4iwi=QCOGYHj5^+zb8~9J(@m3J@1AS*@>(8H zKT}DNUoeAj-MY9h{b$2&*Nh2^6ZwL?ln+WzGJItm)4%)O^;OTWILPaZ u#oa%*DRM=7Rbaoinb~)3KC54jKRzD=RfMH8(dmJUl!-Jv~K5MNCXgP*6}(Qc_x4T3cINXlQ6`J|lNU zD2r7xmRCEOUO1&-LZ)?FtA1#|fm*_eXU2zS$&qr*mwVBoh1r#G<+76IwwUd`pzgq> zBJS1P00002bW%=J08M`W@D%_60Ut?3K~y-)mC}K3gCGlRZsLdhWYH)1r7ejIm-@#Zj+5xzCXI({Rc8<&@5h_>bK+C*fuX_n zH*&8NSHT?u #include +#include #include #include @@ -33,5 +34,7 @@ ErrorOr serenity_main(Main::Arguments arguments) main_widget->open_file(filename); window->show(); + window->set_icon(GUI::Icon::default_icon("app-video-player"sv).bitmap_for_size(16)); + return app->exec(); }