1al_get_menu_item_icon(3)                              al_get_menu_item_icon(3)
2
3
4

NAME

6       al_get_menu_item_icon - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_native_dialog.h>
10
11              ALLEGRO_BITMAP *al_get_menu_item_icon(ALLEGRO_MENU *menu, int pos)
12

DESCRIPTION

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

SINCE

21       5.1.0
22

SEE ALSO

24       al_set_menu_item_icon(3)
25
26
27
28Allegro reference manual                              al_get_menu_item_icon(3)
Impressum