d_icon_proc (3) - Linux Manuals
d_icon_proc: Dialog procedure implementing a bitmap button. Allegro game programming library.
Command to display d_icon_proc
manual in Linux: $ man 3 d_icon_proc
NAME
d_icon_proc - Dialog procedure implementing a bitmap button. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int d_icon_proc(int msg, DIALOG *d, int c);
DESCRIPTION
A bitmap button. The fg color is used for the dotted line showing focus,
and the bg color for the shadow used to fill in the top and left sides of
the button when "pressed". d1 is the "push depth", ie. the number of
pixels the icon will be shifted to the right and down when selected
(default 2) if there is no "selected" image. d2 is the distance by which
the dotted line showing focus is indented (default 2). dp points to a
bitmap for the icon, while dp2 and dp3 are the selected and disabled
images respectively (optional, may be NULL).
Pages related to d_icon_proc
- d_button_proc (3) - Dialog procedure implementing a button object. Allegro game programming library.
- d_check_proc (3) - Dialog procedure implementing a check box object. Allegro game programming library.
- d_ctext_proc (3) - Dialogs procedure drawing text onto the screen. Allegro game programming library.
- d_edit_proc (3) - Dialog procedure implementing an editable text object. Allegro game programming library.
- d_keyboard_proc (3) - Invisible dialog procedure for implementing keyboard shortcuts. Allegro game programming library.
- d_list_proc (3) - Dialog procedure implementing a list box object. Allegro game programming library.