summaryrefslogtreecommitdiffstats
path: root/apps/recorder/icons.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2021-08-19 22:00:36 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2021-08-26 12:55:34 +0000
commitb56372bbcb016376cf841fb81b1107832a3fada1 (patch)
tree32f0541dca539564502967af95ae3ac1cdf3704a /apps/recorder/icons.h
parentcbf1970b563e5fd5ef5b20f7dde47db80343bd30 (diff)
downloadrockbox-b56372bbcb016376cf841fb81b1107832a3fada1.tar.gz
rockbox-b56372bbcb016376cf841fb81b1107832a3fada1.zip
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
Diffstat (limited to 'apps/recorder/icons.h')
-rw-r--r--apps/recorder/icons.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h
index 249453a943..944f319415 100644
--- a/apps/recorder/icons.h
+++ b/apps/recorder/icons.h
@@ -32,7 +32,25 @@
#ifdef HAVE_REMOTE_LCD
#include "bitmaps/remote_rockboxlogo.h"
#endif
+#endif /* PLUGIN */
+
+struct cbmp_bitmap_info_entry /* */
+{
+ const unsigned char* pbmp;
+ unsigned char width;
+ unsigned char height; /* !ASSUMES MULTIPLES OF 8! */
+ unsigned char count;
+};
+
+enum cbmp_bitmap_format
+{
+ CBMP_Mono_5x8 = 0,
+ CBMP_Mono_7x8,
+ CBMP_Mono_12x8,
+ CBMP_BitmapFormatLast
+};
+extern const struct cbmp_bitmap_info_entry core_bitmaps[CBMP_BitmapFormatLast];
/* Symbolic names for icons */
enum icons_5x8 {
@@ -65,6 +83,12 @@ enum icons_7x8 {
Icon7x8Last
};
+enum icons_12x8 {
+ Icon_Disk,
+ Icon12x8Last
+};
+
+#ifndef PLUGIN
#if defined (HAVE_RECORDING)
#define BM_GLYPH_WIDTH 4
enum Glyphs_4x8 {