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

NAME

6       d_slider_proc  - Dialog procedure implementing a slider control object.
7       Allegro game programming library.
8

SYNOPSIS

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

DESCRIPTION

16       A slider control object. This object holds a value in d2, in the  range
17       from 0 to d1. It will display as a vertical slider if h is greater than
18       or equal to w, otherwise it will display as a horizontal slider. The dp
19       field  can contain an optional bitmap to use for the slider handle, and
20       dp2 can contain an optional callback function,  which  is  called  each
21       time d2 changes. The callback function should have the following proto‐
22       type:
23
24          int function(void *dp3, int d2);
25
26       The d_slider_proc object will return the value of  the  callback  func‐
27       tion.
28
29

SEE ALSO

31       exgui(3), exrgbhsv(3)
32
33
34
35Allegro                          version 4.4.3                d_slider_proc(3)
Impressum