![]() |
libxputty 0.1
|
Adjustment_t - struct to hold a controller adjustment. More...
#include <xadjustment.h>
Data Fields | |
Widget_t * | w |
float | std_value |
float | value |
float | min_value |
float | max_value |
float | step |
float | start_value |
float | scale |
CL_type | type |
float | log_scale |
char | pad [4] |
Adjustment_t - struct to hold a controller adjustment.
*w | - pointer to the Widget_t contain the adjustment |
std_value | - the standart value for the adjustment |
value | - the current value of the adjustment |
min_value | - the minimal value of the adjustment |
max_value | - the maximal value of the adjustment |
step | - the step to increase/decrease the adjustment |
start_value | - internal use to store the current value when pointer movement starts |
type | - should be on of the CL_type |
Definition at line 82 of file xadjustment.h.
float log_scale |
scale factor for logarithmic adjustment
Definition at line 102 of file xadjustment.h.
Referenced by add_adjustment(), adj_get_max_value(), adj_get_min_value(), adj_get_std_value(), adj_get_value(), adj_set_log_scale(), adj_set_max_value(), adj_set_min_value(), adj_set_std_value(), adj_set_value(), and set_adjustment().
float max_value |
the maximal value of the adjustment
Definition at line 92 of file xadjustment.h.
Referenced by _check_enum(), _draw_combobox_menu_slider(), _draw_listbox_viewslider(), _draw_listviewslider(), _draw_menu_slider(), _draw_multi_listviewslider(), _listbox_entry_released(), _reconfigure_listbox_viewport(), _reconfigure_listview_viewport(), _reconfigure_multi_listview_viewport(), _scroll_event(), _set_adj_value(), _toggle_button_released(), adj_get_max_value(), adj_get_state(), adj_set_max_value(), adj_set_motion_state(), adj_set_state(), adj_set_value(), cmenu_add_submenu(), combobox_add_entry(), combobox_rename_entry(), combobox_set_active_entry(), listbox_add_entry(), listbox_set_active_entry(), listview_set_active_entry(), listview_set_list(), menu_add_accel_check_entry(), menu_add_check_entry(), menu_add_entry(), menu_add_item(), menu_add_numeric_items(), menu_add_radio_entry(), menu_add_submenu(), menu_add_value_entry(), menu_remove_item(), multi_listview_set_active_entry(), multi_listview_set_list(), tabbox_add_tab(), and tabbox_remove_tab().
float min_value |
the minimal value of the adjustment
Definition at line 90 of file xadjustment.h.
Referenced by _check_enum(), _combobox_entry_released(), _configure_combobox_menu(), _draw_combobox(), _listbox_entry_released(), _scroll_event(), _set_adj_value(), _set_entry(), _toggle_button_released(), adj_get_min_value(), adj_get_state(), adj_set_min_value(), adj_set_motion_state(), adj_set_state(), adj_set_value(), combobox_rename_entry(), combobox_set_active_entry(), listbox_set_active_entry(), listview_set_active_entry(), and multi_listview_set_active_entry().
char pad[4] |
padding struct to align clean
Definition at line 104 of file xadjustment.h.
float scale |
the scalling to increase/decrease the adjustment on pointer motion
Definition at line 98 of file xadjustment.h.
Referenced by adj_set_motion_state(), and adj_set_scale().
float start_value |
internal use to store the current value when pointer movement starts
Definition at line 96 of file xadjustment.h.
Referenced by _draw_h_meter(), _draw_v_meter(), adj_set_motion_state(), adj_set_start_value(), and power2db().
float std_value |
the standart value for the adjustment
Definition at line 86 of file xadjustment.h.
Referenced by adj_get_std_value(), adj_set_std_value(), and power2db().
float step |
the step to increase/decrease the adjustment
Definition at line 94 of file xadjustment.h.
Referenced by _buttons_released(), _configure_listview(), _configure_menu(), _draw_hslider(), _draw_knob(), _draw_spinbox(), _draw_value_item(), _draw_valuedisplay(), _draw_vslider(), _listbox_entry_released(), _scroll_event(), _set_adj_value(), and adj_set_motion_state().
CL_type type |
should be on of the CL_ type
Definition at line 100 of file xadjustment.h.
Referenced by _check_enum(), _scroll_event(), _set_adj_value(), _toggle_event(), adj_get_max_value(), adj_get_min_value(), adj_get_std_value(), adj_get_value(), adj_set_max_value(), adj_set_min_value(), adj_set_motion_state(), adj_set_std_value(), and adj_set_value().
float value |
the current value of the adjustment
Definition at line 88 of file xadjustment.h.
Referenced by _check_enum(), _check_item_button_pressed(), _configure_combobox_menu(), _configure_menu(), _draw_accel_check_item(), _draw_base_button(), _draw_button(), _draw_button_base(), _draw_check_item(), _draw_combobox_button(), _draw_image_button_with_label(), _draw_listbox_item(), _draw_on_off_button(), _draw_ti_button(), _listbox_entry_released(), _scroll_event(), _set_adj_value(), _toggle_button_released(), adj_get_state(), adj_get_value(), adj_set_motion_state(), adj_set_start_value(), check_value_changed(), and mk_draw_knob().
Widget_t* w |
pointer to the Widget_t contain the adjustment
Definition at line 84 of file xadjustment.h.
Referenced by check_value_changed(), and set_adjustment().