Rename passport_DB to passport_128x64

This commit is contained in:
Willy-JL
2024-03-03 03:10:10 +00:00
parent 15341d88f7
commit 270d271258
4 changed files with 3 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ static void render_callback(Canvas* canvas, void* _ctx) {
}
// multipass
canvas_draw_icon(canvas, 0, 0, &I_passport_DB);
canvas_draw_icon(canvas, 0, 0, &I_passport_128x64);
// portrait
furi_assert((stats->level > 0) && (stats->level <= DOLPHIN_LEVEL_COUNT + 1));

View File

Before

Width:  |  Height:  |  Size: 750 B

After

Width:  |  Height:  |  Size: 750 B

View File

@@ -93,7 +93,7 @@ SD/
|...
|-Passport/
|-passport_happy_46x49.bmx
|-passport_DB.bmx
|-passport_128x64.bmx
|...
|-RFID/
|-RFIDDolphinReceive_97x61.bmx
@@ -107,7 +107,6 @@ Which is the same you can find in the firmware source code, in `assets/icons`. T
- The pixel numbers in the filename are ignored, they are there purely because of the original Flipper icon names and for a hint as to how you should size your icons, but they are not enforced.
- We kept the original naming scheme and file structure for compatibility, but the original setup is quite bad, so bear with us. Some icons in subfolders (like `SubGhz/Scanning_123x52`) are used in other unrelated apps/places.
- Some icons in the official firmware have different versions with different numbers to indicate the flipper level they target. Since our system has so many levels, we decided to keep it simple and remove the level progression from icons. For example `Passport/passport_happy1_46x49` becomes `Passport/passport_happy_46x49` and `Animations/Levelup1_128x64` becomes `Animations/Levelup_128x64`.
- The `Passport/passport_DB` is the background for the passport page, it doesn't mention a pixel size because it should be the same as the Flipper screen size (128x64).
This system supports **all** internal assets!

View File

@@ -3907,7 +3907,7 @@ Variable,+,I_next_text_19x6,Icon,
Variable,+,I_off_19x20,Icon,
Variable,+,I_off_hover_19x20,Icon,
Variable,+,I_off_text_12x5,Icon,
Variable,+,I_passport_DB,Icon,
Variable,+,I_passport_128x64,Icon,
Variable,+,I_passport_bad_46x49,Icon,
Variable,+,I_passport_happy_46x49,Icon,
Variable,+,I_passport_okay_46x49,Icon,
1 entry status name type params
3907 Variable + I_off_19x20 Icon
3908 Variable + I_off_hover_19x20 Icon
3909 Variable + I_off_text_12x5 Icon
3910 Variable + I_passport_DB I_passport_128x64 Icon
3911 Variable + I_passport_bad_46x49 Icon
3912 Variable + I_passport_happy_46x49 Icon
3913 Variable + I_passport_okay_46x49 Icon