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!ia0y~yU=RRd4rT@h1`S>QUDkB?7JPcL`Xm>FlWxFBR{g46!SsN;P(H>Van-8AX-?zvVk zujMf?Fff$_`2{oh*8Te+%D}*oFVdQ&MBb@0Q!_z AqyPW_ literal 0 HcmV?d00001 diff --git a/Base/res/icons/32x32/app-video-player.png b/Base/res/icons/32x32/app-video-player.png new file mode 100644 index 0000000000000000000000000000000000000000..7b623f41dd0c697e08657370f7a360711ab49c76 GIT binary patch literal 478 zcmeAS@N?(olHy`uVBq!ia0y~yU{C;I4rT@h2A3sW#~2tGasqrpTp7SXSy@?4O-)^0 zU0Yk*)YR16+}y^-#@5!>)z#I<$0r~lASfs(Dk>^EIyxgGBgam;+*PAH)M#3`^~^Yn zr3p^UN~2fTW$bT^I@FndtUc}I#G*6Pt1m8Uy*ahu>844~w#|6Ecfq>@OO@VTy~Du3 zz*G|C7tG*W_wR!!0|TSHr;B5V#p$V+8uOYJL|6l+UNU-~k=j&p>*0t0{|o!OOI@QT z+xq%cz1!`0c~OOB&&H(iqk$V@mv&F}pHf^Va?w>z!0F1@M^}Q=ZkfC{Rb4bKb=ldS znRfTG{)L=Bebn;*^hxWzPWm_}gimj~zH3gR`@`2Ca-1CEp0wskvia}wH@Ujdsvt}3 zyL_^X+fv2#0v)_Tb~^JvwUyR?-OpxUoqhab_5IhcOJ}L|wr7W?3n;ulKKpy|qu>vX z3lDxXFIq1geo&U_$(8?;ceO2UoP7RsTKx8cR)(M3{s&7}bTj;XRueUwFHhjc5A(O> z#|~PvocR5v=GYF#cS+9qlWXVPKRA8+hR27$2PfX&DJCcV=11vw#{1@T{0}~kRyk}Y e{4ewAyFW}(T6!wlOTVrM#gnJ2pUXO@geCxC6xM #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(); }