@@ -20,7 +20,7 @@ static twin_time_t _apps_hello_timeout(twin_time_t maybe_unused now,
2020
2121 * strchr (t , '\n' ) = '\0' ;
2222 twin_label_set (labelb , t , 0xff008000 , twin_int_to_fixed (12 ),
23- TWIN_TEXT_OBLIQUE );
23+ TwinStyleOblique );
2424 return 1000 ;
2525}
2626
@@ -34,14 +34,14 @@ void apps_hello_start(twin_screen_t *screen,
3434 twin_toplevel_t * top = twin_toplevel_create (
3535 screen , TWIN_ARGB32 , TwinWindowApplication , x , y , w , h , name );
3636 twin_label_t * labela = twin_label_create (
37- & top -> box , name , 0xff000080 , twin_int_to_fixed (12 ), TWIN_TEXT_ROMAN );
37+ & top -> box , name , 0xff000080 , twin_int_to_fixed (12 ), TwinStyleRoman );
3838 twin_widget_t * widget =
3939 twin_widget_create (& top -> box , 0xff800000 , 1 , 2 , 0 , 0 );
4040 twin_label_t * labelb = twin_label_create (
41- & top -> box , name , 0xff008000 , twin_int_to_fixed (12 ), TWIN_TEXT_OBLIQUE );
41+ & top -> box , name , 0xff008000 , twin_int_to_fixed (12 ), TwinStyleOblique );
4242 twin_button_t * button = twin_button_create (
4343 & top -> box , "Button" , 0xff800000 , twin_int_to_fixed (18 ),
44- TWIN_TEXT_BOLD | TWIN_TEXT_OBLIQUE );
44+ TwinStyleBold | TwinStyleOblique );
4545 twin_widget_set (& labela -> widget , 0xc0c0c0c0 );
4646 (void ) widget ;
4747 twin_widget_set (& labelb -> widget , 0xc0c0c0c0 );
0 commit comments