From b56372bbcb016376cf841fb81b1107832a3fada1 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 19 Aug 2021 22:00:36 -0400 Subject: Plugin Api add core bitmaps share all the core icons with plugins these are all small mono icons like usb plug icon or play, fast forward, rewind icons --include the icon_helper function Change-Id: I385028815a4dd368515f491a9e19dee3d500252d --- apps/recorder/icons.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/recorder/icons.c') diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c index cc53716674..de623d28b7 100644 --- a/apps/recorder/icons.c +++ b/apps/recorder/icons.c @@ -122,3 +122,11 @@ const unsigned char bitmap_icon_disk[12] = {0x00,0x00,0x00,0x1c,0x2e,0x4f,0x77,0x79,0x3a,0x1c,0x00,0x00}; #endif +const struct cbmp_bitmap_info_entry core_bitmaps[CBMP_BitmapFormatLast] = /* */ +{ +/* index, pointer, w, h, count */ +[CBMP_Mono_5x8] = {bitmap_icons_5x8[0], 5,8, Icon5x8Last}, +[CBMP_Mono_7x8] = {bitmap_icons_7x8[0], 7, 8, Icon7x8Last}, +[CBMP_Mono_12x8] = {bitmap_icon_disk, 12, 8, 1}, +}; + -- cgit v1.2.3