mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Add asset pack support to external cc1101 scanning
This commit is contained in:
@@ -265,7 +265,7 @@ void subghz_view_receiver_draw(Canvas* canvas, SubGhzViewReceiverModel* model) {
|
||||
canvas,
|
||||
0,
|
||||
0,
|
||||
furi_hal_subghz_get_radio_type() ? &I_Fishing_123x52 : XTREME_ASSETS()->I_Scanning_123x52);
|
||||
furi_hal_subghz_get_radio_type() ? XTREME_ASSETS()->I_Fishing_123x52 : XTREME_ASSETS()->I_Scanning_123x52);
|
||||
canvas_set_font(canvas, FontPrimary);
|
||||
canvas_draw_str(canvas, 63, 46, "Scanning...");
|
||||
//canvas_draw_line(canvas, 46, 51, 125, 51);
|
||||
@@ -275,7 +275,7 @@ void subghz_view_receiver_draw(Canvas* canvas, SubGhzViewReceiverModel* model) {
|
||||
canvas,
|
||||
0,
|
||||
0,
|
||||
furi_hal_subghz_get_radio_type() ? &I_Fishing_123x52 : XTREME_ASSETS()->I_Scanning_123x52);
|
||||
furi_hal_subghz_get_radio_type() ? XTREME_ASSETS()->I_Fishing_123x52 : XTREME_ASSETS()->I_Scanning_123x52);
|
||||
canvas_set_font(canvas, FontPrimary);
|
||||
canvas_draw_str(canvas, 63, 46, "Decoding...");
|
||||
canvas_set_font(canvas, FontSecondary);
|
||||
|
||||
@@ -102,6 +102,7 @@ void swap(XtremeAssets* x, FuriString* p, File* f) {
|
||||
icon(&x->I_RFIDDolphinSend_97x61, "RFID/RFIDDolphinSend_97x61", p, f);
|
||||
icon(&x->I_RFIDDolphinSuccess_108x57, "RFID/RFIDDolphinSuccess_108x57", p, f);
|
||||
icon(&x->I_Cry_dolph_55x52, "Settings/Cry_dolph_55x52", p, f);
|
||||
icon(&x->I_Fishing_123x52, "SubGhz/Fishing_123x52", p, f);
|
||||
icon(&x->I_Scanning_123x52, "SubGhz/Scanning_123x52", p, f);
|
||||
icon(&x->I_Auth_62x31, "U2F/Auth_62x31", p, f);
|
||||
icon(&x->I_Connect_me_62x31, "U2F/Connect_me_62x31", p, f);
|
||||
@@ -131,6 +132,7 @@ void XTREME_ASSETS_LOAD() {
|
||||
xtreme_assets->I_RFIDDolphinSend_97x61 = &I_RFIDDolphinSend_97x61;
|
||||
xtreme_assets->I_RFIDDolphinSuccess_108x57 = &I_RFIDDolphinSuccess_108x57;
|
||||
xtreme_assets->I_Cry_dolph_55x52 = &I_Cry_dolph_55x52;
|
||||
xtreme_assets->I_Fishing_123x52 = &I_Fishing_123x52;
|
||||
xtreme_assets->I_Scanning_123x52 = &I_Scanning_123x52;
|
||||
xtreme_assets->I_Auth_62x31 = &I_Auth_62x31;
|
||||
xtreme_assets->I_Connect_me_62x31 = &I_Connect_me_62x31;
|
||||
|
||||
@@ -25,6 +25,7 @@ typedef struct {
|
||||
const Icon* I_RFIDDolphinSend_97x61;
|
||||
const Icon* I_RFIDDolphinSuccess_108x57;
|
||||
const Icon* I_Cry_dolph_55x52;
|
||||
const Icon* I_Fishing_123x52;
|
||||
const Icon* I_Scanning_123x52;
|
||||
const Icon* I_Auth_62x31;
|
||||
const Icon* I_Connect_me_62x31;
|
||||
|
||||
BIN
assets/dolphin/custom/NSFW/Icons/SubGhz/Fishing_123x52.png
Normal file
BIN
assets/dolphin/custom/NSFW/Icons/SubGhz/Fishing_123x52.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.0 KiB |
BIN
assets/dolphin/custom/WatchDogs/Icons/SubGhz/Fishing_123x52.png
Normal file
BIN
assets/dolphin/custom/WatchDogs/Icons/SubGhz/Fishing_123x52.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user