MX 2 лет назад
Родитель
Сommit
2a6255513e
3 измененных файлов с 3 добавлено и 1 удалено
  1. 1 0
      application.fam
  2. BIN
      assets/DolphinCommon_56x48.png
  3. 2 1
      views/camera_suite_view_camera.h

+ 1 - 0
application.fam

@@ -7,6 +7,7 @@ App(
     fap_category="GPIO",
     fap_category="GPIO",
     fap_description="A camera suite application for the Flipper Zero ESP32-CAM module.",
     fap_description="A camera suite application for the Flipper Zero ESP32-CAM module.",
     fap_icon="icons/camera_suite.png",
     fap_icon="icons/camera_suite.png",
+    fap_icon_assets="assets",
     fap_libs=["assets"],
     fap_libs=["assets"],
     fap_version="1.4",
     fap_version="1.4",
     fap_weburl="https://github.com/CodyTolene/Flipper-Zero-Cam",
     fap_weburl="https://github.com/CodyTolene/Flipper-Zero-Cam",

BIN
assets/DolphinCommon_56x48.png


+ 2 - 1
views/camera_suite_view_camera.h

@@ -17,6 +17,8 @@
 
 
 #include "../helpers/camera_suite_custom_event.h"
 #include "../helpers/camera_suite_custom_event.h"
 
 
+#include <camera_suite_icons.h>
+
 #define BITMAP_HEADER_LENGTH 62
 #define BITMAP_HEADER_LENGTH 62
 #define FRAME_BIT_DEPTH 1
 #define FRAME_BIT_DEPTH 1
 #define FRAME_BUFFER_LENGTH 1024
 #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, 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};
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x00};
 
 
-extern const Icon I_DolphinCommon_56x48;
 typedef enum {
 typedef enum {
     WorkerEventReserved = (1 << 0), // Reserved for StreamBuffer internal event
     WorkerEventReserved = (1 << 0), // Reserved for StreamBuffer internal event
     WorkerEventStop = (1 << 1),
     WorkerEventStop = (1 << 1),