1al_set_menu_item_icon(3)                              al_set_menu_item_icon(3)
2
3
4

NAME

6       al_set_menu_item_icon - Allegro 5 API
7

SYNOPSIS

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

DESCRIPTION

14       Sets  the icon for the specified menu item.  The menu assumes ownership
15       of the ALLEGRO_BITMAP and may invalidate the pointer, so you must clone
16       it if you wish to continue using it.
17
18       If  a  video  bitmap is passed, it will automatically be converted to a
19       memory bitmap, so it is preferrable to pass a memory bitmap.
20

SINCE

22       5.1.0
23

SEE ALSO

25       al_get_menu_item_icon(3), al_clone_bitmap(3)
26
27
28
29Allegro reference manual                              al_set_menu_item_icon(3)
Impressum