Home
last modified time | relevance | path

Searched refs:win (Results 1 – 25 of 45) sorted by relevance

12

/GUIX-v6.2.1/common/src/
Dgx_scrollbar_event_process.c98 GX_WINDOW *win; in _gx_scrollbar_event_process() local
191 win = (GX_WINDOW *)scrollbar -> gx_widget_parent; in _gx_scrollbar_event_process()
192 if (win) in _gx_scrollbar_event_process()
194 _gx_widget_border_width_get((GX_WIDGET *)win, &parent_border_width); in _gx_scrollbar_event_process()
198win -> gx_window_client.gx_rectangle_right = (GX_VALUE)(win -> gx_widget_size.gx_rectangle_right -… in _gx_scrollbar_event_process()
212win -> gx_window_client.gx_rectangle_bottom = (GX_VALUE)(win -> gx_widget_size.gx_rectangle_bottom… in _gx_scrollbar_event_process()
227 if (win -> gx_widget_status & GX_STATUS_VISIBLE) in _gx_scrollbar_event_process()
230 newevent.gx_event_target = (GX_WIDGET *)win; in _gx_scrollbar_event_process()
250 win = (GX_WINDOW *) (scrollbar -> gx_widget_parent); in _gx_scrollbar_event_process()
252 if (win) in _gx_scrollbar_event_process()
[all …]
Dgx_window_root_event_process.c75 UINT _gx_window_root_event_process(GX_WINDOW_ROOT *win, GX_EVENT *event_ptr) in _gx_window_root_event_process() argument
87 if (win -> gx_window_move_mode) in _gx_window_root_event_process()
93 win -> gx_window_move_start.gx_point_x); in _gx_window_root_event_process()
95 win -> gx_window_move_start.gx_point_y); in _gx_window_root_event_process()
98 win -> gx_window_move_start.gx_point_x = in _gx_window_root_event_process()
100 win -> gx_window_move_start.gx_point_y = in _gx_window_root_event_process()
104 _gx_canvas_shift(win -> gx_window_root_canvas, xShift, yShift); in _gx_window_root_event_process()
113 status = _gx_window_event_process((GX_WINDOW *)win, event_ptr); in _gx_window_root_event_process()
Dgx_window_background_draw.c70 VOID _gx_window_background_draw(GX_WINDOW *win) in _gx_window_background_draw() argument
74 if (win -> gx_widget_style & GX_STYLE_ENABLED) in _gx_window_background_draw()
76 if (win -> gx_widget_style & GX_STYLE_DRAW_SELECTED) in _gx_window_background_draw()
78 fill_color = win -> gx_widget_selected_fill_color; in _gx_window_background_draw()
82 fill_color = win -> gx_widget_normal_fill_color; in _gx_window_background_draw()
87 fill_color = win -> gx_widget_disabled_fill_color; in _gx_window_background_draw()
90 _gx_window_border_draw(win, fill_color); in _gx_window_background_draw()
Dgx_widget_resize.c88 GX_WINDOW *win; in _gx_widget_resize() local
137 win = (GX_WINDOW *)widget; in _gx_widget_resize()
138win -> gx_window_client.gx_rectangle_left = (GX_VALUE)(win -> gx_window_client.gx_rectangle_left… in _gx_widget_resize()
139win -> gx_window_client.gx_rectangle_top = (GX_VALUE)(win -> gx_window_client.gx_rectangle_top … in _gx_widget_resize()
140win -> gx_window_client.gx_rectangle_right = (GX_VALUE)(win -> gx_window_client.gx_rectangle_righ… in _gx_widget_resize()
141win -> gx_window_client.gx_rectangle_bottom = (GX_VALUE)(win -> gx_window_client.gx_rectangle_bott… in _gx_widget_resize()
Dgx_system_all_canvas_dirty.c73 GX_WIDGET *win; in _gx_system_all_canvas_dirty() local
81 win = root -> gx_widget_first_child; in _gx_system_all_canvas_dirty()
83 while (win) in _gx_system_all_canvas_dirty()
85 _gx_system_dirty_mark(win); in _gx_system_all_canvas_dirty()
86 win = win -> gx_widget_next; in _gx_system_all_canvas_dirty()
Dgx_display_canvas_dirty.c76 GX_WIDGET *win; in _gx_display_canvas_dirty() local
85 win = root -> gx_widget_first_child; in _gx_display_canvas_dirty()
87 while (win) in _gx_display_canvas_dirty()
89 _gx_system_dirty_mark(win); in _gx_display_canvas_dirty()
90 win = win -> gx_widget_next; in _gx_display_canvas_dirty()
Dgx_widget_show.c79 GX_WINDOW *win; in _gx_widget_show() local
99 win = (GX_WINDOW *)widget; in _gx_widget_show()
100 if (win -> gx_window_views) in _gx_widget_show()
102 _gx_system_views_free(win -> gx_window_views); in _gx_widget_show()
103 win -> gx_window_views = GX_NULL; in _gx_widget_show()
105 _gx_window_view_update_detect(win); in _gx_widget_show()
Dgx_system_view_add.c74 VOID _gx_system_view_add(GX_WINDOW *win, GX_RECTANGLE *view) in _gx_system_view_add() argument
78 if (_gx_system_view_fold(win, view)) in _gx_system_view_add()
88 if (win -> gx_window_views) in _gx_system_view_add()
90 newview -> gx_view_next = win -> gx_window_views; in _gx_system_view_add()
96 win -> gx_window_views = newview; in _gx_system_view_add()
Dgx_scrollbar_reset.c81 GX_WINDOW *win; in _gx_scrollbar_reset() local
89 win = (GX_WINDOW *)scrollbar -> gx_widget_parent; in _gx_scrollbar_reset()
91 if (win) in _gx_scrollbar_reset()
93win -> gx_window_scroll_info_get(win, scrollbar -> gx_widget_style, &scrollbar -> gx_scrollbar_inf… in _gx_scrollbar_reset()
Dgx_system_root_view_add.c80 GX_WINDOW *win = GX_NULL; in _gx_system_root_view_add() local
94 win = (GX_WINDOW *)widget; in _gx_system_root_view_add()
95 if (_gx_utility_rectangle_overlap_detect(inrect, &win -> gx_widget_size, &overlap)) in _gx_system_root_view_add()
98 _gx_system_view_split(win, root, inrect); in _gx_system_root_view_add()
101 _gx_system_view_add(win, &overlap); in _gx_system_root_view_add()
Dgx_widget_child_clipping_update.c78 GX_WIDGET *win; in _gx_widget_child_clipping_update() local
84 win = child -> gx_widget_parent; in _gx_widget_child_clipping_update()
85 _gx_utility_rectangle_overlap_detect(&win -> gx_widget_clip, in _gx_widget_child_clipping_update()
88 if (win -> gx_widget_type >= GX_TYPE_WINDOW && in _gx_widget_child_clipping_update()
91 _gx_utility_rectangle_overlap_detect(&((GX_WINDOW *)win) -> gx_window_client, in _gx_widget_child_clipping_update()
Dgx_widget_hide.c75 GX_WINDOW *win; in _gx_widget_hide() local
122 win = (GX_WINDOW *)widget; in _gx_widget_hide()
123 if (win -> gx_window_views) in _gx_widget_hide()
125 _gx_system_views_free(win -> gx_window_views); in _gx_widget_hide()
126 win -> gx_window_views = GX_NULL; in _gx_widget_hide()
Dgx_widget_shift.c83 GX_WINDOW *win; in _gx_widget_shift_helper() local
105 win = (GX_WINDOW *)widget; in _gx_widget_shift_helper()
106 _gx_utility_rectangle_shift(&win -> gx_window_client, x_shift, y_shift); in _gx_widget_shift_helper()
108 if (win -> gx_widget_status & GX_STATUS_VISIBLE) in _gx_widget_shift_helper()
111 _gx_window_view_update_detect(win); in _gx_widget_shift_helper()
Dgx_system_all_views_free.c81 GX_WINDOW *win; in _gx_system_all_views_free() local
91 win = (GX_WINDOW *)child; in _gx_system_all_views_free()
92 test = win -> gx_window_views; in _gx_system_all_views_free()
99 win -> gx_window_views = GX_NULL; in _gx_system_all_views_free()
Dgx_canvas_drawing_initiate.c96 GX_WINDOW *win; in _gx_canvas_drawing_initiate() local
238 win = (GX_WINDOW *)who; in _gx_canvas_drawing_initiate()
239 new_context -> gx_draw_context_view_head = win -> gx_window_views; in _gx_canvas_drawing_initiate()
251 win = (GX_WINDOW *)who; in _gx_canvas_drawing_initiate()
256 win = (GX_WINDOW *)who -> gx_widget_parent; in _gx_canvas_drawing_initiate()
258 new_context -> gx_draw_context_view_head = win -> gx_window_views; in _gx_canvas_drawing_initiate()
Dgx_window_border_draw.c83 VOID _gx_window_border_draw(GX_WINDOW *win, GX_RESOURCE_ID fill_color) in _gx_window_border_draw() argument
85 GX_WIDGET *widget = (GX_WIDGET *)win; in _gx_window_border_draw()
97 if (win -> gx_window_wallpaper != 0) in _gx_window_border_draw()
99 _gx_context_pixelmap_get(win -> gx_window_wallpaper, &pixelmap); in _gx_window_border_draw()
Dgx_horizontal_list_scroll_info_get.c77 VOID _gx_horizontal_list_scroll_info_get(GX_WINDOW *win, ULONG style, GX_SCROLL_INFO *info) in _gx_horizontal_list_scroll_info_get() argument
81 GX_HORIZONTAL_LIST *list = (GX_HORIZONTAL_LIST *)win; in _gx_horizontal_list_scroll_info_get()
119 child = _gx_widget_first_client_child_get((GX_WIDGET *)win); in _gx_horizontal_list_scroll_info_get()
123 … value += win -> gx_window_client.gx_rectangle_left - child -> gx_widget_size.gx_rectangle_left; in _gx_horizontal_list_scroll_info_get()
Dgx_window_draw.c72 VOID _gx_window_draw(GX_WINDOW *win) in _gx_window_draw() argument
75 _gx_window_background_draw(win); in _gx_window_draw()
78 _gx_widget_children_draw((GX_WIDGET *)win); in _gx_window_draw()
Dgx_widget_clipping_update.c78 GX_WINDOW *win; in _gx_widget_clipping_update() local
94 win = (GX_WINDOW *)parent; in _gx_widget_clipping_update()
95 _gx_utility_rectangle_overlap_detect(&win -> gx_window_client, in _gx_widget_clipping_update()
/GUIX-v6.2.1/test/guix_test/regression_test/tests/
Dvalidation_guix_all_widgets_332rgb_pixelmap_blend.c100 void window_draw_func(GX_WINDOW *win) in window_draw_func() argument
106 gx_window_draw(win); in window_draw_func()
110 …gx_canvas_pixelmap_draw(win->gx_widget_size.gx_rectangle_left + 10, win->gx_widget_size.gx_rectang… in window_draw_func()
113 …gx_canvas_pixelmap_draw(win->gx_widget_size.gx_rectangle_left + 10, win->gx_widget_size.gx_rectang… in window_draw_func()
/GUIX-v6.2.1/test/example_internal/lines/
Dold_lines_app.c359 LINE_WINDOW *win = (LINE_WINDOW *) widget; in line_win_draw() local
364 if (win -> is_aliased) in line_win_draw()
368 if (win -> is_round) in line_win_draw()
372 gx_context_brush_define(win -> line_color, win ->gx_widget_normal_fill_color, brush_style); in line_win_draw()
373 gx_context_brush_width_set(win -> line_width); in line_win_draw()
376 gx_canvas_line_draw(win ->line_x1, win ->line_y1, win ->line_x2, win ->line_y2); in line_win_draw()
/GUIX-v6.2.1/test/example_internal/guix_medical_mouse_support/
Dvitals.c42 void draw_scrolling_chart_lines(GX_CANVAS *canvas, GX_WINDOW *win) in draw_scrolling_chart_lines() argument
52 gx_canvas_drawing_initiate(canvas, (GX_WIDGET *) win, &chart_update_rectangle); in draw_scrolling_chart_lines()
85 VOID update_scrolling_chart(GX_WINDOW *win) in update_scrolling_chart() argument
95 gx_widget_canvas_get(win, &canvas); in update_scrolling_chart()
98 gx_canvas_drawing_initiate(canvas, win, &chart_area); in update_scrolling_chart()
135 draw_scrolling_chart_lines(canvas, win); in update_scrolling_chart()
199 void update_retrace_chart(GX_WINDOW *win) in update_retrace_chart() argument
226 gx_widget_canvas_get(win, &canvas); in update_retrace_chart()
229 gx_canvas_drawing_initiate(canvas, win, &chart_area); in update_retrace_chart()
/GUIX-v6.2.1/test/example_internal/vertical_list_32bpp/
Ddemo_guix_vertical_list_32bpp.c34 void vertical_list_children_create(WINDOW_CONTROL_BLOCK *win);
35 void vertical_wrap_list_children_create(WINDOW_CONTROL_BLOCK *win);
173 void vertical_list_children_create(WINDOW_CONTROL_BLOCK *win) in vertical_list_children_create() argument
176 GX_VERTICAL_LIST *list = &win->window_vertical_list_scroll; in vertical_list_children_create()
184 void vertical_wrap_list_children_create(WINDOW_CONTROL_BLOCK *win) in vertical_wrap_list_children_create() argument
187 GX_VERTICAL_LIST *list = &win->window_vertical_list_wrap; in vertical_wrap_list_children_create()
/GUIX-v6.2.1/test/example_internal/horizontal_list_32bpp/
Ddemo_guix_horizontal_list_32bpp.c34 void horizontal_list_children_create(WINDOW_CONTROL_BLOCK *win);
35 void horizontal_wrap_list_children_create(WINDOW_CONTROL_BLOCK *win);
171 void horizontal_list_children_create(WINDOW_CONTROL_BLOCK *win) in horizontal_list_children_create() argument
174 GX_HORIZONTAL_LIST *list = &win->window_horizontal_list_scroll; in horizontal_list_children_create()
182 void horizontal_wrap_list_children_create(WINDOW_CONTROL_BLOCK *win) in horizontal_wrap_list_children_create() argument
185 GX_HORIZONTAL_LIST *list = &win->window_horizontal_list_wrap; in horizontal_wrap_list_children_create()
/GUIX-v6.2.1/samples/demo_guix_widget_types/
Dguix_circular_gauge_screen.c40 UINT gauge_window_event_handler(GX_WINDOW *win, GX_EVENT *event_ptr) in gauge_window_event_handler() argument
51 gx_widget_find(win, ID_GAUGE_ANIMATED, GX_SEARCH_DEPTH_INFINITE, &gauge); in gauge_window_event_handler()
60 gx_widget_find(win, ID_GAUGE_NOT_ANIMATED, GX_SEARCH_DEPTH_INFINITE, &gauge); in gauge_window_event_handler()
66 return gx_window_event_process(win, event_ptr); in gauge_window_event_handler()

12