Home
last modified time | relevance | path

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

/GUIX-v6.2.1/common/src/
Dgx_slider_tickmarks_draw.c87 INT space; in _gx_slider_tickmarks_draw() local
102 space = (maxtravel - mintravel) / 8; in _gx_slider_tickmarks_draw()
106 tickend -= space; in _gx_slider_tickmarks_draw()
107 tickstart = mintravel + space; in _gx_slider_tickmarks_draw()
113 space = (maxtravel - mintravel) / 8; in _gx_slider_tickmarks_draw()
116 tickend = maxtravel - space; in _gx_slider_tickmarks_draw()
118 tickstart += space; in _gx_slider_tickmarks_draw()
128 space = GX_FIXED_VAL_MAKE(maxtravel - mintravel) / (tickcount - 1); in _gx_slider_tickmarks_draw()
146 tickpos += space; in _gx_slider_tickmarks_draw()
Dgx_pixelmap_slider_draw.c89 GX_VALUE space; in _gx_pixelmap_slider_draw() local
104 _gx_widget_width_get((GX_WIDGET *)slider, &space); in _gx_pixelmap_slider_draw()
105 space = (GX_VALUE)(space - map -> gx_pixelmap_width); in _gx_pixelmap_slider_draw()
106 space /= 2; in _gx_pixelmap_slider_draw()
108 … fillrect.gx_rectangle_left = (GX_VALUE)(slider -> gx_widget_size.gx_rectangle_left + space); in _gx_pixelmap_slider_draw()
119 _gx_widget_height_get((GX_WIDGET *)slider, &space); in _gx_pixelmap_slider_draw()
120 space = (GX_VALUE)(space - map -> gx_pixelmap_height); in _gx_pixelmap_slider_draw()
121 space /= 2; in _gx_pixelmap_slider_draw()
122 … fillrect.gx_rectangle_top = (GX_VALUE)(slider -> gx_widget_size.gx_rectangle_top + space); in _gx_pixelmap_slider_draw()
Dgx_scrollbar_thumb_position_calculate.c82 INT space; in _gx_scrollbar_thumb_position_calculate() local
160 space = (travelsize - thumb_length); in _gx_scrollbar_thumb_position_calculate()
161space *= scroll -> gx_scrollbar_info.gx_scroll_value - scroll -> gx_scrollbar_info.gx_scroll_minim… in _gx_scrollbar_thumb_position_calculate()
166 space = (space + (range >> 1)) / range; in _gx_scrollbar_thumb_position_calculate()
173 if (space == 0) in _gx_scrollbar_thumb_position_calculate()
175 space = 1; in _gx_scrollbar_thumb_position_calculate()
177 else if (space == (travelsize - thumb_length)) in _gx_scrollbar_thumb_position_calculate()
179 space -= 1; in _gx_scrollbar_thumb_position_calculate()
190 … scroll -> gx_scrollbar_appearance.gx_scroll_thumb_travel_min + space); in _gx_scrollbar_thumb_position_calculate()
199 … scroll -> gx_scrollbar_appearance.gx_scroll_thumb_travel_min + space); in _gx_scrollbar_thumb_position_calculate()