Home
last modified time | relevance | path

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

/GUIX-v6.4.1/common/src/
Dgx_single_line_text_input_left_arrow.c99 UINT end_mark = text_input -> gx_single_line_text_input_end_mark; in _gx_single_line_text_input_left_arrow() local
118 if (start_mark != end_mark) in _gx_single_line_text_input_left_arrow()
123 if (end_mark < start_mark) in _gx_single_line_text_input_left_arrow()
133 … _gx_single_line_text_input_text_rectangle_get(text_input, (INT)(start_mark - end_mark), &client); in _gx_single_line_text_input_left_arrow()
145 if ((insert_pos > 0) || (start_mark > end_mark)) in _gx_single_line_text_input_left_arrow()
147 if (end_mark >= start_mark) in _gx_single_line_text_input_left_arrow()
150 if (end_mark != start_mark) in _gx_single_line_text_input_left_arrow()
152 glyph_len = end_mark - start_mark; in _gx_single_line_text_input_left_arrow()
178 if (start_mark == end_mark) in _gx_single_line_text_input_left_arrow()
216 if (start_mark == end_mark) in _gx_single_line_text_input_left_arrow()
[all …]
Dgx_single_line_text_input_right_arrow.c100 UINT end_mark = text_input -> gx_single_line_text_input_end_mark; in _gx_single_line_text_input_right_arrow() local
113 if (start_mark != end_mark) in _gx_single_line_text_input_right_arrow()
118 if (end_mark > start_mark) in _gx_single_line_text_input_right_arrow()
128 … _gx_single_line_text_input_text_rectangle_get(text_input, (INT)(start_mark - end_mark), &client); in _gx_single_line_text_input_right_arrow()
142 (end_mark > start_mark)) in _gx_single_line_text_input_right_arrow()
144 if (start_mark >= end_mark) in _gx_single_line_text_input_right_arrow()
149 if (start_mark != end_mark) in _gx_single_line_text_input_right_arrow()
151 glyph_len = start_mark - end_mark; in _gx_single_line_text_input_right_arrow()
175 if (start_mark == end_mark) in _gx_single_line_text_input_right_arrow()
212 if (start_mark == end_mark) in _gx_single_line_text_input_right_arrow()
[all …]
Dgx_multi_line_text_input_mark_next.c94 UINT end_mark = text_input -> gx_multi_line_text_input_end_mark; in _gx_multi_line_text_input_mark_next() local
96 if (start_mark == end_mark) in _gx_multi_line_text_input_mark_next()
99 end_mark = text_input -> gx_multi_line_text_input_text_insert_position; in _gx_multi_line_text_input_mark_next()
102 text_input -> gx_multi_line_text_input_end_mark = end_mark; in _gx_multi_line_text_input_mark_next()
105 if (end_mark < text_input -> gx_multi_line_text_view_text.gx_string_length) in _gx_multi_line_text_input_mark_next()
108 string.gx_string_ptr = text_input -> gx_multi_line_text_view_text.gx_string_ptr + end_mark; in _gx_multi_line_text_input_mark_next()
109 … string.gx_string_length = text_input -> gx_multi_line_text_view_text.gx_string_length - end_mark; in _gx_multi_line_text_input_mark_next()
112 string.gx_string_ptr = text_input -> gx_multi_line_text_view_text.gx_string_ptr + end_mark; in _gx_multi_line_text_input_mark_next()
Dgx_single_line_text_input_mark_next.c96 UINT end_mark = text_input -> gx_single_line_text_input_end_mark; in _gx_single_line_text_input_mark_next() local
100 if (start_mark == end_mark) in _gx_single_line_text_input_mark_next()
103 end_mark = text_input -> gx_single_line_text_input_insert_pos; in _gx_single_line_text_input_mark_next()
106 text_input -> gx_single_line_text_input_end_mark = end_mark; in _gx_single_line_text_input_mark_next()
109 if (end_mark < string_size) in _gx_single_line_text_input_mark_next()
113 string.gx_string_ptr = string_buffer + end_mark; in _gx_single_line_text_input_mark_next()
114 string.gx_string_length = string_size - end_mark; in _gx_single_line_text_input_mark_next()
134 string.gx_string_ptr = string_buffer + end_mark; in _gx_single_line_text_input_mark_next()
178 if (start_mark == end_mark) in _gx_single_line_text_input_mark_next()
Dgx_single_line_text_input_text_select.c81 UINT end_mark = input -> gx_single_line_text_input_end_mark; in _gx_single_line_text_input_text_select() local
96 if (start_mark != end_mark) in _gx_single_line_text_input_text_select()
98 … _gx_single_line_text_input_text_rectangle_get(input, (INT)(start_mark - end_mark), &dirty_rect); in _gx_single_line_text_input_text_select()
112 end_mark = input -> gx_single_line_text_input_end_mark; in _gx_single_line_text_input_text_select()
114 if (input -> gx_single_line_text_input_insert_pos != end_mark) in _gx_single_line_text_input_text_select()
116 input -> gx_single_line_text_input_insert_pos = end_mark; in _gx_single_line_text_input_text_select()
120 … _gx_single_line_text_input_text_rectangle_get(input, (INT)(start_mark - end_mark), &dirty_rect); in _gx_single_line_text_input_text_select()
Dgx_multi_line_text_input_mark_previous.c101 UINT end_mark = text_input -> gx_multi_line_text_input_end_mark; in _gx_multi_line_text_input_mark_previous() local
103 if (start_mark == end_mark) in _gx_multi_line_text_input_mark_previous()
106 end_mark = text_input -> gx_multi_line_text_input_text_insert_position; in _gx_multi_line_text_input_mark_previous()
109 text_input -> gx_multi_line_text_input_end_mark = end_mark; in _gx_multi_line_text_input_mark_previous()
112 if (end_mark > 0) in _gx_multi_line_text_input_mark_previous()
119 (INT)(end_mark - 1), &glyph_len); in _gx_multi_line_text_input_mark_previous()
121 string = &text_input -> gx_multi_line_text_view_text.gx_string_ptr[end_mark - glyph_len]; in _gx_multi_line_text_input_mark_previous()
Dgx_single_line_text_input_mark_previous.c94 UINT end_mark = text_input -> gx_single_line_text_input_end_mark; in _gx_single_line_text_input_mark_previous() local
97 if (start_mark == end_mark) in _gx_single_line_text_input_mark_previous()
100 end_mark = text_input -> gx_single_line_text_input_insert_pos; in _gx_single_line_text_input_mark_previous()
103 text_input -> gx_single_line_text_input_end_mark = end_mark; in _gx_single_line_text_input_mark_previous()
109 if (end_mark > 0) in _gx_single_line_text_input_mark_previous()
113 … _gx_utility_utf8_string_backward_character_length_get(&string, (INT)(end_mark - 1), &glyph_len); in _gx_single_line_text_input_mark_previous()
129 string.gx_string_ptr += (end_mark - glyph_len); in _gx_single_line_text_input_mark_previous()
173 if (start_mark == end_mark) in _gx_single_line_text_input_mark_previous()
Dgx_single_line_text_input_draw.c111 UINT end_mark = text_input -> gx_single_line_text_input_end_mark; in _gx_single_line_text_input_draw() local
163 if ((start_mark == end_mark) && in _gx_single_line_text_input_draw()
182 if (start_mark == end_mark) in _gx_single_line_text_input_draw()
192 if (start_mark > end_mark) in _gx_single_line_text_input_draw()
194 GX_SWAP_VALS(start_mark, end_mark); in _gx_single_line_text_input_draw()
213 string.gx_string_length = (UINT)(end_mark - start_mark); in _gx_single_line_text_input_draw()
232 if (end_mark < text_input -> gx_single_line_text_input_string_size) in _gx_single_line_text_input_draw()
237 string.gx_string_ptr = input_buffer + end_mark; in _gx_single_line_text_input_draw()
238 … string.gx_string_length = text_input -> gx_single_line_text_input_string_size - end_mark; in _gx_single_line_text_input_draw()
Dgx_single_line_text_input_copy.c73 UINT end_mark = input -> gx_single_line_text_input_end_mark; in _gx_single_line_text_input_copy() local
75 if (start_mark != end_mark) in _gx_single_line_text_input_copy()
77 if (start_mark > end_mark) in _gx_single_line_text_input_copy()
79 GX_SWAP_VALS(start_mark, end_mark); in _gx_single_line_text_input_copy()
82 …_gx_system_clipboard_put(input -> gx_single_line_text_input_buffer + start_mark, end_mark - start_… in _gx_single_line_text_input_copy()
Dgx_multi_line_text_input_copy.c73 UINT end_mark = input -> gx_multi_line_text_input_end_mark; in _gx_multi_line_text_input_copy() local
75 if (start_mark != end_mark) in _gx_multi_line_text_input_copy()
77 if (start_mark > end_mark) in _gx_multi_line_text_input_copy()
79 GX_SWAP_VALS(start_mark, end_mark); in _gx_multi_line_text_input_copy()
82 …(VOID *)(input -> gx_multi_line_text_view_text.gx_string_ptr + start_mark), end_mark - start_mark); in _gx_multi_line_text_input_copy()
Dgx_multi_line_text_input_text_select.c81 UINT end_mark = input -> gx_multi_line_text_input_end_mark; in _gx_multi_line_text_input_text_select() local
96 if (start_mark != end_mark) in _gx_multi_line_text_input_text_select()
112 end_mark = input -> gx_multi_line_text_input_end_mark; in _gx_multi_line_text_input_text_select()
114 if (input -> gx_multi_line_text_input_text_insert_position != end_mark) in _gx_multi_line_text_input_text_select()
116 input -> gx_multi_line_text_input_text_insert_position = end_mark; in _gx_multi_line_text_input_text_select()
Dgx_single_line_text_input_mark_end.c93 UINT end_mark = text_input -> gx_single_line_text_input_end_mark; in _gx_single_line_text_input_mark_end() local
105 if (start_mark == end_mark) in _gx_single_line_text_input_mark_end()
109 end_mark = text_input -> gx_single_line_text_input_insert_pos; in _gx_single_line_text_input_mark_end()
112 text_input -> gx_single_line_text_input_end_mark = end_mark; in _gx_single_line_text_input_mark_end()
161 if (start_mark == end_mark) in _gx_single_line_text_input_mark_end()
169 …line_text_input_text_rectangle_get(text_input, (INT)(string.gx_string_length - end_mark), &client); in _gx_single_line_text_input_mark_end()
Dgx_single_line_text_input_mark_home.c95 UINT end_mark = text_input -> gx_single_line_text_input_end_mark; in _gx_single_line_text_input_mark_home() local
106 if (start_mark == end_mark) in _gx_single_line_text_input_mark_home()
110 end_mark = text_input -> gx_single_line_text_input_insert_pos; in _gx_single_line_text_input_mark_home()
113 text_input -> gx_single_line_text_input_end_mark = end_mark; in _gx_single_line_text_input_mark_home()
162 if (start_mark == end_mark) in _gx_single_line_text_input_mark_home()
170 _gx_single_line_text_input_text_rectangle_get(text_input, (INT)(0 - end_mark), &client); in _gx_single_line_text_input_mark_home()
Dgx_multi_line_text_input_mark_end.c90 UINT end_mark = text_input -> gx_multi_line_text_input_end_mark; in _gx_multi_line_text_input_mark_end() local
93 if (start_mark == end_mark) in _gx_multi_line_text_input_mark_end()
96 end_mark = text_input -> gx_multi_line_text_input_text_insert_position; in _gx_multi_line_text_input_mark_end()
99 text_input -> gx_multi_line_text_input_end_mark = end_mark; in _gx_multi_line_text_input_mark_end()
Dgx_multi_line_text_input_mark_home.c90 UINT end_mark = text_input -> gx_multi_line_text_input_end_mark; in _gx_multi_line_text_input_mark_home() local
93 if (start_mark == end_mark) in _gx_multi_line_text_input_mark_home()
96 end_mark = text_input -> gx_multi_line_text_input_text_insert_position; in _gx_multi_line_text_input_mark_home()
99 text_input -> gx_multi_line_text_input_end_mark = end_mark; in _gx_multi_line_text_input_mark_home()
Dgx_multi_line_text_input_draw.c91 UINT end_mark; in _gx_multi_line_text_input_draw() local
190 end_mark = input -> gx_multi_line_text_input_end_mark; in _gx_multi_line_text_input_draw()
192 if (line_start_mark > end_mark) in _gx_multi_line_text_input_draw()
194 GX_SWAP_VALS(line_start_mark, end_mark); in _gx_multi_line_text_input_draw()
289 if ((line_start_mark < line_end_index) && (end_mark > line_start_index)) in _gx_multi_line_text_input_draw()
307 if (end_mark < line_end_index) in _gx_multi_line_text_input_draw()
309 line_end_mark = end_mark; in _gx_multi_line_text_input_draw()
351 if (end_mark > line_end_index) in _gx_multi_line_text_input_draw()
Dgx_multi_line_text_input_mark_up.c93 UINT end_mark = text_input -> gx_multi_line_text_input_end_mark; in _gx_multi_line_text_input_mark_up() local
96 if (start_mark == end_mark) in _gx_multi_line_text_input_mark_up()
99 end_mark = text_input -> gx_multi_line_text_input_text_insert_position; in _gx_multi_line_text_input_mark_up()
102 text_input -> gx_multi_line_text_input_end_mark = end_mark; in _gx_multi_line_text_input_mark_up()
Dgx_single_line_text_input_end.c93 UINT end_mark = text_input -> gx_single_line_text_input_end_mark; in _gx_single_line_text_input_end() local
97 if (start_mark != end_mark) in _gx_single_line_text_input_end()
153 if (start_mark != end_mark) in _gx_single_line_text_input_end()
155 … _gx_single_line_text_input_text_rectangle_get(text_input, (INT)(start_mark - end_mark), &client); in _gx_single_line_text_input_end()
Dgx_single_line_text_input_home.c94 UINT end_mark = text_input -> gx_single_line_text_input_end_mark; in _gx_single_line_text_input_home() local
98 if (start_mark != end_mark) in _gx_single_line_text_input_home()
159 if (start_mark != end_mark) in _gx_single_line_text_input_home()
162 … _gx_single_line_text_input_text_rectangle_get(text_input, (INT)(start_mark - end_mark), &client); in _gx_single_line_text_input_home()
Dgx_single_line_text_input_event_process.c86 UINT end_mark = text_input -> gx_single_line_text_input_end_mark; in _gx_single_line_text_input_pen_down_process() local
90 if (start_mark != end_mark) in _gx_single_line_text_input_pen_down_process()
93 …_gx_single_line_text_input_text_rectangle_get(text_input, (INT)(start_mark - end_mark), &dirty_are… in _gx_single_line_text_input_pen_down_process()
165 UINT end_mark = text_input -> gx_single_line_text_input_end_mark; in _gx_single_line_text_input_pen_drag_process() local
219 (start_mark != end_mark)) in _gx_single_line_text_input_pen_drag_process()
222 …_gx_single_line_text_input_text_rectangle_get(text_input, (INT)(end_mark - text_input -> gx_single… in _gx_single_line_text_input_pen_drag_process()
Dgx_multi_line_text_input_delete.c114 UINT end_mark = text_input -> gx_multi_line_text_input_end_mark; in _gx_multi_line_text_input_delete() local
116 if (end_mark > start_mark) in _gx_multi_line_text_input_delete()
133 if (start_mark != end_mark) in _gx_multi_line_text_input_delete()
135 glyph_len = (UINT)GX_ABS((INT)start_mark - (INT)end_mark); in _gx_multi_line_text_input_delete()
Dgx_multi_line_text_input_backspace.c118 UINT end_mark = text_input -> gx_multi_line_text_input_end_mark; in _gx_multi_line_text_input_backspace() local
120 if (end_mark < start_mark) in _gx_multi_line_text_input_backspace()
136 if (start_mark != end_mark) in _gx_multi_line_text_input_backspace()
138 glyph_len = (UINT)GX_ABS((INT)start_mark - (INT)end_mark); in _gx_multi_line_text_input_backspace()
Dgx_multi_line_text_input_right_arrow.c94 UINT end_mark = text_input -> gx_multi_line_text_input_end_mark; in _gx_multi_line_text_input_right_arrow() local
100 if (start_mark != end_mark) in _gx_multi_line_text_input_right_arrow()
104 if (start_mark < end_mark) in _gx_multi_line_text_input_right_arrow()
Dgx_multi_line_text_input_left_arrow.c101 UINT end_mark = text_input -> gx_multi_line_text_input_end_mark; in _gx_multi_line_text_input_left_arrow() local
103 if (start_mark != end_mark) in _gx_multi_line_text_input_left_arrow()
107 if (end_mark < start_mark) in _gx_multi_line_text_input_left_arrow()
Dgx_multi_line_text_input_event_process.c94 UINT end_mark = text_input -> gx_multi_line_text_input_end_mark; in _gx_multi_line_text_input_pen_down_process() local
100 if (start_mark != end_mark) in _gx_multi_line_text_input_pen_down_process()
123 if (start_mark != end_mark) in _gx_multi_line_text_input_pen_down_process()