2020-06-17 21:12:35 +02:00
|
|
|
#include <gint/display.h>
|
|
|
|
#include <gint/keyboard.h>
|
|
|
|
|
|
|
|
int main(void)
|
|
|
|
{
|
2020-07-25 10:37:07 +02:00
|
|
|
extern bopti_image_t img_title;
|
|
|
|
extern bopti_image_t img_levels;
|
|
|
|
extern font_t font_mystere;
|
|
|
|
|
|
|
|
dfont(&font_mystere);
|
|
|
|
|
2020-06-17 21:12:35 +02:00
|
|
|
dclear(C_WHITE);
|
2020-07-25 10:37:07 +02:00
|
|
|
dimage(0, 2, &img_title);
|
|
|
|
|
|
|
|
for(int i = 1; i <= 8; i++)
|
|
|
|
{
|
|
|
|
int x = 20 + 11*(i-1);
|
|
|
|
int y = 36;
|
|
|
|
|
|
|
|
if(i != 8)
|
|
|
|
{
|
|
|
|
dsubimage(x, y, &img_levels, 0,0,10,10, DIMAGE_NONE);
|
|
|
|
dprint(x+3, y+2, C_BLACK, "%d", i);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
dsubimage(x, y, &img_levels, 11,0,10,10, DIMAGE_NONE);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-17 21:12:35 +02:00
|
|
|
dupdate();
|
|
|
|
|
|
|
|
getkey();
|
|
|
|
return 1;
|
|
|
|
}
|