Lines Matching refs:shift
75 INT _gx_scroll_thumb_shift_limit(GX_SCROLL_THUMB *thumb, INT shift) in _gx_scroll_thumb_shift_limit() argument
99 if (shift > 0) in _gx_scroll_thumb_shift_limit()
102 shiftpos = thumb -> gx_widget_size.gx_rectangle_bottom + shift; in _gx_scroll_thumb_shift_limit()
105 shift = maxlimit - thumb -> gx_widget_size.gx_rectangle_bottom; in _gx_scroll_thumb_shift_limit()
111 shiftpos = thumb -> gx_widget_size.gx_rectangle_top + shift; in _gx_scroll_thumb_shift_limit()
114 shift = minlimit - thumb -> gx_widget_size.gx_rectangle_top; in _gx_scroll_thumb_shift_limit()
123 if (shift > 0) in _gx_scroll_thumb_shift_limit()
126 shiftpos = thumb -> gx_widget_size.gx_rectangle_right + shift; in _gx_scroll_thumb_shift_limit()
129 shift = maxlimit - thumb -> gx_widget_size.gx_rectangle_right; in _gx_scroll_thumb_shift_limit()
135 shiftpos = thumb -> gx_widget_size.gx_rectangle_left + shift; in _gx_scroll_thumb_shift_limit()
138 shift = minlimit - thumb -> gx_widget_size.gx_rectangle_left; in _gx_scroll_thumb_shift_limit()
142 return shift; in _gx_scroll_thumb_shift_limit()