/*	SLIDER HANDLER */

/*
	extented object of (h/v)slider
	--------------------------

	click			call user on any change
	drag			not used
	type			AT_HSL/AT_VSL
	userp1			points to hsl_data struct
	userp2			not_used
*/

#define AT_HSL	(1000)
#define AT_VSL	(1001)

typedef struct {			/* slider data */
	INT16 full;				/* full size */
	INT16 size;				/* visible size */
	INT16 pos;				/* actual position */
	INT16 step;				/* step size for arrows */
} SL_DATA;

extern INT16 hsl_set (Awindow *window, INT16 obnr);	/* Call to show new value */
												/* OK if update FAIL if value didnot change */
extern void hsl_left (void);
extern void hsl_right (void);
extern void hsl_lpage (void);
extern void hsl_rpage (void);
extern void hsl_bar (void);

extern INT16 vsl_set (Awindow *window, INT16 obnr);	/* Call to show new value */
												/* OK if update FAIL if value didnot change */
extern void vsl_up (void);
extern void vsl_down (void);
extern void vsl_upage (void);
extern void vsl_dpage (void);
extern void vsl_bar (void);

