试试修改显示的操作说明的样式

This commit is contained in:
anod 2022-10-15 21:35:03 +08:00
parent 2c312479cc
commit 4bf8cac244

View File

@ -144,14 +144,14 @@ scanEnd:
static atp_text_t folder_help[] = {
"操 作 说 明",
"蓝色 --- 文件夹",
"白色 --- 游戏文件",
"A 键 --- 查看文件夹/运行游戏",
"B 键 --- 上层文件夹",
"X 键 --- 金手指",
"Y 键 --- 文件配置",
"START --- 查看说明",
"SELECT --- 系统设置"
"蓝色            文件夹",
"白色           游戏文件",
"A键     查看文件夹或运行游戏",
"B键          上层文件夹",
"X键            金手指",
"Y键           文件配置",
"        查看说明",
"       系统设置"
};
static atp_error_t display_folder( atp_callerdata_t data, atp_counter_t index, atp_itemcfg_t *config )
@ -176,7 +176,7 @@ static atp_error_t display_empty( atp_callerdata_t, atp_counter_t, atp_linecfg_t
static atp_error_t display_help( atp_callerdata_t table, atp_counter_t index, atp_linecfg_t *config )
{
atp_text_t *list = (atp_text_t*)table;
config->text_align = index == 0 ? ATP_PLACEMENT_CENTER : ATP_PLACEMENT_LEFT;
config->text_align = ATP_PLACEMENT_CENTER;
config->text_color = index == 0 ? ATP_COLOR_MAGENTA : ATP_COLOR_LIGHT;
config->text = list[index];
return ATP_SUCCESS;