From d8fc459366d7bb99043b15bf31bc834f8849fcc9 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sun, 7 Jan 2024 18:07:04 +0300 Subject: [PATCH] fix missing icon usage --- base_pack/camera_suite/application.fam | 1 + .../camera_suite/assets/DolphinCommon_56x48.png | Bin 0 -> 1416 bytes .../views/camera_suite_view_camera.h | 3 ++- base_pack/unitemp/assets/DolphinCommon_56x48.png | Bin 0 -> 1416 bytes base_pack/unitemp/views/Widgets_view.c | 2 -- 5 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 base_pack/camera_suite/assets/DolphinCommon_56x48.png create mode 100644 base_pack/unitemp/assets/DolphinCommon_56x48.png diff --git a/base_pack/camera_suite/application.fam b/base_pack/camera_suite/application.fam index dd01bdb921d..09d549fc288 100644 --- a/base_pack/camera_suite/application.fam +++ b/base_pack/camera_suite/application.fam @@ -7,6 +7,7 @@ App( fap_category="GPIO", fap_description="A camera suite application for the Flipper Zero ESP32-CAM module.", fap_icon="icons/camera_suite.png", + fap_icon_assets="assets", fap_libs=["assets"], fap_version="1.4", fap_weburl="https://github.com/CodyTolene/Flipper-Zero-Cam", diff --git a/base_pack/camera_suite/assets/DolphinCommon_56x48.png b/base_pack/camera_suite/assets/DolphinCommon_56x48.png new file mode 100644 index 0000000000000000000000000000000000000000..089aaed83507431993a76ca25d32fdd9664c1c84 GIT binary patch literal 1416 zcmaJ>eNYr-7(dh;KXS5&nWVIBjS_NizYg|x=Pr^vz*7zxJO|P-dw2IeZq?gec9-rD zoPZchQ_6}yP{Slc4I!!28K==nodOJ_nsCY-(wOq2uZbLx!rlYU{KIi)_Wj!D_j`WN z^FGgREXdEDF)ewT&1Re7Tj(uBvlG44lnH3;I%IzsO|z`*Vr!`uv?9QOwgs{#Ld+Ki zC9n_zxxBOkx@@+IwMwAaD)#3Ik`}gun2kLe))Crfb7e+#AgzHGCc+X$b>qJuIf`S7 z?8b}I{ghw#z>uiaLknQh@LJUrqHcVYS3v97F^OZN zCe|7^J|?QzUx0Zu17e(=CM1fYFpjtLk|a4~$g}e?hGH0!VoBOT&<=s(1ct%J9~?O} z$)jW_dkX9yTX~%W*i_IM%0{ z7EmP^_pKn`<5>E(SixgJU};7`)7Hidp&+DLnizsebUk}_-GfgbN^il9b`v)f+ z{o5Zry)d<7`fHQ^uw_;+x>mcPw0&8iW69x{k92O{Q}`yFdH=5d$pbf49w1&NS)G+vhr6y}5TMsofQirRDUmKilk5=(KGouJ{H9hW=$X zgi;)vI!jl!_4H3jD(?Jz=8By|i47I&tKA1y9{nfp;_|FxKBDNWp{hN9hJ1nU?z%J6 z?>UxyzWvO}Pgc~rCZ#5%Eq+_hNS~bBdiGlT&f%%e`hHjSySR2=JuK2^+%;$R3#Wz~ z=e_mfqW23bPa0fhe)HdE5+GelU&!jS3ckUZOQ)CC5?mo zo=tzG_4|RuvPUO|mhCwA>y)1c%SWC%a4?a-x|J*?ch~+n=R7o@>p6J2dE=$stKZmK z-xoTRwET2^Wu)&1U7!Ebw!!D?x`xwQX3pMnrRwCT?`4GHt4&?|cIiI{_^XYp-np>6 xE^lPSXzOYCC4X`6tl@OB1M5_S7jml-Y~(TPp{aTIejNKZ`m*!Atyxdk{0EAy49frj literal 0 HcmV?d00001 diff --git a/base_pack/camera_suite/views/camera_suite_view_camera.h b/base_pack/camera_suite/views/camera_suite_view_camera.h index ca183c09961..6efbbb8129e 100644 --- a/base_pack/camera_suite/views/camera_suite_view_camera.h +++ b/base_pack/camera_suite/views/camera_suite_view_camera.h @@ -17,6 +17,8 @@ #include "../helpers/camera_suite_custom_event.h" +#include + #define BITMAP_HEADER_LENGTH 62 #define FRAME_BIT_DEPTH 1 #define FRAME_BUFFER_LENGTH 1024 @@ -33,7 +35,6 @@ static const unsigned char bitmap_header[BITMAP_HEADER_LENGTH] = { 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x00}; -extern const Icon I_DolphinCommon_56x48; typedef enum { WorkerEventReserved = (1 << 0), // Reserved for StreamBuffer internal event WorkerEventStop = (1 << 1), diff --git a/base_pack/unitemp/assets/DolphinCommon_56x48.png b/base_pack/unitemp/assets/DolphinCommon_56x48.png new file mode 100644 index 0000000000000000000000000000000000000000..089aaed83507431993a76ca25d32fdd9664c1c84 GIT binary patch literal 1416 zcmaJ>eNYr-7(dh;KXS5&nWVIBjS_NizYg|x=Pr^vz*7zxJO|P-dw2IeZq?gec9-rD zoPZchQ_6}yP{Slc4I!!28K==nodOJ_nsCY-(wOq2uZbLx!rlYU{KIi)_Wj!D_j`WN z^FGgREXdEDF)ewT&1Re7Tj(uBvlG44lnH3;I%IzsO|z`*Vr!`uv?9QOwgs{#Ld+Ki zC9n_zxxBOkx@@+IwMwAaD)#3Ik`}gun2kLe))Crfb7e+#AgzHGCc+X$b>qJuIf`S7 z?8b}I{ghw#z>uiaLknQh@LJUrqHcVYS3v97F^OZN zCe|7^J|?QzUx0Zu17e(=CM1fYFpjtLk|a4~$g}e?hGH0!VoBOT&<=s(1ct%J9~?O} z$)jW_dkX9yTX~%W*i_IM%0{ z7EmP^_pKn`<5>E(SixgJU};7`)7Hidp&+DLnizsebUk}_-GfgbN^il9b`v)f+ z{o5Zry)d<7`fHQ^uw_;+x>mcPw0&8iW69x{k92O{Q}`yFdH=5d$pbf49w1&NS)G+vhr6y}5TMsofQirRDUmKilk5=(KGouJ{H9hW=$X zgi;)vI!jl!_4H3jD(?Jz=8By|i47I&tKA1y9{nfp;_|FxKBDNWp{hN9hJ1nU?z%J6 z?>UxyzWvO}Pgc~rCZ#5%Eq+_hNS~bBdiGlT&f%%e`hHjSySR2=JuK2^+%;$R3#Wz~ z=e_mfqW23bPa0fhe)HdE5+GelU&!jS3ckUZOQ)CC5?mo zo=tzG_4|RuvPUO|mhCwA>y)1c%SWC%a4?a-x|J*?ch~+n=R7o@>p6J2dE=$stKZmK z-xoTRwET2^Wu)&1U7!Ebw!!D?x`xwQX3pMnrRwCT?`4GHt4&?|cIiI{_^XYp-np>6 xE^lPSXzOYCC4X`6tl@OB1M5_S7jml-Y~(TPp{aTIejNKZ`m*!Atyxdk{0EAy49frj literal 0 HcmV?d00001 diff --git a/base_pack/unitemp/views/Widgets_view.c b/base_pack/unitemp/views/Widgets_view.c index 97505d92582..0b9a87cd075 100644 --- a/base_pack/unitemp/views/Widgets_view.c +++ b/base_pack/unitemp/views/Widgets_view.c @@ -18,8 +18,6 @@ #include "UnitempViews.h" #include "unitemp_icons.h" -extern const Icon I_DolphinCommon_56x48; - void unitemp_widgets_alloc(void) { app->widget = widget_alloc(); view_dispatcher_add_view(