Home
last modified time | relevance | path

Searched refs:range (Results 1 – 3 of 3) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_progress_bar_background_draw.c90 INT range; in _gx_progress_bar_background_draw() local
116 range = max_value - min_value; in _gx_progress_bar_background_draw()
118 if (range <= 0) in _gx_progress_bar_background_draw()
138 … ((cur_value - min_value) * fill_height / range) + 1); in _gx_progress_bar_background_draw()
143 … ((cur_value - min_value) * fill_width / range) - 1); in _gx_progress_bar_background_draw()
160 segment_number = (cur_value - min_value) * total_segment / range; in _gx_progress_bar_background_draw()
176 segment_number = (cur_value - min_value) * total_segment / range; in _gx_progress_bar_background_draw()
194 … ((cur_value - min_value) * fill_height / range) + 1); in _gx_progress_bar_background_draw()
199 … ((cur_value - min_value) * fill_width / range) - 1); in _gx_progress_bar_background_draw()
Dgx_scrollbar_thumb_position_calculate.c81 INT range; in _gx_scrollbar_thumb_position_calculate() local
121range = scroll -> gx_scrollbar_info.gx_scroll_maximum - scroll -> gx_scrollbar_info.gx_scroll_mini… in _gx_scrollbar_thumb_position_calculate()
129 if (range) in _gx_scrollbar_thumb_position_calculate()
131 thumb_length /= range; in _gx_scrollbar_thumb_position_calculate()
162 range -= scroll -> gx_scrollbar_info.gx_scroll_visible; in _gx_scrollbar_thumb_position_calculate()
164 if (range) in _gx_scrollbar_thumb_position_calculate()
166 space = (space + (range >> 1)) / range; in _gx_scrollbar_thumb_position_calculate()
Dgx_progress_bar_text_draw.c82 INT range; in _gx_progress_bar_text_draw() local
111 range = max_value - min_value; in _gx_progress_bar_text_draw()
112 if (range != 0) in _gx_progress_bar_text_draw()
114 _gx_utility_ltoa(((cur_value - min_value) * 100) / range, pText, sizeof(pText) - 1); in _gx_progress_bar_text_draw()