diff options
author | Jens Arnold <amiconn@rockbox.org> | 2004-07-19 21:46:37 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2004-07-19 21:46:37 +0000 |
commit | 638dd6786a75e5d3e87a9e04f80138d80665f230 (patch) | |
tree | ef376ff7e32e88913f833344d33b9810a023187e /apps/recorder | |
parent | 5846aab6542104003bf03c29851bc3c12bc8da7a (diff) |
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.c | 10 | ||||
-rw-r--r-- | apps/recorder/icons.h | 10 |
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 @@ #include "icons.h" -unsigned char slider_bar[] = +const unsigned char slider_bar[] = { 0x38, 0x28, 0x28, 0x28, 0x28, 0x7c, 0x28, 0x28, 0x28, 0x28, @@ -40,13 +40,13 @@ unsigned char slider_bar[] = 0x7c, 0x28, 0x28, 0x28, 0x28, 0x38 }; -unsigned char bitmap_icons_5x8[][5] = +const unsigned char bitmap_icons_5x8[][5] = { /* Lock */ {0x78,0x7f,0x49,0x7f,0x78} }; -unsigned char bitmap_icons_6x8[LastIcon][6] = +const unsigned char bitmap_icons_6x8[LastIcon][6] = { { 0x00, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f }, /* Box_Filled */ { 0x00, 0x7f, 0x41, 0x41, 0x41, 0x7f }, /* Box_Empty */ @@ -67,7 +67,7 @@ unsigned char bitmap_icons_6x8[LastIcon][6] = { 0xff, 0x81, 0xaf, 0xaa, 0x8c, 0xf8 }, /* Bookmark file */ }; -unsigned char bitmap_icons_7x8[][7] = +const unsigned char bitmap_icons_7x8[][7] = { {0x08,0x1c,0x3e,0x3e,0x3e,0x14,0x14}, /* Power plug */ {0x00,0x1c,0x1c,0x3e,0x7f,0x00,0x00}, /* Speaker */ @@ -86,7 +86,7 @@ unsigned char bitmap_icons_7x8[][7] = {0x20,0x30,0x38,0x3c,0x38,0x30,0x20}, /* Up-arrow */ }; -unsigned char rockbox112x37[]={ +const unsigned char rockbox112x37[]={ 0x00, 0x00, 0x02, 0xff, 0x02, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xf8, 0xf8, 0xf0, 0xe0, 0x80, 0x00, 0x00, 0x80, 0xe0, 0xf0, 0xf8, 0xf8, 0xfc, 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 { Icon_Last }; -extern unsigned char bitmap_icons_5x8[1][5]; -extern unsigned char bitmap_icons_6x8[LastIcon][6]; -extern unsigned char bitmap_icons_7x8[Icon_Last][7]; +extern const unsigned char bitmap_icons_5x8[1][5]; +extern const unsigned char bitmap_icons_6x8[LastIcon][6]; +extern const unsigned char bitmap_icons_7x8[Icon_Last][7]; -extern unsigned char rockbox112x37[]; +extern const unsigned char rockbox112x37[]; -extern unsigned char slider_bar[]; +extern const unsigned char slider_bar[]; #define STATUSBAR_X_POS 0 #define STATUSBAR_Y_POS 0 /* MUST be a multiple of 8 */ |