Home
last modified time | relevance | path

Searched refs:new_value (Results 1 – 15 of 15) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_radial_progress_bar_value_calculate.c78 INT new_value; in _gx_radial_progress_bar_value_calculate() local
102 new_value = _gx_utility_math_acos(x_dist); in _gx_radial_progress_bar_value_calculate()
109 new_value = _gx_utility_math_asin(y_dist); in _gx_radial_progress_bar_value_calculate()
113 new_value = 180 + new_value; in _gx_radial_progress_bar_value_calculate()
117 new_value = 360 - new_value; in _gx_radial_progress_bar_value_calculate()
124 new_value = new_value - info -> gx_radial_progress_bar_info_anchor_val; in _gx_radial_progress_bar_value_calculate()
126 if (new_value > 0) in _gx_radial_progress_bar_value_calculate()
128 new_value -= 360; in _gx_radial_progress_bar_value_calculate()
134 new_value = new_value - info -> gx_radial_progress_bar_info_anchor_val; in _gx_radial_progress_bar_value_calculate()
136 if (new_value < 0) in _gx_radial_progress_bar_value_calculate()
[all …]
Dgx_radial_progress_bar_value_set.c77 UINT _gx_radial_progress_bar_value_set(GX_RADIAL_PROGRESS_BAR *progress_bar, GX_VALUE new_value) in _gx_radial_progress_bar_value_set() argument
83 if (new_value < -360) in _gx_radial_progress_bar_value_set()
85 new_value = -360; in _gx_radial_progress_bar_value_set()
87 else if (new_value > 360) in _gx_radial_progress_bar_value_set()
89 new_value = 360; in _gx_radial_progress_bar_value_set()
92 if (new_value != info -> gx_radial_progress_bar_info_current_val) in _gx_radial_progress_bar_value_set()
95 info -> gx_radial_progress_bar_info_current_val = new_value; in _gx_radial_progress_bar_value_set()
104 _gx_widget_event_generate((GX_WIDGET *)progress_bar, GX_EVENT_PROGRESS_VALUE, new_value); in _gx_radial_progress_bar_value_set()
Dgx_progress_bar_value_set.c74 UINT _gx_progress_bar_value_set(GX_PROGRESS_BAR *progress_bar, INT new_value) in _gx_progress_bar_value_set() argument
76 if (new_value > progress_bar -> gx_progress_bar_info.gx_progress_bar_info_max_val) in _gx_progress_bar_value_set()
78 new_value = progress_bar -> gx_progress_bar_info.gx_progress_bar_info_max_val; in _gx_progress_bar_value_set()
80 else if (new_value < progress_bar -> gx_progress_bar_info.gx_progress_bar_info_min_val) in _gx_progress_bar_value_set()
82 new_value = progress_bar -> gx_progress_bar_info.gx_progress_bar_info_min_val; in _gx_progress_bar_value_set()
85 if (new_value != progress_bar -> gx_progress_bar_info.gx_progress_bar_info_current_val) in _gx_progress_bar_value_set()
88 progress_bar -> gx_progress_bar_info.gx_progress_bar_info_current_val = new_value; in _gx_progress_bar_value_set()
97 _gx_widget_event_generate((GX_WIDGET *)progress_bar, GX_EVENT_PROGRESS_VALUE, new_value); in _gx_progress_bar_value_set()
Dgx_radial_slider_angle_calculate.c77 INT new_value; in _gx_radial_slider_angle_calculate() local
106 new_value = _gx_utility_math_acos(x_dist); in _gx_radial_slider_angle_calculate()
113 new_value = _gx_utility_math_asin(y_dist); in _gx_radial_slider_angle_calculate()
117 new_value = 180 + new_value; in _gx_radial_slider_angle_calculate()
121 new_value = 360 - new_value; in _gx_radial_slider_angle_calculate()
126 if (new_value > 270) in _gx_radial_slider_angle_calculate()
128 new_value = new_value - 360; in _gx_radial_slider_angle_calculate()
131 *return_value = (GX_VALUE)new_value; in _gx_radial_slider_angle_calculate()
Dgx_radial_slider_event_process.c188 GX_VALUE new_value; in _gx_radial_slider_pen_drag_event_process() local
197 …adial_slider_angle_calculate(slider, event_ptr -> gx_event_payload.gx_event_pointdata, &new_value); in _gx_radial_slider_pen_drag_event_process()
200 if ((new_value >= info -> gx_radial_slider_info_min_angle) && in _gx_radial_slider_pen_drag_event_process()
201 (new_value <= info -> gx_radial_slider_info_max_angle)) in _gx_radial_slider_pen_drag_event_process()
206 if ((previous_value < new_value) && ((new_value - previous_value) < 180)) in _gx_radial_slider_pen_drag_event_process()
209 if (info -> gx_radial_slider_info_current_angle < new_value) in _gx_radial_slider_pen_drag_event_process()
214 else if (previous_value > new_value) in _gx_radial_slider_pen_drag_event_process()
217 if (info -> gx_radial_slider_info_current_angle > new_value) in _gx_radial_slider_pen_drag_event_process()
225 _gx_radial_slider_angle_set(slider, new_value); in _gx_radial_slider_pen_drag_event_process()
294 GX_VALUE new_value; in _gx_radial_slider_pen_up_event_process() local
[all …]
Dgx_slider_value_set.c87 UINT _gx_slider_value_set(GX_SLIDER *slider, GX_SLIDER_INFO *info, INT new_value) in _gx_slider_value_set() argument
92 if (new_value != info -> gx_slider_info_current_val) in _gx_slider_value_set()
98 info -> gx_slider_info_current_val = new_value; in _gx_slider_value_set()
117 _gx_widget_event_generate((GX_WIDGET *)slider, GX_EVENT_SLIDER_VALUE, new_value); in _gx_slider_value_set()
Dgxe_progress_bar_value_set.c75 UINT _gxe_progress_bar_value_set(GX_PROGRESS_BAR *progress_bar, INT new_value) in _gxe_progress_bar_value_set() argument
89 status = _gx_progress_bar_value_set(progress_bar, new_value); in _gxe_progress_bar_value_set()
Dgxe_radial_progress_bar_value_set.c77 UINT _gxe_radial_progress_bar_value_set(GX_RADIAL_PROGRESS_BAR *progress_bar, GX_VALUE new_value) in _gxe_radial_progress_bar_value_set() argument
97 status = _gx_radial_progress_bar_value_set(progress_bar, new_value); in _gxe_radial_progress_bar_value_set()
Dgxe_slider_value_set.c74 UINT _gxe_slider_value_set(GX_SLIDER *slider, GX_SLIDER_INFO *info, INT new_value) in _gxe_slider_value_set() argument
94 status = _gx_slider_value_set(slider, info, new_value); in _gxe_slider_value_set()
/GUIX-v6.2.1/samples/demo_guix_medical/
Dvitals.c283 INT new_value; in update_value_animation() local
287 new_value = GET_NEW_VALUE(insulin); in update_value_animation()
288 gx_numeric_prompt_value_set(&vitals_screen.vitals_screen_insulin_value, new_value); in update_value_animation()
290 new_value = GET_NEW_VALUE(heart_rate); in update_value_animation()
291 gx_numeric_prompt_value_set(&vitals_screen.vitals_screen_hr_value, new_value); in update_value_animation()
293 new_value = GET_NEW_VALUE(spo2); in update_value_animation()
294 gx_numeric_prompt_value_set(&vitals_screen.vitals_screen_spo2_value, new_value); in update_value_animation()
296 new_value = GET_NEW_VALUE(medtype1); in update_value_animation()
297 gx_numeric_prompt_value_set(&vitals_screen.vitals_screen_medtype1_value, new_value); in update_value_animation()
298 …ls_screen_medtype1_slider, &vitals_screen.vitals_screen_medtype1_slider.gx_slider_info, new_value); in update_value_animation()
[all …]
/GUIX-v6.2.1/common/inc/
Dgx_radial_slider.h58 UINT _gx_radial_slider_animation_start(GX_RADIAL_SLIDER *slider, GX_VALUE new_value);
69 UINT _gx_radial_slider_angle_set(GX_RADIAL_SLIDER *slider, GX_VALUE new_value);
76 UINT _gxe_radial_slider_animation_start(GX_RADIAL_SLIDER *slider, GX_VALUE new_value);
84 UINT _gxe_radial_slider_angle_set(GX_RADIAL_SLIDER *slider, GX_VALUE new_value);
Dgx_radial_progress_bar.h76 UINT _gx_radial_progress_bar_value_set(GX_RADIAL_PROGRESS_BAR *progress_bar, GX_VALUE new_value);
97 UINT _gxe_radial_progress_bar_value_set(GX_RADIAL_PROGRESS_BAR *progress_bar, GX_VALUE new_value);
Dgx_progress_bar.h72 UINT _gx_progress_bar_value_set(GX_PROGRESS_BAR *progress_bar, INT new_value);
89 UINT _gxe_progress_bar_value_set(GX_PROGRESS_BAR *progress_bar, INT new_value);
Dgx_slider.h70 UINT _gx_slider_value_set(GX_SLIDER *slider, GX_SLIDER_INFO *info, INT new_value);
88 UINT _gxe_slider_value_set(GX_SLIDER *slider, GX_SLIDER_INFO *info, INT new_value);
Dgx_api.h4036 UINT _gx_progress_bar_value_set(GX_PROGRESS_BAR *progress_bar, INT new_value);
4077 UINT _gx_radial_progress_bar_value_set(GX_RADIAL_PROGRESS_BAR *progress_bar, GX_VALUE new_value);
4082 UINT _gx_radial_slider_animation_start(GX_RADIAL_SLIDER *slider, GX_VALUE new_value);
4173 UINT _gx_slider_value_set(GX_SLIDER *slider, GX_SLIDER_INFO *info, INT new_value);
5510 UINT _gxe_progress_bar_value_set(GX_PROGRESS_BAR *progress_bar, INT new_value);
5551 UINT _gxe_radial_progress_bar_value_set(GX_RADIAL_PROGRESS_BAR *progress_bar, GX_VALUE new_value);
5556 UINT _gxe_radial_slider_animation_start(GX_RADIAL_SLIDER *slider, GX_VALUE new_value);
5648 UINT _gxe_slider_value_set(GX_SLIDER *slider, GX_SLIDER_INFO *info, INT new_value);