diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-27 23:29:30 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-27 23:29:30 +0900 |
commit | e2ee18347d45e4620a8279afb8b0bc4a809441ef (patch) | |
tree | 04045a1e15a48c995b1b5f2c463f21144aec322e /fmdsp/fmdsp_sprites.h | |
parent | c5a386c9e2cce061310f3660e4898218dabbec31 (diff) |
fmdsp: display pcm file names
Diffstat (limited to 'fmdsp/fmdsp_sprites.h')
-rw-r--r-- | fmdsp/fmdsp_sprites.h | 39 |
1 files changed, 35 insertions, 4 deletions
diff --git a/fmdsp/fmdsp_sprites.h b/fmdsp/fmdsp_sprites.h index de6c839..cb011a6 100644 --- a/fmdsp/fmdsp_sprites.h +++ b/fmdsp/fmdsp_sprites.h @@ -13,7 +13,8 @@ enum { TDETAIL_GT_X = TDETAIL_VL_V_X+20, TDETAIL_GT_V_X = TDETAIL_GT_X+13, TDETAIL_DT_X = TDETAIL_GT_V_X+20, - TDETAIL_DT_V_X = TDETAIL_DT_X+13, + TDETAIL_DT_S_X = TDETAIL_DT_X+12, + TDETAIL_DT_V_X = TDETAIL_DT_S_X+4, TDETAIL_M_X = 250, TDETAIL_M_V_X = TDETAIL_M_X+8, NUM_X = 31, @@ -45,15 +46,27 @@ enum { PLAYING_W = 72, PLAYING_H = 9, FILEBAR_X = 80, - FILEBAR_MUSIC_X = FILEBAR_X + 5, - FILEBAR_FILE_X = FILEBAR_MUSIC_X + 26, + FILEBAR_MUS_X = FILEBAR_X + 5, + FILEBAR_IC_X = FILEBAR_MUS_X + 14, + FILEBAR_F_X = FILEBAR_IC_X + 11, + FILEBAR_ILE_X = FILEBAR_F_X + 4, FILEBAR_W = 2, FILEBAR_H = 7, - FILEBAR_TRI_X = FILEBAR_FILE_X + 22, + FILEBAR_TRI_X = FILEBAR_ILE_X + 17, FILEBAR_TRI_Y = PLAYING_Y+4, FILEBAR_TRI_W = 3, FILEBAR_TRI_H = 3, FILEBAR_FILENAME_X = FILEBAR_TRI_X + 8, + PCM1FILEBAR_X = 463, + PCM1FILETXT_X = PCM1FILEBAR_X + 5, + PCM1FILETRI_X = PCM1FILETXT_X + 21, + PCM1FILENAME_X = PCM1FILETRI_X + 8, + PCM2FILEBAR_X = 551, + PCM2FILETXT_X = PCM2FILEBAR_X + 5, + PCM2FILETRI_X = PCM2FILETXT_X + 21, + PCM2FILENAME_X = PCM2FILETRI_X + 8, + DT_SIGN_W = 3, + DT_SIGN_H = 3, }; enum { @@ -457,3 +470,21 @@ static const uint8_t s_filebar_tri[FILEBAR_TRI_W*FILEBAR_TRI_H] = { 2, 2, 0, 2, 2, 2, }; + +static const uint8_t s_dt_sign[3][DT_SIGN_W*DT_SIGN_H] = { + { + 0, 0, 0, + 0, 0, 0, + 0, 0, 0, + }, + { + 0, 0, 0, + 1, 1, 1, + 0, 0, 0, + }, + { + 0, 1, 0, + 1, 1, 1, + 0, 1, 0, + } +}; |