mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-08 06:44:12 +08:00
修正一些编译错误
This commit is contained in:
parent
906e12b207
commit
6d420aae39
@ -86,7 +86,7 @@ static uint32_t waitKey()
|
||||
static void paint_one_line( atp_lineprovider_t provider, acf_callerdata_t data, int idx, int row )
|
||||
{
|
||||
atp_linecfg_t config;
|
||||
config.color = ATP_COLOR_WHITE;
|
||||
config.text_color = ATP_COLOR_WHITE;
|
||||
config.text_align = ATP_PLACEMENT_LEFT;
|
||||
atp_error_t err = provider( data, idx, &config );
|
||||
if( !err )
|
||||
@ -97,7 +97,7 @@ static void paint_one_line( atp_lineprovider_t provider, acf_callerdata_t data,
|
||||
WINDOW_WIDTH,
|
||||
WINDOW_HEIGHT,
|
||||
CONTAINER_RECT_WIDTH,
|
||||
config.color > ATP_COLOR_WHITE ? ATP_COLOR_WHITE : config.color,
|
||||
config.text_color > ATP_COLOR_WHITE ? ATP_COLOR_WHITE : config.text_color,
|
||||
config.text_align,
|
||||
config.text
|
||||
);
|
||||
|
@ -90,7 +90,7 @@ static const char *page[] = {
|
||||
"女儿情长埋葬"
|
||||
};
|
||||
|
||||
static atp_error_t test_show( atp_callerdata_t , atp_counter_t idx, atp_itemcfg_t *pcfg )
|
||||
static atp_error_t test_show( atp_callerdata_t , atp_counter_t idx, atp_linecfg_t *pcfg )
|
||||
{
|
||||
if( idx < sizeof(page) )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user