-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #518 from Foundation-Devices/SFT-1728-temporary-seeds
SFT-1728: temporary seeds
- Loading branch information
Showing
30 changed files
with
549 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// SPDX-FileCopyrightText: © 2024 Foundation Devices, Inc. <[email protected]> | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
// | ||
|
||
#ifdef LV_LVGL_H_INCLUDE_SIMPLE | ||
#include "lvgl.h" | ||
#else | ||
#include "lvgl/lvgl.h" | ||
#endif | ||
|
||
#ifndef LV_ATTRIBUTE_MEM_ALIGN | ||
#define LV_ATTRIBUTE_MEM_ALIGN | ||
#endif | ||
|
||
#ifndef LV_ATTRIBUTE_IMG_ICON_HOURGLASS | ||
#define LV_ATTRIBUTE_IMG_ICON_HOURGLASS | ||
#endif | ||
|
||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_ICON_HOURGLASS uint8_t ICON_HOURGLASS_map[] = { | ||
0x00, 0x00, 0x00, 0x00, /*Color of index 0*/ | ||
0xfe, 0xfe, 0xfe, 0xff, /*Color of index 1*/ | ||
0x00, 0x00, 0x00, 0x00, /*Color of index 2*/ | ||
0x00, 0x00, 0x00, 0x00, /*Color of index 3*/ | ||
|
||
0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x05, 0x55, 0x55, 0x55, 0x50, | ||
0x01, 0x15, 0x55, 0x54, 0x40, | ||
0x01, 0x05, 0x55, 0x50, 0x40, | ||
0x01, 0x41, 0x55, 0x41, 0x40, | ||
0x00, 0x50, 0x00, 0x05, 0x00, | ||
0x00, 0x14, 0x14, 0x14, 0x00, | ||
0x00, 0x05, 0x00, 0x50, 0x00, | ||
0x00, 0x01, 0x41, 0x40, 0x00, | ||
0x00, 0x01, 0x41, 0x40, 0x00, | ||
0x00, 0x05, 0x00, 0x50, 0x00, | ||
0x00, 0x14, 0x14, 0x14, 0x00, | ||
0x00, 0x50, 0x55, 0x05, 0x00, | ||
0x01, 0x41, 0x55, 0x41, 0x40, | ||
0x01, 0x05, 0x55, 0x50, 0x40, | ||
0x01, 0x15, 0x55, 0x54, 0x40, | ||
0x05, 0x55, 0x55, 0x55, 0x50, | ||
0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, | ||
}; | ||
|
||
const lv_img_dsc_t ICON_HOURGLASS = { | ||
.header.cf = LV_IMG_CF_INDEXED_2BIT, | ||
.header.always_zero = 0, | ||
.header.reserved = 0, | ||
.header.w = 20, | ||
.header.h = 20, | ||
.data_size = 116, | ||
.data = ICON_HOURGLASS_map, | ||
}; |
Binary file added
BIN
+4.63 KB
ports/stm32/boards/Passport/images/color/ICON_HOURGLASS__CF_INDEXED_2_BIT.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// SPDX-FileCopyrightText: © 2022 Foundation Devices, Inc. <[email protected]> | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
// | ||
|
||
#ifdef LV_LVGL_H_INCLUDE_SIMPLE | ||
#include "lvgl.h" | ||
#else | ||
#include "lvgl/lvgl.h" | ||
#endif | ||
#ifndef LV_ATTRIBUTE_MEM_ALIGN | ||
#define LV_ATTRIBUTE_MEM_ALIGN | ||
#endif | ||
|
||
#ifndef LV_ATTRIBUTE_IMG_ICON_HOURGLASS | ||
#define LV_ATTRIBUTE_IMG_ICON_HOURGLASS | ||
#endif | ||
|
||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_IMG_ICON_HOURGLASS uint8_t ICON_HOURGLASS_map[] = { | ||
0x00, 0x00, 0x00, 0x00, /*Color of index 0*/ | ||
0xfe, 0xfe, 0xfe, 0xff, /*Color of index 1*/ | ||
|
||
0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, | ||
0x3f, 0xff, 0xc0, | ||
0x17, 0xfe, 0x80, | ||
0x13, 0xfc, 0x80, | ||
0x19, 0xf9, 0x80, | ||
0x0c, 0x03, 0x00, | ||
0x06, 0x66, 0x00, | ||
0x03, 0x0c, 0x00, | ||
0x01, 0x98, 0x00, | ||
0x01, 0x98, 0x00, | ||
0x03, 0x0c, 0x00, | ||
0x06, 0x66, 0x00, | ||
0x0c, 0xf3, 0x00, | ||
0x19, 0xf9, 0x80, | ||
0x13, 0xfc, 0x80, | ||
0x17, 0xfe, 0x80, | ||
0x3f, 0xff, 0xc0, | ||
0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, | ||
}; | ||
|
||
const lv_img_dsc_t ICON_HOURGLASS = { | ||
.header.cf = LV_IMG_CF_INDEXED_1BIT, | ||
.header.always_zero = 0, | ||
.header.reserved = 0, | ||
.header.w = 20, | ||
.header.h = 20, | ||
.data_size = 68, | ||
.data = ICON_HOURGLASS_map, | ||
}; |
54 changes: 54 additions & 0 deletions
54
ports/stm32/boards/Passport/images/mono/ICON_HOURGLASS_BACKGROUND.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// SPDX-FileCopyrightText: © 2024 Foundation Devices, Inc. <[email protected]> | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
// | ||
|
||
#ifdef LV_LVGL_H_INCLUDE_SIMPLE | ||
#include "lvgl.h" | ||
#else | ||
#include "lvgl/lvgl.h" | ||
#endif | ||
#ifndef LV_ATTRIBUTE_MEM_ALIGN | ||
#define LV_ATTRIBUTE_MEM_ALIGN | ||
#endif | ||
|
||
#ifndef LV_ATTRIBUTE_IMG_ICON_HOURGLASS_BACKGROUND | ||
#define LV_ATTRIBUTE_IMG_ICON_HOURGLASS_BACKGROUND | ||
#endif | ||
|
||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_IMG_ICON_HOURGLASS_BACKGROUND uint8_t ICON_HOURGLASS_BACKGROUND_map[] = { | ||
0x00, 0x00, 0x00, 0x00, /*Color of index 0*/ | ||
0xff, 0xff, 0xff, 0xff, /*Color of index 1*/ | ||
|
||
0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, | ||
0x3f, 0xff, 0xf0, | ||
0x3f, 0xff, 0xf0, | ||
0x3f, 0xff, 0xf0, | ||
0x1f, 0xff, 0xe0, | ||
0x1f, 0xff, 0xe0, | ||
0x1f, 0xff, 0xe0, | ||
0x0f, 0xff, 0xc0, | ||
0x07, 0xff, 0x80, | ||
0x03, 0xff, 0x00, | ||
0x03, 0xff, 0x00, | ||
0x07, 0xff, 0x80, | ||
0x0f, 0xff, 0xc0, | ||
0x1f, 0xff, 0xe0, | ||
0x1f, 0xff, 0xe0, | ||
0x1f, 0xff, 0xe0, | ||
0x3f, 0xff, 0xf0, | ||
0x3f, 0xff, 0xf0, | ||
0x3f, 0xff, 0xf0, | ||
0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, | ||
}; | ||
|
||
const lv_img_dsc_t ICON_HOURGLASS_BACKGROUND = { | ||
.header.cf = LV_IMG_CF_INDEXED_1BIT, | ||
.header.always_zero = 0, | ||
.header.reserved = 0, | ||
.header.w = 22, | ||
.header.h = 22, | ||
.data_size = 74, | ||
.data = ICON_HOURGLASS_BACKGROUND_map, | ||
}; |
Binary file added
BIN
+192 Bytes
...m32/boards/Passport/images/mono/ICON_HOURGLASS_BACKGROUND__CF_INDEXED_1_BIT.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+220 Bytes
ports/stm32/boards/Passport/images/mono/ICON_HOURGLASS__CF_INDEXED_1_BIT.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.