Przeglądaj źródła

fix missing icon usage

MX 2 lat temu
rodzic
commit
d8fc459366

+ 1 - 0
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",

BIN
base_pack/camera_suite/assets/DolphinCommon_56x48.png


+ 2 - 1
base_pack/camera_suite/views/camera_suite_view_camera.h

@@ -17,6 +17,8 @@
 
 #include "../helpers/camera_suite_custom_event.h"
 
+#include <camera_suite_icons.h>
+
 #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),

BIN
base_pack/unitemp/assets/DolphinCommon_56x48.png


+ 0 - 2
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(