| /GUIX-v6.2.1/common/src/ |
| D | gx_scrollbar_thumb_position_calculate.c | 76 VOID _gx_scrollbar_thumb_position_calculate(GX_SCROLLBAR *scroll) in _gx_scrollbar_thumb_position_calculate() argument 90 style = scroll -> gx_widget_style; in _gx_scrollbar_thumb_position_calculate() 94 thumb_width = scroll -> gx_scrollbar_appearance.gx_scroll_thumb_width; in _gx_scrollbar_thumb_position_calculate() 97 if (scroll -> gx_scrollbar_appearance.gx_scroll_thumb_pixelmap) in _gx_scrollbar_thumb_position_calculate() 99 …_gx_widget_pixelmap_get((GX_WIDGET *) scroll, scroll -> gx_scrollbar_appearance.gx_scroll_thumb_pi… in _gx_scrollbar_thumb_position_calculate() 104 …scroll_width = scroll -> gx_widget_size.gx_rectangle_right - scroll -> gx_widget_size.gx_rectangle… in _gx_scrollbar_thumb_position_calculate() 106 travelsize = (scroll -> gx_widget_size.gx_rectangle_bottom - in _gx_scrollbar_thumb_position_calculate() 107 scroll -> gx_widget_size.gx_rectangle_top) + 1; in _gx_scrollbar_thumb_position_calculate() 111 …scroll_width = scroll -> gx_widget_size.gx_rectangle_bottom - scroll -> gx_widget_size.gx_rectangl… in _gx_scrollbar_thumb_position_calculate() 113 travelsize = (scroll -> gx_widget_size.gx_rectangle_right - in _gx_scrollbar_thumb_position_calculate() [all …]
|
| D | gx_scrollbar_value_calculate.c | 78 VOID _gx_scrollbar_value_calculate(GX_SCROLLBAR *scroll, INT offset, INT size) in _gx_scrollbar_value_calculate() argument 87 newval = (scroll -> gx_scrollbar_info.gx_scroll_maximum - in _gx_scrollbar_value_calculate() 88 scroll -> gx_scrollbar_info.gx_scroll_minimum) - in _gx_scrollbar_value_calculate() 89 scroll -> gx_scrollbar_info.gx_scroll_visible + 1; in _gx_scrollbar_value_calculate() 92 style = scroll -> gx_widget_style; in _gx_scrollbar_value_calculate() 96 newval *= offset - (scroll -> gx_widget_size.gx_rectangle_top + in _gx_scrollbar_value_calculate() 97 scroll -> gx_scrollbar_appearance.gx_scroll_thumb_travel_min); in _gx_scrollbar_value_calculate() 100 travel = (scroll -> gx_widget_size.gx_rectangle_bottom - in _gx_scrollbar_value_calculate() 101 scroll -> gx_widget_size.gx_rectangle_top) + 1; in _gx_scrollbar_value_calculate() 105 newval *= offset - (scroll -> gx_widget_size.gx_rectangle_left + in _gx_scrollbar_value_calculate() [all …]
|
| D | gx_scrollbar_size_update.c | 75 VOID _gx_scrollbar_size_update(GX_SCROLLBAR *scroll) in _gx_scrollbar_size_update() argument 80 UINT style = scroll -> gx_widget_style; in _gx_scrollbar_size_update() 82 parent = (GX_WINDOW *)scroll -> gx_widget_parent; in _gx_scrollbar_size_update() 93 …size.gx_rectangle_left = (GX_VALUE)(size.gx_rectangle_right - scroll -> gx_scrollbar_appearance.gx… in _gx_scrollbar_size_update() 100 …size.gx_rectangle_top = (GX_VALUE)(size.gx_rectangle_bottom - scroll -> gx_scrollbar_appearance.gx… in _gx_scrollbar_size_update() 102 _gx_widget_resize((GX_WIDGET *)scroll, &size); in _gx_scrollbar_size_update() 109 size.gx_rectangle_top = (GX_VALUE)(scroll -> gx_widget_size.gx_rectangle_top + 1); in _gx_scrollbar_size_update() 110 … size.gx_rectangle_right = (GX_VALUE)(scroll -> gx_widget_size.gx_rectangle_right - 1); in _gx_scrollbar_size_update() 111 size.gx_rectangle_left = (GX_VALUE)(scroll->gx_widget_size.gx_rectangle_left + 1); in _gx_scrollbar_size_update() 112 …size.gx_rectangle_bottom = (GX_VALUE)(size.gx_rectangle_top + scroll -> gx_scrollbar_appearance.gx… in _gx_scrollbar_size_update() [all …]
|
| D | gx_window_client_scroll.c | 80 GX_SCROLLBAR *scroll; in _gx_window_client_scroll() local 87 scroll = GX_NULL; in _gx_window_client_scroll() 91 _gx_window_scrollbar_find(window, (USHORT)GX_TYPE_HORIZONTAL_SCROLL, &scroll); in _gx_window_client_scroll() 93 if (scroll) in _gx_window_client_scroll() 95 scroll_value = scroll -> gx_scrollbar_info.gx_scroll_value; in _gx_window_client_scroll() 101 _gx_scrollbar_value_set(scroll, scroll_value); in _gx_window_client_scroll() 108 _gx_window_scrollbar_find(window, GX_TYPE_VERTICAL_SCROLL, &scroll); in _gx_window_client_scroll() 110 if (scroll) in _gx_window_client_scroll() 112 scroll_value = scroll -> gx_scrollbar_info.gx_scroll_value; in _gx_window_client_scroll() 114 _gx_scrollbar_value_set(scroll, scroll_value); in _gx_window_client_scroll()
|
| D | gx_tree_view_position.c | 93 GX_SCROLLBAR *scroll; in _gx_tree_view_position() local 161 _gx_window_scrollbar_find((GX_WINDOW *)tree, (USHORT)GX_TYPE_HORIZONTAL_SCROLL, &scroll); in _gx_tree_view_position() 166 if (scroll) in _gx_tree_view_position() 168 _gx_scrollbar_reset(scroll, GX_NULL); in _gx_tree_view_position() 172 _gx_widget_hide((GX_WIDGET *)scroll); in _gx_tree_view_position() 176 _gx_widget_show((GX_WIDGET *)scroll); in _gx_tree_view_position() 180 _gx_window_scrollbar_find((GX_WINDOW *)tree, GX_TYPE_VERTICAL_SCROLL, &scroll); in _gx_tree_view_position() 182 if (scroll) in _gx_tree_view_position() 184 _gx_scrollbar_reset(scroll, GX_NULL); in _gx_tree_view_position() 188 _gx_widget_hide((GX_WIDGET *)scroll); in _gx_tree_view_position() [all …]
|
| D | gx_tree_view_scroll.c | 84 GX_SCROLLBAR *scroll; in _gx_tree_view_scroll() local 122 scroll = GX_NULL; in _gx_tree_view_scroll() 126 _gx_window_scrollbar_find((GX_WINDOW *)tree, (USHORT)GX_TYPE_HORIZONTAL_SCROLL, &scroll); in _gx_tree_view_scroll() 130 _gx_window_scrollbar_find((GX_WINDOW *)tree, GX_TYPE_VERTICAL_SCROLL, &scroll); in _gx_tree_view_scroll() 133 if (scroll) in _gx_tree_view_scroll() 135 _gx_scrollbar_reset(scroll, GX_NULL); in _gx_tree_view_scroll()
|
| D | gx_multi_line_text_input_buffer_clear.c | 83 GX_SCROLLBAR *scroll; in _gx_multi_line_text_input_buffer_clear() local 98 _gx_window_scrollbar_find((GX_WINDOW *)text_input, GX_TYPE_VERTICAL_SCROLL, &scroll); in _gx_multi_line_text_input_buffer_clear() 99 if (scroll) in _gx_multi_line_text_input_buffer_clear() 102 _gx_scrollbar_reset(scroll, GX_NULL); in _gx_multi_line_text_input_buffer_clear()
|
| D | gx_multi_line_text_view_scroll.c | 87 GX_SCROLLBAR *scroll; in _gx_multi_line_text_view_scroll() local 97 _gx_window_scrollbar_find((GX_WINDOW *)view, GX_TYPE_VERTICAL_SCROLL, &scroll); in _gx_multi_line_text_view_scroll() 99 if (scroll) in _gx_multi_line_text_view_scroll() 101 _gx_scrollbar_reset((GX_SCROLLBAR *)scroll, GX_NULL); in _gx_multi_line_text_view_scroll()
|
| D | gx_multi_line_text_input_cursor_visible.c | 88 GX_SCROLLBAR *scroll; in _gx_multi_line_text_input_cursor_visible() local 130 _gx_window_scrollbar_find((GX_WINDOW *)text_input, GX_TYPE_VERTICAL_SCROLL, &scroll); in _gx_multi_line_text_input_cursor_visible() 131 if (scroll) in _gx_multi_line_text_input_cursor_visible() 134 _gx_scrollbar_reset(scroll, GX_NULL); in _gx_multi_line_text_input_cursor_visible()
|
| D | gx_vertical_list_scroll.c | 197 GX_SCROLLBAR *scroll; in _gx_vertical_list_scroll() local 272 _gx_window_scrollbar_find((GX_WINDOW *)list, GX_TYPE_VERTICAL_SCROLL, &scroll); in _gx_vertical_list_scroll() 274 if (scroll) in _gx_vertical_list_scroll() 276 _gx_scrollbar_reset(scroll, GX_NULL); in _gx_vertical_list_scroll()
|
| D | gx_horizontal_list_scroll.c | 198 GX_SCROLLBAR *scroll; in _gx_horizontal_list_scroll() local 274 _gx_window_scrollbar_find((GX_WINDOW *)list, GX_TYPE_HORIZONTAL_SCROLL, &scroll); in _gx_horizontal_list_scroll() 276 if (scroll) in _gx_horizontal_list_scroll() 278 _gx_scrollbar_reset(scroll, GX_NULL); in _gx_horizontal_list_scroll()
|
| D | gx_multi_line_text_input_text_set.c | 240 GX_SCROLLBAR *scroll; in _gx_multi_line_text_input_text_set_ext() local 296 _gx_window_scrollbar_find((GX_WINDOW *)text_input, GX_TYPE_VERTICAL_SCROLL, &scroll); in _gx_multi_line_text_input_text_set_ext() 297 if (scroll) in _gx_multi_line_text_input_text_set_ext() 300 _gx_scrollbar_reset(scroll, GX_NULL); in _gx_multi_line_text_input_text_set_ext()
|
| D | gx_multi_line_text_view_text_draw.c | 126 GX_SCROLLBAR *scroll; in _gx_multi_line_text_view_text_draw() local 138 _gx_window_scrollbar_find((GX_WINDOW *)text_view, GX_TYPE_VERTICAL_SCROLL, &scroll); in _gx_multi_line_text_view_text_draw() 149 if (scroll) in _gx_multi_line_text_view_text_draw() 152 _gx_scrollbar_reset(scroll, GX_NULL); in _gx_multi_line_text_view_text_draw() 191 scroll == GX_NULL && in _gx_multi_line_text_view_text_draw()
|
| D | gx_multi_line_text_input_delete.c | 111 GX_SCROLLBAR *scroll; in _gx_multi_line_text_input_delete() local 168 _gx_window_scrollbar_find((GX_WINDOW *)text_input, GX_TYPE_VERTICAL_SCROLL, &scroll); in _gx_multi_line_text_input_delete() 169 if (scroll) in _gx_multi_line_text_input_delete() 172 _gx_scrollbar_reset(scroll, GX_NULL); in _gx_multi_line_text_input_delete()
|
| D | gx_multi_line_text_input_backspace.c | 116 GX_SCROLLBAR *scroll; in _gx_multi_line_text_input_backspace() local 183 _gx_window_scrollbar_find((GX_WINDOW *)text_input, GX_TYPE_VERTICAL_SCROLL, &scroll); in _gx_multi_line_text_input_backspace() 184 if (scroll) in _gx_multi_line_text_input_backspace() 187 _gx_scrollbar_reset(scroll, GX_NULL); in _gx_multi_line_text_input_backspace()
|
| D | gx_multi_line_text_input_char_insert.c | 163 GX_SCROLLBAR *scroll; in _gx_multi_line_text_input_char_insert_ext() local 266 _gx_window_scrollbar_find((GX_WINDOW *)text_input, GX_TYPE_VERTICAL_SCROLL, &scroll); in _gx_multi_line_text_input_char_insert_ext() 267 if (scroll) in _gx_multi_line_text_input_char_insert_ext() 270 _gx_scrollbar_reset(scroll, GX_NULL); in _gx_multi_line_text_input_char_insert_ext()
|
| /GUIX-v6.2.1/guix_studio/ |
| D | hscroll_service_provider.cpp | 43 info->ewi.scroll.gx_scroll_width, in WriteExtendedProperties() 44 info->ewi.scroll.gx_scroll_thumb_width, in WriteExtendedProperties() 45 info->ewi.scroll.gx_scroll_thumb_travel_min, in WriteExtendedProperties() 46 info->ewi.scroll.gx_scroll_thumb_travel_max, in WriteExtendedProperties() 47 info->ewi.scroll.gx_scroll_thumb_border_style, in WriteExtendedProperties() 48 gen->GetPixelmapIdName(info->ewi.scroll.gx_scroll_fill_pixelmap), in WriteExtendedProperties() 49 gen->GetPixelmapIdName(info->ewi.scroll.gx_scroll_thumb_pixelmap), in WriteExtendedProperties() 50 gen->GetPixelmapIdName(info->ewi.scroll.gx_scroll_up_pixelmap), in WriteExtendedProperties() 51 gen->GetPixelmapIdName(info->ewi.scroll.gx_scroll_down_pixelmap), in WriteExtendedProperties() 52 gen->GetColorIdName(info->ewi.scroll.gx_scroll_thumb_color), in WriteExtendedProperties() [all …]
|
| D | vscroll_service_provider.cpp | 45 info->ewi.scroll.gx_scroll_width, in WriteExtendedProperties() 46 info->ewi.scroll.gx_scroll_thumb_width, in WriteExtendedProperties() 47 info->ewi.scroll.gx_scroll_thumb_travel_min, in WriteExtendedProperties() 48 info->ewi.scroll.gx_scroll_thumb_travel_max, in WriteExtendedProperties() 49 info->ewi.scroll.gx_scroll_thumb_border_style, in WriteExtendedProperties() 50 gen->GetPixelmapIdName(info->ewi.scroll.gx_scroll_fill_pixelmap), in WriteExtendedProperties() 51 gen->GetPixelmapIdName(info->ewi.scroll.gx_scroll_thumb_pixelmap), in WriteExtendedProperties() 52 gen->GetPixelmapIdName(info->ewi.scroll.gx_scroll_up_pixelmap), in WriteExtendedProperties() 53 gen->GetPixelmapIdName(info->ewi.scroll.gx_scroll_down_pixelmap), in WriteExtendedProperties() 54 gen->GetColorIdName(info->ewi.scroll.gx_scroll_thumb_color), in WriteExtendedProperties() [all …]
|
| /GUIX-v6.2.1/test/guix_test/regression_test/tests/ |
| D | validation_guix_scroll_thumb_event_process.c | 15 VOID _gx_scrollbar_thumb_position_calculate(GX_SCROLLBAR *scroll); 90 GX_SCROLLBAR *scroll = &window_screen.window_screen_vertical_scroll_1; in control_thread_entry() local 110 gx_widget_hide(scroll); in control_thread_entry() 111 scroll->gx_scrollbar_thumb.gx_scroll_thumb_pixelmap = GX_PIXELMAP_ID_I_ORANGEFILL_BOTTOM; in control_thread_entry() 112 gx_widget_show(scroll); in control_thread_entry() 117 gx_widget_hide(scroll); in control_thread_entry() 118 scroll->gx_scrollbar_thumb.gx_scroll_thumb_pixelmap = 1024; in control_thread_entry() 119 gx_widget_show(scroll); in control_thread_entry() 125 gx_widget_style_add((GX_WIDGET *)scroll, GX_SCROLLBAR_RELATIVE_THUMB); in control_thread_entry() 126 scroll -> gx_scrollbar_info.gx_scroll_maximum = scroll -> gx_scrollbar_info.gx_scroll_minimum; in control_thread_entry() [all …]
|
| D | validation_guix_all_widgets_tree_view.c | 102 GX_SCROLLBAR *scroll; in control_thread_entry() local 136 …_scrollbar_find((GX_WINDOW *)&menu_screen.menu_screen_tree_view, GX_TYPE_VERTICAL_SCROLL, &scroll); in control_thread_entry() 138 if(scroll && (scroll->gx_widget_status & GX_STATUS_VISIBLE)) in control_thread_entry() 140 … my_event.gx_event_payload.gx_event_intdata[1] = scroll->gx_scrollbar_info.gx_scroll_value; in control_thread_entry() 141 … my_event.gx_event_payload.gx_event_intdata[0] = scroll->gx_scrollbar_info.gx_scroll_maximum; in control_thread_entry() 151 …crollbar_find((GX_WINDOW *)&menu_screen.menu_screen_tree_view, GX_TYPE_HORIZONTAL_SCROLL, &scroll); in control_thread_entry() 153 if(scroll && (scroll->gx_widget_status & GX_STATUS_VISIBLE)) in control_thread_entry() 155 … my_event.gx_event_payload.gx_event_intdata[1] = scroll->gx_scrollbar_info.gx_scroll_value; in control_thread_entry() 158 … my_event.gx_event_payload.gx_event_intdata[0] = scroll->gx_scrollbar_info.gx_scroll_maximum; in control_thread_entry() 163 … my_event.gx_event_payload.gx_event_intdata[0] = scroll->gx_scrollbar_info.gx_scroll_minimum; in control_thread_entry()
|
| D | validation_guix_horizontal_list_scroll.c | 89 GX_HORIZONTAL_LIST *scroll; in control_thread_entry() local 168 scroll = &window.window_horizontal_list_scroll; in control_thread_entry() 169 gx_widget_style_remove(scroll, (GX_STYLE_WRAP | GX_STYLE_TRANSPARENT)); in control_thread_entry() 170 gx_widget_border_style_set(scroll, GX_STYLE_BORDER_THIN); in control_thread_entry() 171 gx_horizontal_list_total_columns_set(scroll, 0); in control_thread_entry() 172 gx_widget_show(scroll); in control_thread_entry() 173 my_event.gx_event_target = (GX_WIDGET *)scroll; in control_thread_entry()
|
| D | validation_guix_vertical_list_wrap.c | 71 GX_SCROLLBAR *scroll = &window.window_vertical_scroll; in control_thread_entry() local 130 gx_scrollbar_reset(scroll, GX_NULL); in control_thread_entry() 133 gx_scrollbar_reset(scroll, GX_NULL); in control_thread_entry()
|
| D | validation_guix_horizontal_list_wrap.c | 71 GX_SCROLLBAR *scroll = &window.window_hscroll_1; in control_thread_entry() local 130 gx_scrollbar_reset(scroll, GX_NULL); in control_thread_entry() 133 gx_scrollbar_reset(scroll, GX_NULL); in control_thread_entry()
|
| D | validation_guix_ml_text_input_block_move.c | 91 GX_SCROLLBAR *scroll; in control_thread_entry() local 94 gx_window_scrollbar_find((GX_WINDOW *)text_input, GX_TYPE_VERTICAL_SCROLL, &scroll); in control_thread_entry() 130 … my_event.gx_event_payload.gx_event_intdata[1] = scroll->gx_scrollbar_info.gx_scroll_value; in control_thread_entry()
|
| /GUIX-v6.2.1/common/inc/ |
| D | gx_scrollbar.h | 65 VOID _gx_scrollbar_thumb_position_calculate(GX_SCROLLBAR *scroll); 67 VOID _gx_scrollbar_size_update(GX_SCROLLBAR *scroll); 68 VOID _gx_scrollbar_value_calculate(GX_SCROLLBAR *scroll, INT offset, INT size); 69 UINT _gx_scrollbar_value_set(GX_SCROLLBAR *scroll, INT value);
|