.\" Automatically generated by Pandoc 3.1.6.2 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_get_menu_item_icon" "3" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_menu_item_icon - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include ALLEGRO_BITMAP *al_get_menu_item_icon(ALLEGRO_MENU *menu, int pos) \f[R] .fi .SH DESCRIPTION .PP Returns the icon associated with the menu. It is safe to draw to the returned bitmap, but you must call al_set_menu_item_icon(3) in order for the changes to be applied. .PP Returns \f[V]NULL\f[R] if the item was not found or if it has no icon. .SH SINCE .PP 5.1.0 .SH SEE ALSO .PP al_set_menu_item_icon(3)