mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-06 05:44:11 +08:00
修改一下提示的文字和颜色
This commit is contained in:
parent
25cc775230
commit
b19f0a16d1
@ -473,12 +473,12 @@ static inline void key_tips( key_remix_t *p, atp_itemcfg_t *cfg )
|
||||
else if( p->remix_type == REMIX_TYPE_REMAP )
|
||||
{
|
||||
cfg->extra_text = "键位映射";
|
||||
cfg->extra_text_color = ATP_COLOR_YELLOW;
|
||||
cfg->extra_text_color = ATP_COLOR_GREEN;
|
||||
}
|
||||
else if( p->remix_type == REMIX_TYPE_HOLD )
|
||||
{
|
||||
cfg->extra_text = "自动蓄力";
|
||||
cfg->extra_text_color = ATP_COLOR_MAGENTA;
|
||||
cfg->extra_text_color = ATP_COLOR_GREEN;
|
||||
}
|
||||
}
|
||||
|
||||
@ -523,10 +523,15 @@ static atp_error_t select_kcf( atp_callerdata_t p, atp_counter_t index, atp_item
|
||||
if( key_val[i] == kcfg->device_keys )
|
||||
{
|
||||
cfg->extra_text = key_name[i];
|
||||
cfg->extra_text_color = ATP_COLOR_BLUE;
|
||||
cfg->extra_text_color = ATP_COLOR_GREEN;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
cfg->extra_text = "未设置";
|
||||
cfg->extra_text_color = ATP_COLOR_LIGHT;
|
||||
}
|
||||
}
|
||||
else if( index == KRFIELD_GAME )
|
||||
{
|
||||
@ -534,7 +539,12 @@ static atp_error_t select_kcf( atp_callerdata_t p, atp_counter_t index, atp_item
|
||||
if( kcfg->game_keys == 0 )
|
||||
{
|
||||
cfg->extra_text = "未设置";
|
||||
cfg->extra_text_color = ATP_COLOR_RED;
|
||||
cfg->extra_text_color = ATP_COLOR_LIGHT;
|
||||
}
|
||||
else
|
||||
{
|
||||
cfg->extra_text = "已设置";
|
||||
cfg->extra_text_color = ATP_COLOR_GREEN;
|
||||
}
|
||||
}
|
||||
cfg->value = index;
|
||||
|
Loading…
x
Reference in New Issue
Block a user