PersonalVotingMachine/basic-setup/components/u8g2/sys/sdl/message_box_8x8/main.c

26 lines
341 B
C
Raw Permalink Normal View History

2020-12-22 14:30:09 +02:00
/*
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;
}