/* Function: al_remove_display_menu */ ALLEGRO_MENU *al_remove_display_menu(ALLEGRO_DISPLAY *display) { ALLEGRO_MENU *menu; ASSERT(display); menu = al_get_display_menu(display); if (menu) al_set_display_menu(display, NULL); return menu; }
bool t3f_attach_menu(ALLEGRO_MENU * mp) { al_register_event_source(t3f_queue, al_get_default_menu_event_source()); al_set_display_menu(t3f_display, mp); return true; }