1d_icon_proc(3)                  Allegro manual                  d_icon_proc(3)
2
3
4

NAME

6       d_icon_proc  -  Dialog  procedure implementing a bitmap button. Allegro
7       game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int d_icon_proc(int msg, DIALOG *d, int c);
14

DESCRIPTION

16       A bitmap button. The fg color is  used  for  the  dotted  line  showing
17       focus, and the bg color for the shadow used to fill in the top and left
18       sides of the button when "pressed". d1 is the  "push  depth",  ie.  the
19       number  of  pixels  the icon will be shifted to the right and down when
20       selected (default 2) if there is no "selected" image. d2  is  the  dis‐
21       tance  by  which the dotted line showing focus is indented (default 2).
22       dp points to a bitmap for the icon, while dp2 and dp3 are the  selected
23       and disabled images respectively (optional, may be NULL).
24
25

SEE ALSO

27       exgui(3)
28
29
30
31Allegro                          version 4.4.3                  d_icon_proc(3)
Impressum