/GUIX-v6.2.1/common/src/ |
D | gx_multi_line_text_input_char_remove.c | 83 UINT string_size; in _gx_multi_line_text_input_char_remove() local 87 string_size = text_input -> gx_multi_line_text_view_text.gx_string_length; in _gx_multi_line_text_input_char_remove() 88 …memmove(input_buffer + start_pos, input_buffer + start_pos + del_bytes, string_size - start_pos - … in _gx_multi_line_text_input_char_remove() 89 input_buffer[string_size - del_bytes] = '\0'; in _gx_multi_line_text_input_char_remove()
|
D | gx_multi_line_text_input_char_insert.c | 152 UINT string_size; in _gx_multi_line_text_input_char_insert_ext() local 182 string_size = text_input -> gx_multi_line_text_view_text.gx_string_length; in _gx_multi_line_text_input_char_insert_ext() 194 if (buffer_size < string_size + insert_str.gx_string_length + 1) in _gx_multi_line_text_input_char_insert_ext() 244 string_size = text_input -> gx_multi_line_text_view_text.gx_string_length; in _gx_multi_line_text_input_char_insert_ext() 246 if (buffer_size < string_size + glyph_len + 1) in _gx_multi_line_text_input_char_insert_ext() 251 memmove(input_buffer + index + glyph_len, input_buffer + index, string_size - index + 1); in _gx_multi_line_text_input_char_insert_ext()
|
D | gx_single_line_text_input_character_delete.c | 91 UINT string_size; in _gx_single_line_text_input_character_delete() local 111 string_size = text_input -> gx_single_line_text_input_string_size; in _gx_single_line_text_input_character_delete() 113 if (insert_pos < string_size) in _gx_single_line_text_input_character_delete() 134 string.gx_string_length = string_size - insert_pos; in _gx_single_line_text_input_character_delete() 224 …memmove(string_buffer + insert_pos, string_buffer + insert_pos + glyph_len, string_size - insert_p… in _gx_single_line_text_input_character_delete() 226 string_buffer[string_size - glyph_len] = '\0'; in _gx_single_line_text_input_character_delete()
|
D | gx_single_line_text_input_character_insert.c | 94 UINT string_size; in _gx_single_line_text_input_character_insert() local 122 string_size = text_input -> gx_single_line_text_input_string_size; in _gx_single_line_text_input_character_insert() 125 if (buffer_size < string_size + insert_size + 1) in _gx_single_line_text_input_character_insert() 141 …memmove(string_buffer + insert_pos + insert_size, string_buffer + insert_pos, string_size - insert… in _gx_single_line_text_input_character_insert() 143 string_buffer[string_size + insert_size] = '\0'; in _gx_single_line_text_input_character_insert()
|
D | gx_single_line_text_input_mark_next.c | 88 UINT string_size = text_input -> gx_single_line_text_input_string_size; in _gx_single_line_text_input_mark_next() local 110 if (end_mark < string_size) in _gx_single_line_text_input_mark_next() 115 string.gx_string_length = string_size - end_mark; in _gx_single_line_text_input_mark_next()
|
D | gx_single_line_text_input_backspace.c | 102 UINT string_size; in _gx_single_line_text_input_backspace() local 116 string_size = text_input -> gx_single_line_text_input_string_size; in _gx_single_line_text_input_backspace() 139 string.gx_string_length = string_size; in _gx_single_line_text_input_backspace() 153 string.gx_string_length = string_size; in _gx_single_line_text_input_backspace() 158 text_input -> gx_single_line_text_input_buffer[string_size - glyph_len] = '\0'; in _gx_single_line_text_input_backspace()
|
D | gx_multi_line_text_input_delete.c | 103 UINT string_size; in _gx_multi_line_text_input_delete() local 123 string_size = text_input -> gx_multi_line_text_view_text.gx_string_length; in _gx_multi_line_text_input_delete() 124 if (insert_pos < string_size) in _gx_multi_line_text_input_delete()
|
D | gx_single_line_text_input_right_arrow.c | 91 UINT string_size = text_input -> gx_single_line_text_input_string_size; in _gx_single_line_text_input_right_arrow() local 142 if ((insert_pos < string_size) || in _gx_single_line_text_input_right_arrow() 157 string.gx_string_length = string_size - insert_pos; in _gx_single_line_text_input_right_arrow()
|
/GUIX-v6.2.1/tutorials/demo_guix_ml_text_input/ |
D | demo_guix_ml_text_input.c | 147 UINT string_size; in set_cursor_width() local 155 gx_single_line_text_input_buffer_get(cursor_width_input, &input_buffer, &string_size, GX_NULL); in set_cursor_width() 158 string_to_int(input_buffer, string_size, &value); in set_cursor_width() 175 UINT string_size; in set_cursor_height() local 183 gx_single_line_text_input_buffer_get(cursor_height_input, &input_buffer, &string_size, GX_NULL); in set_cursor_height() 186 string_to_int(input_buffer, string_size, &value); in set_cursor_height() 224 UINT string_size; in select_whole_text() local 227 …line_text_input_buffer_get(&main_screen.main_screen_ml_text_input, GX_NULL, &string_size, GX_NULL); in select_whole_text() 230 … gx_multi_line_text_input_text_select(&main_screen.main_screen_ml_text_input, 0, string_size - 1); in select_whole_text()
|
/GUIX-v6.2.1/tutorials/demo_guix_horizontal_list/ |
D | demo_guix_horizontal_list.c | 99 int string_size; in set_page_index() local 103 gx_single_line_text_input_buffer_get(input, &input_string, &string_size, GX_NULL); in set_page_index() 104 string_to_int(input_string, string_size, &index); in set_page_index() 120 int string_size; in set_selected_index() local 124 gx_single_line_text_input_buffer_get(input, &input_string, &string_size, GX_NULL); in set_selected_index() 125 string_to_int(input_string, string_size, &index); in set_selected_index() 141 int string_size; in set_total_cols() local 145 gx_single_line_text_input_buffer_get(input, &input_string, &string_size, GX_NULL); in set_total_cols() 146 string_to_int(input_string, string_size, &index); in set_total_cols()
|
/GUIX-v6.2.1/tutorials/demo_guix_vertical_list/ |
D | demo_guix_vertical_list.c | 97 INT string_size; in set_page_index() local 101 gx_single_line_text_input_buffer_get(input, &input_string, (UINT *)&string_size, GX_NULL); in set_page_index() 102 string_to_int(input_string, string_size, &index); in set_page_index() 118 int string_size; in set_selected_index() local 122 gx_single_line_text_input_buffer_get(input, &input_string, (UINT *)&string_size, GX_NULL); in set_selected_index() 123 string_to_int(input_string, string_size, &index); in set_selected_index() 139 int string_size; in set_total_rows() local 143 gx_single_line_text_input_buffer_get(input, &input_string, (UINT*)&string_size, GX_NULL); in set_total_rows() 144 string_to_int(input_string, string_size, &index); in set_total_rows()
|
/GUIX-v6.2.1/tutorials/demo_guix_scroll_wheel/ |
D | demo_guix_scroll_wheel.c | 197 UINT string_size; in selected_day_set() local 203 gx_single_line_text_input_buffer_get(day_input, &input_buffer, &string_size, GX_NULL); in selected_day_set() 206 string_to_int(input_buffer, string_size, &value); in selected_day_set() 218 UINT string_size; in day_wheel_range_set() local 223 …nput_buffer_get(&main_screen.main_screen_day_startval_input, &input_buffer, &string_size, GX_NULL); in day_wheel_range_set() 226 string_to_int(input_buffer, string_size, &start_val); in day_wheel_range_set() 229 …_input_buffer_get(&main_screen.main_screen_day_endval_input, &input_buffer, &string_size, GX_NULL); in day_wheel_range_set() 232 string_to_int(input_buffer, string_size, &end_val); in day_wheel_range_set()
|
/GUIX-v6.2.1/tutorials/demo_guix_generic_scroll_wheel/ |
D | demo_guix_generic_scroll_wheel.c | 92 UINT string_size; in main_screen_event_process() local 98 …ut_buffer_get(&main_screen.main_screen_text_input_total_row, &input_string, &string_size, GX_NULL); in main_screen_event_process() 99 value = string_to_int(input_string, string_size); in main_screen_event_process() 108 …buffer_get(&main_screen.main_screen_text_input_selected_row, &input_string, &string_size, GX_NULL); in main_screen_event_process() 109 value = string_to_int(input_string, string_size); in main_screen_event_process()
|
/GUIX-v6.2.1/samples/demo_guix_calculator/ |
D | demo_guix_calculator.c | 130 INT string_size; in calculator_event_handler() local 156 string_size = text_input->gx_single_line_text_input_string_size; in calculator_event_handler() 158 if (string_size) in calculator_event_handler() 161 pre_char = text_input->gx_single_line_text_input_buffer[string_size - 1]; in calculator_event_handler() 166 if ((pre_char == '0') && (string_size == 1)) in calculator_event_handler() 177 else if (string_size) in calculator_event_handler()
|