bool show_circle=true;
uint counter=0;
void on_frame() {
render::text(24,24,"Easy Universal / interactive SDK",0xff994dff);
if(ui::button("increment","Add one",24,64,180,36)) counter++;
show_circle=ui::checkbox("circle","Show circle",show_circle,24,112,220,36);
render::text(24,170,"Clicks: "+counter);
if(show_circle) render::circle(320,132,36,0xff994dff);
ui::label("Own window only. No game input API.");
}
Easy Universal / Примеры и шаблоны