mirror of
https://github.com/Valeh2012/PersonalVotingMachine
synced 2024-11-29 20:30:59 +02:00
26 lines
341 B
C
26 lines
341 B
C
|
/*
|
||
|
Example for the
|
||
|
u8x8_UserInterfaceMessage
|
||
|
procedure.
|
||
|
|
||
|
*/
|
||
|
|
||
|
|
||
|
#include "u8x8.h"
|
||
|
|
||
|
u8x8_t u8x8;
|
||
|
|
||
|
|
||
|
int main(void)
|
||
|
{
|
||
|
u8x8_Setup_SDL_128x64(&u8x8);
|
||
|
u8x8_InitDisplay(&u8x8);
|
||
|
|
||
|
u8x8_SetFont(&u8x8, u8x8_font_amstrad_cpc_extended_f);
|
||
|
|
||
|
u8x8_UserInterfaceMessage(&u8x8, "title1", "title2", "title3", "Yes\nNo");
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|