1al_get_menu_item_icon(3) al_get_menu_item_icon(3)
2
3
4
6 al_get_menu_item_icon - Allegro 5 API
7
9 #include <allegro5/allegro_native_dialog.h>
10
11 ALLEGRO_BITMAP *al_get_menu_item_icon(ALLEGRO_MENU *menu, int pos)
12
14 Returns the icon associated with the menu. It is safe to draw to the
15 returned bitmap, but you must call al_set_menu_item_icon(3) in order
16 for the changes to be applied.
17
18 Returns NULL if the item was not found or if it has no icon.
19
21 5.1.0
22
24 al_set_menu_item_icon(3)
25
26
27
28Allegro reference manual al_get_menu_item_icon(3)