Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
d_slider_proc(3)		Allegro	manual		      d_slider_proc(3)

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

SYNOPSIS
       #include	<allegro.h>

       int d_slider_proc(int msg, DIALOG *d, int c);

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	proto-
       type:

	  int function(void *dp3, int d2);

       The d_slider_proc object	will return the	value of  the  callback	 func-
       tion.

SEE ALSO
       exgui(3), exrgbhsv(3)

Allegro				 version 4.4.2		      d_slider_proc(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=d_slider_proc&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help