Skip to content

Commit

Permalink
test nice view
Browse files Browse the repository at this point in the history
  • Loading branch information
tokyo2006 committed Aug 21, 2024
1 parent 9778383 commit dcb69d9
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 1 deletion.
126 changes: 126 additions & 0 deletions config/boards/shields/nice_view/widgets/art.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,4 +314,130 @@ const lv_img_dsc_t wukong = {
.header.h = 68,
.data_size = 1232,
.data = wukong_map,
};



#ifndef LV_ATTRIBUTE_IMG_LONGZHU
#define LV_ATTRIBUTE_IMG_LONGZHU
#endif

const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_LONGZHU uint8_t longzhu_map[] = {
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/

0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0,
0xdb, 0x6d, 0xb6, 0xdb, 0x6d, 0xb6, 0xdb, 0x6d, 0xab, 0x6d, 0xbb, 0x6d, 0xbb, 0x6d, 0xdb, 0x76, 0xef, 0xf0,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfd, 0xb0,
0xff, 0xff, 0xdf, 0xff, 0xff, 0xdf, 0x7f, 0xbf, 0xfd, 0xff, 0xdf, 0xff, 0xef, 0xff, 0x7f, 0xdf, 0xbf, 0xf0,
0xb6, 0xdb, 0x7d, 0xb6, 0xdb, 0x7d, 0xf5, 0xed, 0xb7, 0xb6, 0xf6, 0xdb, 0x7e, 0xdb, 0xf6, 0xfd, 0xff, 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, 0xff, 0xbf, 0xff, 0xfb, 0xff, 0xde, 0xd0,
0xf6, 0xff, 0x7b, 0xdf, 0xff, 0x77, 0xfd, 0xef, 0xfb, 0x7f, 0xbf, 0xfe, 0xfd, 0xb7, 0xbf, 0xfb, 0xff, 0xf0,
0xf2, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xea, 0xf7, 0xff, 0xfd, 0xff, 0xb7, 0xef, 0xff, 0xee, 0xde, 0xfd, 0xf0,
0xff, 0x7f, 0xef, 0x7f, 0xfe, 0xf7, 0xbb, 0xff, 0xbf, 0xff, 0xef, 0xff, 0xff, 0xfd, 0xff, 0xff, 0xdf, 0x70,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfb, 0xdf, 0xfd, 0xb7, 0x7e, 0xff, 0x7b, 0x6f, 0xfb, 0xf7, 0xfb, 0xf0,
0xff, 0xff, 0x7d, 0xef, 0x7f, 0x7f, 0xef, 0xfd, 0xf7, 0xff, 0xfb, 0xdb, 0xff, 0xff, 0x7f, 0x7e, 0xff, 0xd0,
0xff, 0xff, 0xff, 0xfd, 0xff, 0xfa, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xef, 0xfb, 0xef, 0xff, 0xee, 0xf0,
};

const lv_img_dsc_t longzhu = {
.header.cf = LV_IMG_CF_INDEXED_1BIT,
.header.always_zero = 0,
.header.reserved = 0,
.header.w = 140,
.header.h = 104,
.data_size = 1880,
.data = longzhu_map,
};
3 changes: 2 additions & 1 deletion config/boards/shields/nice_view/widgets/peripheral_status.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
LV_IMG_DECLARE(balloon);
LV_IMG_DECLARE(mountain);
LV_IMG_DECLARE(wukong);
LV_IMG_DECLARE(longzhu);

static sys_slist_t widgets = SYS_SLIST_STATIC_INIT(&widgets);

Expand Down Expand Up @@ -117,7 +118,7 @@ int zmk_widget_status_init(struct zmk_widget_status *widget, lv_obj_t *parent) {

lv_obj_t *art = lv_img_create(widget->obj);
bool random = sys_rand32_get() & 1;
lv_img_set_src(art, &wukong);
lv_img_set_src(art, &longzhu);
lv_obj_align(art, LV_ALIGN_TOP_LEFT, 0, 0);

sys_slist_append(&widgets, &widget->node);
Expand Down

0 comments on commit dcb69d9

Please sign in to comment.