LBG_WINDOW* a_window = 0; void a_function(){ a_window = LBG_create_window(0, 20, 160, 512, 256, 12, 1,"Window",&win_bbmaps,&win_cbmaps,&win_tbmaps,1, 0, WF_SHOW | WF_RESIZABLE); } void toggle_window() { while(key_y)wait(1); if(is(a_window,SHOW)){ a_window->flags &= ~SHOW; } else{ // set(a_window,SHOW); a_window->flags |= SHOW; } } on_y = toggle_window;
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de