gui_menu_draw_menu, gui_menu_draw_menu_item - Hooks to modify the appearance of menus. Allegro game
Contents
Description
If set, these functions will be called whenever a menu needs to be drawn, so you can change how menus
look.
gui_menu_draw_menu() is passed the position and size of the menu. It should draw the background of the
menu onto screen.
gui_menu_draw_menu_item() is called once for each menu item that is to be drawn. bar will be set if the
item is part of a top-level horizontal menu bar, and sel will be set if the menu item is selected. It
should also draw onto screen.
Name
gui_menu_draw_menu, gui_menu_draw_menu_item - Hooks to modify the appearance of menus. Allegro game
programming library.
See Also
Allegro version 4.4.3 gui_menu_draw_menu(3alleg4)
Synopsis
#include<allegro.h>externvoid(*gui_menu_draw_menu)(intx,inty,intw,inth);externvoid(*gui_menu_draw_menu_item)(MENU*m,intx,inty,intw,inth,intbar,intsel);
