Lines Matching refs:list

72 static VOID _gx_vertical_list_invisible_page_scroll(GX_VERTICAL_LIST *list, INT num_pages)  in _gx_vertical_list_invisible_page_scroll()  argument
76 if (!(list -> gx_widget_style & GX_STYLE_WRAP)) in _gx_vertical_list_invisible_page_scroll()
84 …maximum_scroll_pages = (list -> gx_vertical_list_total_rows - list -> gx_vertical_list_top_index -… in _gx_vertical_list_invisible_page_scroll()
85 maximum_scroll_pages /= list -> gx_vertical_list_child_count; in _gx_vertical_list_invisible_page_scroll()
102 … maximum_scroll_pages = list -> gx_vertical_list_top_index / list -> gx_vertical_list_child_count; in _gx_vertical_list_invisible_page_scroll()
121 list -> gx_vertical_list_top_index -= num_pages * list -> gx_vertical_list_child_count; in _gx_vertical_list_invisible_page_scroll()
123 if (list -> gx_widget_style & GX_STYLE_WRAP) in _gx_vertical_list_invisible_page_scroll()
129 while (list -> gx_vertical_list_top_index >= list -> gx_vertical_list_total_rows) in _gx_vertical_list_invisible_page_scroll()
131 list -> gx_vertical_list_top_index -= list -> gx_vertical_list_total_rows; in _gx_vertical_list_invisible_page_scroll()
136 while (list -> gx_vertical_list_top_index < 0) in _gx_vertical_list_invisible_page_scroll()
138 list -> gx_vertical_list_top_index += list -> gx_vertical_list_total_rows; in _gx_vertical_list_invisible_page_scroll()
192 VOID _gx_vertical_list_scroll(GX_VERTICAL_LIST *list, INT amount) in _gx_vertical_list_scroll() argument
208 if ((list -> gx_vertical_list_callback != GX_NULL) && in _gx_vertical_list_scroll()
209 (list -> gx_vertical_list_visible_rows < list -> gx_vertical_list_total_rows) && in _gx_vertical_list_scroll()
210 …((list -> gx_vertical_list_child_count < list -> gx_vertical_list_total_rows) || (list -> gx_widge… in _gx_vertical_list_scroll()
215 page_size = (list -> gx_vertical_list_child_height * list -> gx_vertical_list_child_count); in _gx_vertical_list_scroll()
239 _gx_vertical_list_invisible_page_scroll(list, num_pages); in _gx_vertical_list_scroll()
244 child = list -> gx_widget_first_child; in _gx_vertical_list_scroll()
264 _gx_vertical_list_up_wrap(list); in _gx_vertical_list_scroll()
268 _gx_vertical_list_down_wrap(list); in _gx_vertical_list_scroll()
272 _gx_window_scrollbar_find((GX_WINDOW *)list, GX_TYPE_VERTICAL_SCROLL, &scroll); in _gx_vertical_list_scroll()
279 if (list -> gx_widget_status & GX_STATUS_VISIBLE) in _gx_vertical_list_scroll()
281 block = list -> gx_window_client; in _gx_vertical_list_scroll()
283 if (!(list -> gx_widget_style & (GX_STYLE_WRAP | GX_STYLE_TRANSPARENT)) && in _gx_vertical_list_scroll()
284 (list -> gx_widget_style & GX_STYLE_BORDER_THIN)) in _gx_vertical_list_scroll()
286 child = _gx_widget_first_client_child_get((GX_WIDGET *)list); in _gx_vertical_list_scroll()
287 last_child = _gx_widget_last_client_child_get((GX_WIDGET *)list); in _gx_vertical_list_scroll()
296 _gx_system_dirty_mark((GX_WIDGET *)list); in _gx_vertical_list_scroll()
304 _gx_widget_block_move((GX_WIDGET *)list, &block, 0, amount); in _gx_vertical_list_scroll()