logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

       A slider control object. This object holds a value in d2, in the range from 0 to d1. It will display as a
       vertical slider if h is greater than or equal to w, otherwise it will display as a horizontal slider. The
       dp  field  can  contain  an optional bitmap to use for the slider handle, and dp2 can contain an optional
       callback function, which is called each time d2 changes. The callback function should have the  following
       prototype:

          int function(void *dp3, int d2);

       The d_slider_proc object will return the value of the callback function.

Name

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

See Also

exgui(3alleg4), exrgbhsv(3alleg4)

Allegro                                           version 4.4.3                           d_slider_proc(3alleg4)

Synopsis

#include<allegro.h>intd_slider_proc(intmsg,DIALOG*d,intc);

See Also