27 float value = (float)active;
29 else if (value<w->adj->min_value) value = w->
adj->
min_value;
36 float max_value = -elem ;
47 int x,
int y,
int width,
int height) {
69 wid->
flags &= ~USE_TRANSPARENCY | ~HAS_TOOLTIP;
xevfunc configure_notify_callback
evfunc button_release_callback
xevfunc map_notify_callback
void adj_set_value(Adjustment_t *adj, float value)
adj_set_value - set the current value to the Adjustment_t
Adjustment_t * add_adjustment(Widget_t *w, float std_value, float value, float min_value, float max_value, float step, CL_type type)
*add_adjustment - adding a adjustment to a Widget_t
void set_adjustment(Adjustment_t *adj, float std_value, float value, float min_value, float max_value, float step, CL_type type)
*set_adjustment - set a new range to a existing Adjustment_t or create if it not exists yet
int childlist_has_child(Childlist_t *childlist)
childlist_has_child - check if a Widget_t Childlist_t contain a child
void listbox_set_active_entry(Widget_t *w, int active)
listbox_set_active_entry - set the active listbox entry
Widget_t * create_listbox_viewport(Widget_t *parent, int elem, int width, int height)
create_listbox_viewport - create a viewport on a listbox to a Widget_t
Widget_t * listbox_add_entry(Widget_t *listbox, const char *label)
listbox_add_entry - add a item to listbox
Widget_t * add_listbox(Widget_t *parent, const char *label, int x, int y, int width, int height)
add_label - add a listbox to a Widget_t
void _draw_listbox_viewslider(void *w_, void *user_data)
_draw_listbox_viewslider - draw a slider on the viewport to indicate the view point
void _reconfigure_listbox_viewport(void *w_, void *user_data)
_reconfigure_listbox_viewport - reconfigure the viewport adjustment on size changes
void _draw_listbox_item(void *w_, void *user_data)
_draw_listbox_item - draw item on expose call
void _listbox_entry_released(void *w_, void *button_, void *user_data)
_listbox_entry_released - redraw the slider when buttob released
void _draw_listbox(void *w_, void *user_data)
_draw_listbox - draw listbox on expose call
void _configure_listbox(void *w_, void *user_data)
_configure_listbox - configure the viewport on mapping
void _set_listbox_viewpoint(void *w_, void *user_data)
_set_listbox_viewpoint - move the view_port to position