mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
On second thoughts, let's compile Matrix for all non-mono bitmap displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15829 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4fb825eed9
commit
a8f900384b
3 changed files with 12 additions and 6 deletions
|
@ -44,6 +44,7 @@ disktidy.c
|
||||||
flipit.c
|
flipit.c
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP /* Not for the Player */
|
#ifdef HAVE_LCD_BITMAP /* Not for the Player */
|
||||||
|
matrix.c
|
||||||
maze.c
|
maze.c
|
||||||
mazezam.c
|
mazezam.c
|
||||||
text_editor.c
|
text_editor.c
|
||||||
|
@ -111,7 +112,6 @@ fireworks.c
|
||||||
xobox.c
|
xobox.c
|
||||||
spacerocks.c
|
spacerocks.c
|
||||||
#if LCD_DEPTH >= 16
|
#if LCD_DEPTH >= 16
|
||||||
matrix.c
|
|
||||||
rockpaint.c
|
rockpaint.c
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -411,9 +411,6 @@ solitaire_suitsi.13x52x1.bmp
|
||||||
|
|
||||||
/* Star */
|
/* Star */
|
||||||
#ifdef HAVE_LCD_COLOR
|
#ifdef HAVE_LCD_COLOR
|
||||||
/* matrix */
|
|
||||||
matrix_bold.bmp
|
|
||||||
matrix_normal.bmp
|
|
||||||
#if LCD_WIDTH >= 320 && LCD_HEIGHT >= 188
|
#if LCD_WIDTH >= 320 && LCD_HEIGHT >= 188
|
||||||
star_tiles.20x20.bmp
|
star_tiles.20x20.bmp
|
||||||
#elif LCD_WIDTH >= 240 && LCD_HEIGHT >= 143
|
#elif LCD_WIDTH >= 240 && LCD_HEIGHT >= 143
|
||||||
|
@ -507,4 +504,10 @@ superdom_boarditems.240x320x16.bmp
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if LCD_DEPTH > 1
|
||||||
|
/* matrix */
|
||||||
|
matrix_bold.bmp
|
||||||
|
matrix_normal.bmp
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* HAVE_LCD_BITMAP */
|
#endif /* HAVE_LCD_BITMAP */
|
||||||
|
|
|
@ -47,12 +47,15 @@ extern const fb_data matrix_normal[];
|
||||||
#define LEFTMARGIN (LCD_WIDTH-(COLS*COL_W))/2
|
#define LEFTMARGIN (LCD_WIDTH-(COLS*COL_W))/2
|
||||||
#define TOPMARGIN (LCD_HEIGHT-(ROWS*COL_H))/2
|
#define TOPMARGIN (LCD_HEIGHT-(ROWS*COL_H))/2
|
||||||
|
|
||||||
#if (CONFIG_KEYPAD == IPOD_4G_PAD)
|
#if (CONFIG_KEYPAD == IPOD_4G_PAD) || \
|
||||||
|
(CONFIG_KEYPAD == IPOD_3G_PAD) || \
|
||||||
|
(CONFIG_KEYPAD == IPOD_1G2G_PAD)
|
||||||
#define MATRIX_EXIT BUTTON_MENU
|
#define MATRIX_EXIT BUTTON_MENU
|
||||||
#define MATRIX_SLEEP_MORE BUTTON_SCROLL_BACK|BUTTON_REPEAT
|
#define MATRIX_SLEEP_MORE BUTTON_SCROLL_BACK|BUTTON_REPEAT
|
||||||
#define MATRIX_SLEEP_LESS BUTTON_SCROLL_FWD|BUTTON_REPEAT
|
#define MATRIX_SLEEP_LESS BUTTON_SCROLL_FWD|BUTTON_REPEAT
|
||||||
#define MATRIX_PAUSE BUTTON_PLAY
|
#define MATRIX_PAUSE BUTTON_PLAY
|
||||||
#elif (CONFIG_KEYPAD == IRIVER_H300_PAD)
|
#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
|
||||||
|
(CONFIG_KEYPAD == IRIVER_H300_PAD)
|
||||||
#define MATRIX_EXIT BUTTON_OFF
|
#define MATRIX_EXIT BUTTON_OFF
|
||||||
#define MATRIX_SLEEP_MORE BUTTON_UP
|
#define MATRIX_SLEEP_MORE BUTTON_UP
|
||||||
#define MATRIX_SLEEP_LESS BUTTON_DOWN
|
#define MATRIX_SLEEP_LESS BUTTON_DOWN
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue