#include "xputty.h"
Go to the source code of this file.
Macros | |
#define | XSLIDER_H_ |
Functions | |
Widget_t * | add_vslider (Widget_t *parent, const char *label, int x, int y, int width, int height) |
add_vslider - add a vertical slider to a Widget_t connect to func.value_changed_callback to implement your actions use set_adjustment(w->adj_y, . . ) to set the range you need More... | |
Widget_t * | add_hslider (Widget_t *parent, const char *label, int x, int y, int width, int height) |
add_hslider - add a horizontal slider to a Widget_t connect to func.value_changed_callback to implement your actions use set_adjustment(w->adj_x, . . ) to set the range you need More... | |
Widget_t* add_hslider | ( | Widget_t * | parent, |
const char * | label, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
add_hslider - add a horizontal slider to a Widget_t connect to func.value_changed_callback to implement your actions use set_adjustment(w->adj_x, . . ) to set the range you need
*parent | - pointer to the Widget_t request the button |
*label | - Label to show on the button |
x,y,width,height | - the position/geometry to create the button |
Definition at line 41 of file xslider.c.
References _draw_hslider(), _slider_released(), add_adjustment(), Widget_t::adj, Widget_t::adj_x, Widget_t::app, ASPECT, Func_t::button_release_callback, CL_CONTINUOS, create_widget(), Func_t::enter_callback, Func_t::expose_callback, Widget_t::func, Resize_t::gravity, Widget_t::label, Func_t::leave_callback, Widget_t::scale, and transparent_draw().
Widget_t* add_vslider | ( | Widget_t * | parent, |
const char * | label, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
add_vslider - add a vertical slider to a Widget_t connect to func.value_changed_callback to implement your actions use set_adjustment(w->adj_y, . . ) to set the range you need
*parent | - pointer to the Widget_t request the button |
*label | - Label to show on the button |
x,y,width,height | - the position/geometry to create the button |
Definition at line 26 of file xslider.c.
References _draw_vslider(), _slider_released(), add_adjustment(), Widget_t::adj, Widget_t::adj_y, Widget_t::app, ASPECT, Func_t::button_release_callback, CL_CONTINUOS, create_widget(), Func_t::enter_callback, Func_t::expose_callback, Widget_t::func, Resize_t::gravity, Widget_t::label, Func_t::leave_callback, Widget_t::scale, and transparent_draw().