120 float min_value,
float max_value,
float step,
CL_type type);
136 float min_value,
float max_value,
float step,
CL_type type);
Adjustment_t - struct to hold a controller adjustment.
void * delete_adjustment(Adjustment_t *adj)
delete_adjustment - freeing the memory of the Adjustment_t You usually don't need to call this,...
void adj_set_log_scale(Adjustment_t *adj, float value)
adj_set_log_scale - internal use to set the logarithmic scale
void check_value_changed(Adjustment_t *adj, float *value)
check_value_changed - check if Adjustment_t value have changed and send value_changed_callback (VALUE...
void adj_set_motion_state(void *w, float x, float y)
adj_set_motion_state - internal use to set value and state of the Adjustment_t on mouse pointer movme...
float adj_get_max_value(Adjustment_t *adj)
adj_get_max_value - get the maximal value of the Adjustment_t
void adj_set_state(Adjustment_t *adj, float state)
adj_set_state - set the current state of the Adjustment_t
float adj_get_std_value(Adjustment_t *adj)
adj_get_std_value - get the standart value of the Adjustment_t
void adj_set_value(Adjustment_t *adj, float value)
adj_set_value - set the current value to the Adjustment_t
void adj_set_std_value(Adjustment_t *adj, float value)
adj_set_std_value - set the standart value to the Adjustment_t
float adj_get_value(Adjustment_t *adj)
adj_get_value - get the current value of the Adjustment_t
void adj_set_start_value(void *w)
adj_set_start_value - internal use to store the value when pointer movment starts
void adj_set_max_value(Adjustment_t *adj, float value)
adj_set_max_value - set the maximal 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
float adj_get_min_value(Adjustment_t *adj)
adj_get_min_value - get the minimal value of the Adjustment_t
void adj_set_min_value(Adjustment_t *adj, float value)
adj_set_min_value - set the minimal value to the Adjustment_t
CL_type
CL_type - define the type of the controller adjustment one of this types must be given when set up a ...
float adj_get_state(Adjustment_t *adj)
adj_get_state - get the current state of the Adjustment_t
void adj_set_scale(Adjustment_t *adj, float value)
adj_set_scale - internal use to scale the pointer movement (0.1 -1.0)
This file contains definitions and structs used on all platforms. Platform specific definitions are l...