Home
last modified time | relevance | path

Searched refs:drop_list (Results 1 – 25 of 36) sorted by relevance

12

/GUIX-v6.2.1/common/src/
Dgx_drop_list_create.c87 UINT _gx_drop_list_create(GX_DROP_LIST *drop_list, GX_CONST GX_CHAR *name, in _gx_drop_list_create() argument
99 _gx_widget_create((GX_WIDGET *)drop_list, name, GX_NULL, style, drop_list_id, size); in _gx_drop_list_create()
101 drop_list -> gx_widget_type = GX_TYPE_DROP_LIST; in _gx_drop_list_create()
102drop_list -> gx_widget_event_process_function = (UINT (*)(GX_WIDGET *, GX_EVENT *))_gx_drop_list_e… in _gx_drop_list_create()
103 drop_list -> gx_drop_list_open_height = open_height; in _gx_drop_list_create()
104 drop_list -> gx_drop_list_pixelmap = 0; in _gx_drop_list_create()
105 drop_list -> gx_drop_list_popup_open = GX_FALSE; in _gx_drop_list_create()
106 drop_list -> gx_widget_draw_function = (VOID (*)(GX_WIDGET *))_gx_drop_list_draw; in _gx_drop_list_create()
107drop_list -> gx_widget_event_process_function = (UINT (*)(GX_WIDGET *, GX_EVENT *))_gx_drop_list_e… in _gx_drop_list_create()
108 drop_list -> gx_widget_disabled_fill_color = drop_list -> gx_widget_normal_fill_color; in _gx_drop_list_create()
[all …]
Dgx_drop_list_event_process.c83 UINT _gx_drop_list_event_process(GX_DROP_LIST *drop_list, GX_EVENT *event_ptr) in _gx_drop_list_event_process() argument
87 widget = (GX_WIDGET *)drop_list; in _gx_drop_list_event_process()
96 if (drop_list -> gx_drop_list_popup_open) in _gx_drop_list_event_process()
98 _gx_drop_list_close(drop_list); in _gx_drop_list_event_process()
104 if (drop_list -> gx_drop_list_popup_open) in _gx_drop_list_event_process()
106 _gx_drop_list_close(drop_list); in _gx_drop_list_event_process()
110 _gx_drop_list_open(drop_list); in _gx_drop_list_event_process()
115 _gx_drop_list_close(drop_list); in _gx_drop_list_event_process()
Dgx_drop_list_open.c76 UINT _gx_drop_list_open(GX_DROP_LIST *drop_list) in _gx_drop_list_open() argument
81 GX_VERTICAL_LIST *list = &drop_list -> gx_drop_list_popup.gx_popup_list_list; in _gx_drop_list_open()
85 drop_list -> gx_drop_list_popup_open = GX_TRUE; in _gx_drop_list_open()
88 _gx_window_root_find((GX_WIDGET *)drop_list, &root); in _gx_drop_list_open()
90 size = drop_list -> gx_widget_size; in _gx_drop_list_open()
92 …size.gx_rectangle_bottom = (GX_VALUE)(size.gx_rectangle_top + drop_list -> gx_drop_list_open_heigh… in _gx_drop_list_open()
95 _gx_widget_link((GX_WIDGET *)drop_list -> gx_widget_parent, (GX_WIDGET *)list); in _gx_drop_list_open()
103 drop_list -> gx_drop_list_popup_open = GX_TRUE; in _gx_drop_list_open()
Dgx_drop_list_draw.c76 static VOID _gx_drop_list_selected_children_draw(GX_DROP_LIST *drop_list, GX_WIDGET *widget, GX_VAL… in _gx_drop_list_selected_children_draw() argument
100 if (drop_list -> gx_widget_status & GX_STATUS_HAS_FOCUS) in _gx_drop_list_selected_children_draw()
125 _gx_drop_list_selected_children_draw(drop_list, child, xshift, yshift); in _gx_drop_list_selected_children_draw()
186 VOID _gx_drop_list_draw(GX_DROP_LIST *drop_list) in _gx_drop_list_draw() argument
193 GX_VERTICAL_LIST *list = &drop_list -> gx_drop_list_popup.gx_popup_list_list; in _gx_drop_list_draw()
201 _gx_drop_list_background_draw(drop_list); in _gx_drop_list_draw()
230 _gx_widget_client_get((GX_WIDGET *)drop_list, -1, &client); in _gx_drop_list_draw()
253 if (drop_list -> gx_widget_status & GX_STATUS_HAS_FOCUS) in _gx_drop_list_draw()
269 _gx_drop_list_selected_children_draw(drop_list, selected, xshift, yshift); in _gx_drop_list_draw()
284 _gx_widget_children_draw((GX_WIDGET *)drop_list); in _gx_drop_list_draw()
Dgx_drop_list_background_draw.c79 VOID _gx_drop_list_background_draw(GX_DROP_LIST *drop_list) in _gx_drop_list_background_draw() argument
90 widget = (GX_WIDGET *)drop_list; in _gx_drop_list_background_draw()
92 pixelmap_id = drop_list -> gx_drop_list_pixelmap; in _gx_drop_list_background_draw()
105 if (drop_list -> gx_widget_style & GX_STYLE_TILE_BACKGROUND) in _gx_drop_list_background_draw()
119 _gx_widget_background_draw((GX_WIDGET *)drop_list); in _gx_drop_list_background_draw()
Dgx_drop_list_pixelmap_set.c73 UINT _gx_drop_list_pixelmap_set(GX_DROP_LIST *drop_list, GX_RESOURCE_ID id) in _gx_drop_list_pixelmap_set() argument
76 drop_list -> gx_drop_list_pixelmap = id; in _gx_drop_list_pixelmap_set()
78 if (drop_list -> gx_widget_status & GX_STATUS_VISIBLE) in _gx_drop_list_pixelmap_set()
81 _gx_system_dirty_mark((GX_WIDGET *)drop_list); in _gx_drop_list_pixelmap_set()
Dgx_drop_list_close.c72 UINT _gx_drop_list_close(GX_DROP_LIST *drop_list) in _gx_drop_list_close() argument
74 GX_VERTICAL_LIST *list = &drop_list -> gx_drop_list_popup.gx_popup_list_list; in _gx_drop_list_close()
77 if (drop_list -> gx_drop_list_popup_open) in _gx_drop_list_close()
79 drop_list -> gx_drop_list_popup_open = GX_FALSE; in _gx_drop_list_close()
Dgxe_drop_list_create.c84 UINT _gxe_drop_list_create(GX_DROP_LIST *drop_list, GX_CONST GX_CHAR *name, in _gxe_drop_list_create() argument
95 if (!drop_list || !size) in _gxe_drop_list_create()
107 if (drop_list -> gx_widget_type != 0) in _gxe_drop_list_create()
113 status = _gx_drop_list_create(drop_list, name, parent, total_rows, open_height, in _gxe_drop_list_create()
Dgxe_drop_list_close.c73 UINT _gxe_drop_list_close(GX_DROP_LIST *drop_list) in _gxe_drop_list_close() argument
80 if (!drop_list) in _gxe_drop_list_close()
86 status = _gx_drop_list_close(drop_list); in _gxe_drop_list_close()
Dgxe_drop_list_open.c73 UINT _gxe_drop_list_open(GX_DROP_LIST *drop_list) in _gxe_drop_list_open() argument
81 if (!drop_list) in _gxe_drop_list_open()
87 status = _gx_drop_list_open(drop_list); in _gxe_drop_list_open()
Dgxe_drop_list_pixelmap_set.c76 UINT _gxe_drop_list_pixelmap_set(GX_DROP_LIST *drop_list, GX_RESOURCE_ID id) in _gxe_drop_list_pixelmap_set() argument
84 if (!drop_list) in _gxe_drop_list_pixelmap_set()
90 status = _gx_drop_list_pixelmap_set(drop_list, id); in _gxe_drop_list_pixelmap_set()
Dgxe_drop_list_popup_get.c78 UINT _gxe_drop_list_popup_get(GX_DROP_LIST *drop_list, GX_VERTICAL_LIST **return_list) in _gxe_drop_list_popup_get() argument
83 if (!drop_list) in _gxe_drop_list_popup_get()
93 status = _gx_drop_list_popup_get(drop_list, return_list); in _gxe_drop_list_popup_get()
/GUIX-v6.2.1/test/guix_test/regression_test/tests/
Dvalidation_guix_all_widgets_drop_list_background_draw.c65 GX_DROP_LIST *drop_list; in control_thread_entry() local
68 drop_list = &window_screen.window_screen_drop_list; in control_thread_entry()
71 gx_drop_list_open(drop_list); in control_thread_entry()
72 gx_drop_list_pixelmap_set(drop_list, GX_PIXELMAP_ID_FISH); in control_thread_entry()
75 gx_system_dirty_mark(drop_list); in control_thread_entry()
80 gx_widget_style_remove(drop_list, GX_STYLE_TILE_BACKGROUND); in control_thread_entry()
82 gx_system_dirty_mark(drop_list); in control_thread_entry()
87 gx_widget_status_add(drop_list, GX_STATUS_HAS_FOCUS); in control_thread_entry()
89 gx_system_dirty_mark(drop_list); in control_thread_entry()
Dvalidation_guix_all_widgets_drop_list_event_process.c65 GX_DROP_LIST *drop_list; in control_thread_entry() local
69 drop_list = &window_screen.window_screen_drop_list; in control_thread_entry()
72 gx_drop_list_open(drop_list); in control_thread_entry()
73 gx_drop_list_pixelmap_set(drop_list, GX_PIXELMAP_ID_FISH); in control_thread_entry()
76 gx_system_dirty_mark(drop_list); in control_thread_entry()
81 gx_widget_hide(drop_list); in control_thread_entry()
87 gx_widget_show(drop_list); in control_thread_entry()
93 gx_drop_list_open(drop_list); in control_thread_entry()
101 my_event.gx_event_target = (GX_WIDGET *)drop_list; in control_thread_entry()
Dvalidation_guix_drop_list_24xrgb.c66 GX_DROP_LIST *drop_list; in control_thread_entry() local
75 …nd((GX_WIDGET *) pWindowScreen, ID_DROP_LIST, GX_SEARCH_DEPTH_INFINITE, (GX_WIDGET **) &drop_list); in control_thread_entry()
77 click_pos.gx_point_x = drop_list->gx_widget_size.gx_rectangle_right - 10; in control_thread_entry()
78 click_pos.gx_point_y = drop_list->gx_widget_size.gx_rectangle_top + 10; in control_thread_entry()
82 open_height = drop_list->gx_drop_list_open_height; in control_thread_entry()
83 x_pos = drop_list->gx_widget_size.gx_rectangle_left + 10; in control_thread_entry()
84 y_pos = drop_list->gx_widget_size.gx_rectangle_bottom - 10; in control_thread_entry()
87 for (; y_pos < drop_list->gx_widget_size.gx_rectangle_bottom + open_height; y_pos += 28) in control_thread_entry()
Dvalidation_guix_drop_list_open.c68 GX_DROP_LIST *drop_list; in control_thread_entry() local
72 …nd((GX_WIDGET *) pWindowScreen, ID_DROP_LIST, GX_SEARCH_DEPTH_INFINITE, (GX_WIDGET **) &drop_list); in control_thread_entry()
73 list = &drop_list->gx_drop_list_popup.gx_popup_list_list; in control_thread_entry()
78 my_event.gx_event_target = (GX_WIDGET *)drop_list; in control_thread_entry()
92 my_event.gx_event_target = (GX_WIDGET *)&(drop_list -> gx_drop_list_popup); in control_thread_entry()
Dvalidation_guix_drop_list.c75 GX_DROP_LIST *drop_list; in control_thread_entry() local
80 drop_list = &main_screen.main_screen_droplist; in control_thread_entry()
83 gx_drop_list_popup_get(drop_list, &list); in control_thread_entry()
86 gx_drop_list_open(drop_list); in control_thread_entry()
Dvalidation_guix_partial_frame_buffer_16bpp_vertical_list.c78 GX_DROP_LIST *drop_list; in control_thread_entry() local
86 drop_list = &window_screen.window_screen_drop_list; in control_thread_entry()
89 gx_drop_list_popup_get(drop_list, &list); in control_thread_entry()
91 gx_drop_list_open(drop_list); in control_thread_entry()
Dvalidation_guix_all_widgets_16bpp_rotated_vertical_list.c76 GX_DROP_LIST *drop_list; in control_thread_entry() local
84 drop_list = &window_screen.window_screen_drop_list; in control_thread_entry()
87 gx_drop_list_popup_get(drop_list, &list); in control_thread_entry()
102 gx_drop_list_open(drop_list); in control_thread_entry()
Dvalidation_guix_all_widgets_8bpp_rotated_cw_vertical_list.c78 GX_DROP_LIST *drop_list; in control_thread_entry() local
91 drop_list = &window_screen.window_screen_drop_list; in control_thread_entry()
94 gx_drop_list_popup_get(drop_list, &list); in control_thread_entry()
96 gx_drop_list_open(drop_list); in control_thread_entry()
Dvalidation_guix_all_widgets_24xrgb_rotated_ccw_vertical_list.c76 GX_DROP_LIST *drop_list; in control_thread_entry() local
84 drop_list = &window_screen.window_screen_drop_list; in control_thread_entry()
87 gx_drop_list_popup_get(drop_list, &list); in control_thread_entry()
102 gx_drop_list_open(drop_list); in control_thread_entry()
Dvalidation_guix_all_widgets_24xrgb_rotated_cw_vertical_list.c76 GX_DROP_LIST *drop_list; in control_thread_entry() local
84 drop_list = &window_screen.window_screen_drop_list; in control_thread_entry()
87 gx_drop_list_popup_get(drop_list, &list); in control_thread_entry()
102 gx_drop_list_open(drop_list); in control_thread_entry()
Dvalidation_guix_all_widgets_synergy_8bpp_rotated_cw_vertical_list.c76 GX_DROP_LIST *drop_list; in control_thread_entry() local
91 drop_list = &window_screen.window_screen_drop_list; in control_thread_entry()
94 gx_drop_list_popup_get(drop_list, &list); in control_thread_entry()
96 gx_drop_list_open(drop_list); in control_thread_entry()
/GUIX-v6.2.1/guix_studio/
Ddrop_list_service_provider.cpp57 info->ewi.drop_list.total_rows, in WriteExtendedProperties()
58 info->ewi.drop_list.open_height); in WriteExtendedProperties()
115 info->ewi.drop_list.total_rows = 10; in CreateNewInstance()
116 info->ewi.drop_list.open_height = 100; in CreateNewInstance()
117 info->ewi.drop_list.seperation = 0; in CreateNewInstance()
128 info->ewi.drop_list.total_rows, info->ewi.drop_list.open_height, NULL, in GenerateFromInfo()
160 writer.WriteInt("seperation", info->ewi.drop_list.seperation); in SaveToProject()
161 writer.WriteInt("total_rows", info->ewi.drop_list.total_rows); in SaveToProject()
162 writer.WriteInt("open_height", info->ewi.drop_list.open_height); in SaveToProject()
173 reader.ReadInt("seperation", info->ewi.drop_list.seperation, 0); in ReadFromProject()
[all …]
/GUIX-v6.2.1/common/inc/
Dgx_drop_list.h53 UINT _gx_drop_list_close(GX_DROP_LIST *drop_list);
54 UINT _gx_drop_list_create(GX_DROP_LIST *drop_list, GX_CONST GX_CHAR *name,
59 VOID _gx_drop_list_background_draw(GX_DROP_LIST *drop_list);
62 UINT _gx_drop_list_pixelmap_set(GX_DROP_LIST *drop_list, GX_RESOURCE_ID pixelmap_id);
66 UINT _gxe_drop_list_close(GX_DROP_LIST *drop_list);
67 UINT _gxe_drop_list_create(GX_DROP_LIST *drop_list, GX_CONST GX_CHAR *name,
73 UINT _gxe_drop_list_pixelmap_set(GX_DROP_LIST *drop_list, GX_RESOURCE_ID pixelmap_id);

12