diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-17 22:31:59 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-17 22:31:59 +0900 |
commit | fa75caf9f74bb5ad69cc953d52ba26667b7d9562 (patch) | |
tree | 93aedc0957c4d1e9024eff90e08bc6e8a4fb4a90 /fmdsp/fmdsp_sprites.h | |
parent | 10aa49dcf1e28f1cb7365123644196ad6a31a5e2 (diff) |
fmdsp: display current filename
Diffstat (limited to 'fmdsp/fmdsp_sprites.h')
-rw-r--r-- | fmdsp/fmdsp_sprites.h | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/fmdsp/fmdsp_sprites.h b/fmdsp/fmdsp_sprites.h index ba1a3e9..de6c839 100644 --- a/fmdsp/fmdsp_sprites.h +++ b/fmdsp/fmdsp_sprites.h @@ -44,6 +44,16 @@ enum { PLAYING_Y = 324, PLAYING_W = 72, PLAYING_H = 9, + FILEBAR_X = 80, + FILEBAR_MUSIC_X = FILEBAR_X + 5, + FILEBAR_FILE_X = FILEBAR_MUSIC_X + 26, + FILEBAR_W = 2, + FILEBAR_H = 7, + FILEBAR_TRI_X = FILEBAR_FILE_X + 22, + FILEBAR_TRI_Y = PLAYING_Y+4, + FILEBAR_TRI_W = 3, + FILEBAR_TRI_H = 3, + FILEBAR_FILENAME_X = FILEBAR_TRI_X + 8, }; enum { @@ -188,7 +198,7 @@ static const uint8_t s_palettes[PALETTE_NUM][FMDSP_PALETTE_COLORS*3] = { #undef LCD -static const uint8_t s_num[10][NUM_W*NUM_H] = { +static const uint8_t s_num[11][NUM_W*NUM_H] = { { 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 2, 0, 0, 0, 3, 0, @@ -318,6 +328,19 @@ static const uint8_t s_num[10][NUM_W*NUM_H] = { 0, 3, 0, 0, 0, 2, 0, 0, 0, 3, 0, 0, 0, 2, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, + }, + { + 0, 0, 0, 3, 3, 3, 0, 0, + 0, 0, 3, 0, 0, 0, 3, 0, + 0, 0, 3, 0, 0, 0, 3, 0, + 0, 0, 3, 0, 0, 0, 3, 0, + 0, 0, 3, 0, 0, 0, 3, 0, + 0, 0, 0, 3, 3, 0, 0, 0, + 0, 3, 0, 0, 0, 3, 0, 0, + 0, 3, 0, 0, 0, 3, 0, 0, + 0, 3, 0, 0, 0, 3, 0, 0, + 0, 3, 0, 0, 0, 3, 0, 0, + 0, 0, 3, 3, 3, 0, 0, 0, } }; static const uint8_t s_key_bg[KEY_W*KEY_H] = { @@ -419,3 +442,18 @@ static const uint8_t s_playing[PLAYING_W*PLAYING_H] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, }; +static const uint8_t s_filebar[FILEBAR_W*FILEBAR_H] = { + 2, 2, + 2, 2, + 2, 2, + 2, 2, + 2, 2, + 2, 2, + 2, 2, +}; + +static const uint8_t s_filebar_tri[FILEBAR_TRI_W*FILEBAR_TRI_H] = { + 2, 0, 0, + 2, 2, 0, + 2, 2, 2, +}; |