Home
last modified time | relevance | path

Searched refs:horizontal_list (Results 1 – 14 of 14) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_horizontal_list_selected_set.c83 UINT _gx_horizontal_list_selected_set(GX_HORIZONTAL_LIST *horizontal_list, INT index) in _gx_horizontal_list_selected_set() argument
87 INT page_index = horizontal_list -> gx_horizontal_list_top_index; in _gx_horizontal_list_selected_set()
91 if (horizontal_list -> gx_horizontal_list_selected == index) in _gx_horizontal_list_selected_set()
93 if ((horizontal_list -> gx_widget_style & GX_STYLE_REPEAT_SELECT) == 0) in _gx_horizontal_list_selected_set()
101 _gx_horizontal_list_selected_widget_get(horizontal_list, &child); in _gx_horizontal_list_selected_set()
108 horizontal_list -> gx_horizontal_list_selected = index; in _gx_horizontal_list_selected_set()
113 child = _gx_widget_first_client_child_get((GX_WIDGET *)horizontal_list); in _gx_horizontal_list_selected_set()
115 …while (child && (child -> gx_widget_size.gx_rectangle_right <= horizontal_list -> gx_widget_size.g… in _gx_horizontal_list_selected_set()
121 left_index = horizontal_list -> gx_horizontal_list_top_index; in _gx_horizontal_list_selected_set()
122 right_index = left_index + horizontal_list -> gx_horizontal_list_child_count - 1; in _gx_horizontal_list_selected_set()
[all …]
Dgx_horizontal_list_children_position.c76 UINT _gx_horizontal_list_children_position(GX_HORIZONTAL_LIST *horizontal_list) in _gx_horizontal_list_children_position() argument
78 GX_RECTANGLE childsize = horizontal_list -> gx_window_client; in _gx_horizontal_list_children_position()
79 GX_WIDGET *child = horizontal_list -> gx_widget_first_child; in _gx_horizontal_list_children_position()
80 INT index = horizontal_list -> gx_horizontal_list_top_index; in _gx_horizontal_list_children_position()
85 horizontal_list -> gx_horizontal_list_child_width = 0; in _gx_horizontal_list_children_position()
86 horizontal_list -> gx_horizontal_list_child_count = 0; in _gx_horizontal_list_children_position()
93 horizontal_list -> gx_horizontal_list_child_count++; in _gx_horizontal_list_children_position()
99 …child -> gx_widget_id = (USHORT)(LIST_CHILD_ID_START + horizontal_list -> gx_horizontal_list_child… in _gx_horizontal_list_children_position()
102 if (index == horizontal_list -> gx_horizontal_list_selected) in _gx_horizontal_list_children_position()
116 if (width > horizontal_list -> gx_horizontal_list_child_width) in _gx_horizontal_list_children_position()
[all …]
Dgx_horizontal_list_create.c88 UINT _gx_horizontal_list_create(GX_HORIZONTAL_LIST *horizontal_list, in _gx_horizontal_list_create() argument
97 _gx_window_create((GX_WINDOW *)horizontal_list, name, GX_NULL, style, horizontal_list_id, size); in _gx_horizontal_list_create()
99 horizontal_list -> gx_widget_type = GX_TYPE_HORIZONTAL_LIST; in _gx_horizontal_list_create()
100 horizontal_list -> gx_widget_status |= GX_STATUS_NAV_PARENT; in _gx_horizontal_list_create()
101horizontal_list -> gx_widget_event_process_function = (UINT (*)(GX_WIDGET *, GX_EVENT *))_gx_horiz… in _gx_horizontal_list_create()
103 horizontal_list -> gx_horizontal_list_total_columns = total_columns; in _gx_horizontal_list_create()
104 horizontal_list -> gx_horizontal_list_top_index = 0; in _gx_horizontal_list_create()
105 horizontal_list -> gx_horizontal_list_pen_index = -1; in _gx_horizontal_list_create()
106 horizontal_list -> gx_horizontal_list_child_width = 1; in _gx_horizontal_list_create()
107 horizontal_list -> gx_horizontal_list_selected = 0; in _gx_horizontal_list_create()
[all …]
Dgx_horizontal_list_selected_widget_get.c74 UINT _gx_horizontal_list_selected_widget_get(GX_HORIZONTAL_LIST *horizontal_list, in _gx_horizontal_list_selected_widget_get() argument
78 GX_WIDGET *child = _gx_widget_first_client_child_get((GX_WIDGET *)horizontal_list); in _gx_horizontal_list_selected_widget_get()
80 …if (horizontal_list -> gx_horizontal_list_selected < horizontal_list -> gx_horizontal_list_top_ind… in _gx_horizontal_list_selected_widget_get()
82 …page_index = horizontal_list -> gx_horizontal_list_total_columns - horizontal_list -> gx_horizonta… in _gx_horizontal_list_selected_widget_get()
83 page_index += horizontal_list -> gx_horizontal_list_selected; in _gx_horizontal_list_selected_widget_get()
87 …page_index = horizontal_list -> gx_horizontal_list_selected - horizontal_list -> gx_horizontal_lis… in _gx_horizontal_list_selected_widget_get()
Dgxe_horizontal_list_page_index_set.c74 UINT _gxe_horizontal_list_page_index_set(GX_HORIZONTAL_LIST *horizontal_list, INT list_entry) in _gxe_horizontal_list_page_index_set() argument
81 if (horizontal_list == GX_NULL) in _gxe_horizontal_list_page_index_set()
88 (list_entry >= horizontal_list -> gx_horizontal_list_total_columns)) in _gxe_horizontal_list_page_index_set()
94 _gx_horizontal_list_page_index_set(horizontal_list, list_entry); in _gxe_horizontal_list_page_index_set()
Dgxe_horizontal_list_selected_set.c74 UINT _gxe_horizontal_list_selected_set(GX_HORIZONTAL_LIST *horizontal_list, INT index) in _gxe_horizontal_list_selected_set() argument
82 if (horizontal_list == GX_NULL) in _gxe_horizontal_list_selected_set()
88 if (horizontal_list -> gx_widget_type == 0) in _gxe_horizontal_list_selected_set()
94 status = _gx_horizontal_list_selected_set(horizontal_list, index); in _gxe_horizontal_list_selected_set()
Dgxe_horizontal_list_create.c83 UINT _gxe_horizontal_list_create(GX_HORIZONTAL_LIST *horizontal_list, in _gxe_horizontal_list_create() argument
97 if ((horizontal_list == GX_NULL) || (size == GX_NULL)) in _gxe_horizontal_list_create()
108 if (horizontal_list -> gx_widget_type != 0) in _gxe_horizontal_list_create()
120 …status = _gx_horizontal_list_create(horizontal_list, name, parent, total_columns, callback, style,… in _gxe_horizontal_list_create()
Dgxe_horizontal_list_children_position.c78 UINT _gxe_horizontal_list_children_position(GX_HORIZONTAL_LIST *horizontal_list) in _gxe_horizontal_list_children_position() argument
85 if (!horizontal_list) in _gxe_horizontal_list_children_position()
91 status = _gx_horizontal_list_children_position(horizontal_list); in _gxe_horizontal_list_children_position()
Dgxe_horizontal_list_selected_index_get.c73 UINT _gxe_horizontal_list_selected_index_get(GX_HORIZONTAL_LIST *horizontal_list, in _gxe_horizontal_list_selected_index_get() argument
79 if ((horizontal_list == GX_NULL) || (return_index == GX_NULL)) in _gxe_horizontal_list_selected_index_get()
85 status = _gx_horizontal_list_selected_index_get(horizontal_list, return_index); in _gxe_horizontal_list_selected_index_get()
Dgxe_horizontal_list_selected_widget_get.c73 UINT _gxe_horizontal_list_selected_widget_get(GX_HORIZONTAL_LIST *horizontal_list, in _gxe_horizontal_list_selected_widget_get() argument
79 if ((horizontal_list == GX_NULL) || (return_list_entry == GX_NULL)) in _gxe_horizontal_list_selected_widget_get()
85 status = _gx_horizontal_list_selected_widget_get(horizontal_list, return_list_entry); in _gxe_horizontal_list_selected_widget_get()
Dgx_horizontal_list_selected_index_get.c74 UINT _gx_horizontal_list_selected_index_get(GX_HORIZONTAL_LIST *horizontal_list, in _gx_horizontal_list_selected_index_get() argument
77 *return_index = horizontal_list -> gx_horizontal_list_selected; in _gx_horizontal_list_selected_index_get()
/GUIX-v6.2.1/common/inc/
Dgx_window.h59 UINT _gx_horizontal_list_create(GX_HORIZONTAL_LIST *horizontal_list, GX_CONST GX_CHAR *name,
68 UINT _gx_horizontal_list_selected_index_get(GX_HORIZONTAL_LIST *horizontal_list, INT *return_index);
69 UINT _gx_horizontal_list_selected_widget_get(GX_HORIZONTAL_LIST *horizontal_list, GX_WIDGET **retur…
70 UINT _gx_horizontal_list_selected_set(GX_HORIZONTAL_LIST *horizontal_list, INT entry);
145 UINT _gxe_horizontal_list_create(GX_HORIZONTAL_LIST *horizontal_list,
153 UINT _gxe_horizontal_list_selected_index_get(GX_HORIZONTAL_LIST *horizontal_list, INT *return_index…
154 UINT _gxe_horizontal_list_selected_set(GX_HORIZONTAL_LIST *horizontal_list, INT index);
155 UINT _gxe_horizontal_list_selected_widget_get(GX_HORIZONTAL_LIST *horizontal_list, GX_WIDGET **retu…
170 UINT _gxe_vertical_list_page_index_set(GX_VERTICAL_LIST *horizontal_list, INT list_entry);
Dgx_api.h3851 UINT _gx_horizontal_list_children_position(GX_HORIZONTAL_LIST *horizontal_list);
3852 UINT _gx_horizontal_list_create(GX_HORIZONTAL_LIST *horizontal_list,
3861 UINT _gx_horizontal_list_selected_index_get(GX_HORIZONTAL_LIST *horizontal_list, INT *return_index);
3862 UINT _gx_horizontal_list_selected_set(GX_HORIZONTAL_LIST *horizontal_list, INT index);
3863 UINT _gx_horizontal_list_selected_widget_get(GX_HORIZONTAL_LIST *horizontal_list, GX_WIDGET **retur…
3864 UINT _gx_horizontal_list_total_columns_set(GX_HORIZONTAL_LIST *horizontal_list, INT count);
5329 UINT _gxe_horizontal_list_children_position(GX_HORIZONTAL_LIST *horizontal_list);
5330 UINT _gxe_horizontal_list_create(GX_HORIZONTAL_LIST *horizontal_list, GX_CONST GX_CHAR *name, GX_WI…
5335 UINT _gxe_horizontal_list_page_index_set(GX_HORIZONTAL_LIST *horizontal_list, INT list_entry);
5336 UINT _gxe_horizontal_list_selected_index_get(GX_HORIZONTAL_LIST *horizontal_list, INT *return_index…
[all …]
/GUIX-v6.2.1/test/guix_test/regression_test/tests/
Dvalidation_guix_error_checking_api_coverage_no_output.c88 GX_HORIZONTAL_LIST horizontal_list; in control_thread_entry() local
1157 memset(&horizontal_list, 0, sizeof(GX_HORIZONTAL_LIST)); in control_thread_entry()
1158 status = gx_horizontal_list_children_position(&horizontal_list); //should return GX_PTR_ERROR in control_thread_entry()
1161 memset(&horizontal_list, 0, sizeof(GX_HORIZONTAL_LIST)); in control_thread_entry()
1162 …status = gx_horizontal_list_create(&horizontal_list, 0, 0, 0, 0, 0, 0, 0); //should return GX_PTR_… in control_thread_entry()
1165 …status = _gxe_horizontal_list_create(&horizontal_list, 0, 0, 0, 0, 0, 0, &size, 0); //should retur… in control_thread_entry()
1168 horizontal_list.gx_widget_type = GX_TYPE_HORIZONTAL_LIST; in control_thread_entry()
1169 …status = gx_horizontal_list_create(&horizontal_list, 0, 0, 0, 0, 0, 0, &size); //should return GX_… in control_thread_entry()
1172 horizontal_list.gx_widget_type = 0; in control_thread_entry()
1173 …status = gx_horizontal_list_create(&horizontal_list, 0, 0, 0, 0, 0, 0, &size); //should return GX_… in control_thread_entry()
[all …]