summaryrefslogtreecommitdiff
path: root/apps/recorder
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-07-19 21:46:37 +0000
committerJens Arnold <amiconn@rockbox.org>2004-07-19 21:46:37 +0000
commit638dd6786a75e5d3e87a9e04f80138d80665f230 (patch)
treeef376ff7e32e88913f833344d33b9810a023187e /apps/recorder
parent5846aab6542104003bf03c29851bc3c12bc8da7a (diff)
downloadrockbox-638dd6786a75e5d3e87a9e04f80138d80665f230.tar.gz
rockbox-638dd6786a75e5d3e87a9e04f80138d80665f230.zip
Const'ed the logo, the bitmaps and the credits (optimization for running from ROM)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4896 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/icons.c10
-rw-r--r--apps/recorder/icons.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c
index b831e59f53..41e584ed35 100644
--- a/apps/recorder/icons.c
+++ b/apps/recorder/icons.c
@@ -28,7 +28,7 @@
28 28
29#include "icons.h" 29#include "icons.h"
30 30
31unsigned char slider_bar[] = 31const unsigned char slider_bar[] =
32{ 32{
33 0x38, 0x28, 0x28, 0x28, 0x28, 33 0x38, 0x28, 0x28, 0x28, 0x28,
34 0x7c, 0x28, 0x28, 0x28, 0x28, 34 0x7c, 0x28, 0x28, 0x28, 0x28,
@@ -40,13 +40,13 @@ unsigned char slider_bar[] =
40 0x7c, 0x28, 0x28, 0x28, 0x28, 0x38 40 0x7c, 0x28, 0x28, 0x28, 0x28, 0x38
41}; 41};
42 42
43unsigned char bitmap_icons_5x8[][5] = 43const unsigned char bitmap_icons_5x8[][5] =
44{ 44{
45 /* Lock */ 45 /* Lock */
46 {0x78,0x7f,0x49,0x7f,0x78} 46 {0x78,0x7f,0x49,0x7f,0x78}
47}; 47};
48 48
49unsigned char bitmap_icons_6x8[LastIcon][6] = 49const unsigned char bitmap_icons_6x8[LastIcon][6] =
50{ 50{
51 { 0x00, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f }, /* Box_Filled */ 51 { 0x00, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f }, /* Box_Filled */
52 { 0x00, 0x7f, 0x41, 0x41, 0x41, 0x7f }, /* Box_Empty */ 52 { 0x00, 0x7f, 0x41, 0x41, 0x41, 0x7f }, /* Box_Empty */
@@ -67,7 +67,7 @@ unsigned char bitmap_icons_6x8[LastIcon][6] =
67 { 0xff, 0x81, 0xaf, 0xaa, 0x8c, 0xf8 }, /* Bookmark file */ 67 { 0xff, 0x81, 0xaf, 0xaa, 0x8c, 0xf8 }, /* Bookmark file */
68}; 68};
69 69
70unsigned char bitmap_icons_7x8[][7] = 70const unsigned char bitmap_icons_7x8[][7] =
71{ 71{
72 {0x08,0x1c,0x3e,0x3e,0x3e,0x14,0x14}, /* Power plug */ 72 {0x08,0x1c,0x3e,0x3e,0x3e,0x14,0x14}, /* Power plug */
73 {0x00,0x1c,0x1c,0x3e,0x7f,0x00,0x00}, /* Speaker */ 73 {0x00,0x1c,0x1c,0x3e,0x7f,0x00,0x00}, /* Speaker */
@@ -86,7 +86,7 @@ unsigned char bitmap_icons_7x8[][7] =
86 {0x20,0x30,0x38,0x3c,0x38,0x30,0x20}, /* Up-arrow */ 86 {0x20,0x30,0x38,0x3c,0x38,0x30,0x20}, /* Up-arrow */
87}; 87};
88 88
89unsigned char rockbox112x37[]={ 89const unsigned char rockbox112x37[]={
90 0x00, 0x00, 0x02, 0xff, 0x02, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 90 0x00, 0x00, 0x02, 0xff, 0x02, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa,
91 0xf8, 0xf8, 0xf0, 0xe0, 0x80, 0x00, 0x00, 0x80, 0xe0, 0xf0, 0xf8, 0xf8, 0xfc, 91 0xf8, 0xf8, 0xf0, 0xe0, 0x80, 0x00, 0x00, 0x80, 0xe0, 0xf0, 0xf8, 0xf8, 0xfc,
92 0x7c, 0x7d, 0xfd, 0xfa, 0xfa, 0xf4, 0xe8, 0x90, 0x60, 0x80, 0xe0, 0x10, 0xc8, 92 0x7c, 0x7d, 0xfd, 0xfa, 0xfa, 0xf4, 0xe8, 0x90, 0x60, 0x80, 0xe0, 0x10, 0xc8,
diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h
index afea0b1ae4..cf7687e0bd 100644
--- a/apps/recorder/icons.h
+++ b/apps/recorder/icons.h
@@ -60,13 +60,13 @@ enum icons_7x8 {
60 Icon_Last 60 Icon_Last
61}; 61};
62 62
63extern unsigned char bitmap_icons_5x8[1][5]; 63extern const unsigned char bitmap_icons_5x8[1][5];
64extern unsigned char bitmap_icons_6x8[LastIcon][6]; 64extern const unsigned char bitmap_icons_6x8[LastIcon][6];
65extern unsigned char bitmap_icons_7x8[Icon_Last][7]; 65extern const unsigned char bitmap_icons_7x8[Icon_Last][7];
66 66
67extern unsigned char rockbox112x37[]; 67extern const unsigned char rockbox112x37[];
68 68
69extern unsigned char slider_bar[]; 69extern const unsigned char slider_bar[];
70 70
71#define STATUSBAR_X_POS 0 71#define STATUSBAR_X_POS 0
72#define STATUSBAR_Y_POS 0 /* MUST be a multiple of 8 */ 72#define STATUSBAR_Y_POS 0 /* MUST be a multiple of 8 */