/GUIX-v6.4.1/common/src/ |
D | gx_utility_math_sqrt.c | 94 UINT _gx_utility_math_sqrt(UINT value) in _gx_utility_math_sqrt() argument 98 if (value >= 0x7FFEA810) in _gx_utility_math_sqrt() 102 else if (value >= 0x1000000) in _gx_utility_math_sqrt() 104 if (value >= 0x40000000) in _gx_utility_math_sqrt() 106 square_root = (UINT)sqrt_table[value >> 24] << 8; in _gx_utility_math_sqrt() 108 else if (value >= 0x10000000) in _gx_utility_math_sqrt() 110 square_root = (UINT)sqrt_table[value >> 22] << 7; in _gx_utility_math_sqrt() 112 else if (value >= 0x4000000) in _gx_utility_math_sqrt() 114 square_root = (UINT)sqrt_table[value >> 20] << 6; in _gx_utility_math_sqrt() 118 square_root = (UINT)sqrt_table[value >> 18] << 5; in _gx_utility_math_sqrt() [all …]
|
D | gx_tree_view_scroll_info_get.c | 77 INT value; in _gx_tree_view_scroll_info_get() local 93 value = client -> gx_rectangle_top - shift; in _gx_tree_view_scroll_info_get() 95 if (value < info -> gx_scroll_minimum) in _gx_tree_view_scroll_info_get() 97 value = info -> gx_scroll_minimum; in _gx_tree_view_scroll_info_get() 99 else if (value > info -> gx_scroll_maximum - info -> gx_scroll_visible + 1) in _gx_tree_view_scroll_info_get() 101 value = info -> gx_scroll_maximum - info -> gx_scroll_visible + 1; in _gx_tree_view_scroll_info_get() 104 shift = client -> gx_rectangle_top - value; in _gx_tree_view_scroll_info_get() 111 info -> gx_scroll_value = value; in _gx_tree_view_scroll_info_get() 125 value = client -> gx_rectangle_left - shift; in _gx_tree_view_scroll_info_get() 127 if (value < info -> gx_scroll_minimum) in _gx_tree_view_scroll_info_get() [all …]
|
D | gx_utility_utf8_string_character_get.c | 76 GX_CHAR_CODE value = 0; in _gx_utility_utf8_string_character_get() local 134 value = (*ch & ~0xE0) & 0xFF; in _gx_utility_utf8_string_character_get() 141 value = (*ch & ~0xF0) & 0xFF; in _gx_utility_utf8_string_character_get() 148 value = (*ch & ~0xF8) & 0xFF; in _gx_utility_utf8_string_character_get() 155 value = (*ch & ~0xFC) & 0xFF; in _gx_utility_utf8_string_character_get() 162 value = (*ch & ~0xFE) & 0xFF; in _gx_utility_utf8_string_character_get() 220 value = (GX_CHAR_CODE)(value << 6); in _gx_utility_utf8_string_character_get() 221 value = (GX_CHAR_CODE)(value + ((*ch & ~0xC0) & 0xFF)); in _gx_utility_utf8_string_character_get() 226 *glyph_value = value; in _gx_utility_utf8_string_character_get()
|
/GUIX-v6.4.1/test/example_internal/glyph_draw_8bpp_screen/ |
D | demo_glyph_draw_8bpp.c | 34 void string_to_int(char *str, int len, int *value); 97 INT value; in main_event_handler() local 119 … gx_single_line_text_input_buffer, pVSliderInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() 120 if((value >= 20) && (value <= 310)) in main_event_handler() 122 value = 345 - (value - 20); in main_event_handler() 123 gx_slider_value_set(pVerticalSlider, &pVerticalSlider->gx_slider_info, value); in main_event_handler() 128 … gx_single_line_text_input_buffer, pHSliderInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() 129 if((value >= 20) && (value <= 570)) in main_event_handler() 131 gx_slider_value_set(pHorizontalSlider, &pHorizontalSlider->gx_slider_info, value); in main_event_handler() 136 …-> gx_single_line_text_input_buffer, pVClipInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/synergy_glyph_draw_32bpp/ |
D | demo_synergy_glyph_draw_32bpp.c | 34 void string_to_int(char *str, int len, int *value); 94 INT value; in main_event_handler() local 116 …t->gx_single_line_text_input_buffer, pVSliderInput->gx_single_line_text_input_string_size, &value); in main_event_handler() 117 if ((value >= 20) && (value <= 345)) in main_event_handler() 119 value = 345 - (value - 20); in main_event_handler() 120 gx_slider_value_set(pVerticalSlider, &pVerticalSlider->gx_slider_info, value); in main_event_handler() 125 …t->gx_single_line_text_input_buffer, pHSliderInput->gx_single_line_text_input_string_size, &value); in main_event_handler() 126 if ((value >= 20) && (value <= 570)) in main_event_handler() 128 gx_slider_value_set(pHorizontalSlider, &pHorizontalSlider->gx_slider_info, value); in main_event_handler() 133 …put->gx_single_line_text_input_buffer, pVClipInput->gx_single_line_text_input_string_size, &value); in main_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/synergy_glyph_draw_16bpp/ |
D | demo_synergy_glyph_draw_16bpp.c | 34 void string_to_int(char *str, int len, int *value); 95 INT value; in main_event_handler() local 117 … gx_single_line_text_input_buffer, pVSliderInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() 118 if((value >= 20) && (value <= 345)) in main_event_handler() 120 value = 345 - (value - 20); in main_event_handler() 121 gx_slider_value_set(pVerticalSlider, &pVerticalSlider->gx_slider_info, value); in main_event_handler() 126 … gx_single_line_text_input_buffer, pHSliderInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() 127 if((value >= 20) && (value <= 570)) in main_event_handler() 129 gx_slider_value_set(pHorizontalSlider, &pHorizontalSlider->gx_slider_info, value); in main_event_handler() 134 …-> gx_single_line_text_input_buffer, pVClipInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/synergy_glyph_draw_8bpp/ |
D | demo_synergy_glyph_draw_8bpp.c | 34 void string_to_int(char *str, int len, int *value); 95 INT value; in main_event_handler() local 117 …t->gx_single_line_text_input_buffer, pVSliderInput->gx_single_line_text_input_string_size, &value); in main_event_handler() 118 if ((value >= 20) && (value <= 345)) in main_event_handler() 120 value = 345 - (value - 20); in main_event_handler() 121 gx_slider_value_set(pVerticalSlider, &pVerticalSlider->gx_slider_info, value); in main_event_handler() 126 …t->gx_single_line_text_input_buffer, pHSliderInput->gx_single_line_text_input_string_size, &value); in main_event_handler() 127 if ((value >= 20) && (value <= 570)) in main_event_handler() 129 gx_slider_value_set(pHorizontalSlider, &pHorizontalSlider->gx_slider_info, value); in main_event_handler() 134 …put->gx_single_line_text_input_buffer, pVClipInput->gx_single_line_text_input_string_size, &value); in main_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/glyph_draw_8bpp_screen_text_colors_16/ |
D | demo_glyph_draw_8bpp_screen_text_colors_16.c | 34 void string_to_int(char *str, int len, int *value); 97 INT value; in main_event_handler() local 119 … gx_single_line_text_input_buffer, pVSliderInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() 120 if((value >= 20) && (value <= 310)) in main_event_handler() 122 value = 345 - (value - 20); in main_event_handler() 123 gx_slider_value_set(pVerticalSlider, &pVerticalSlider->gx_slider_info, value); in main_event_handler() 128 … gx_single_line_text_input_buffer, pHSliderInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() 129 if((value >= 20) && (value <= 570)) in main_event_handler() 131 gx_slider_value_set(pHorizontalSlider, &pHorizontalSlider->gx_slider_info, value); in main_event_handler() 136 …-> gx_single_line_text_input_buffer, pVClipInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/glyph_draw_32bpp_screen/ |
D | demo_glyph_draw_32bpp.c | 34 void string_to_int(char *str, int len, int *value); 97 INT value; in main_event_handler() local 119 … gx_single_line_text_input_buffer, pVSliderInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() 120 if((value >= 20) && (value <= 345)) in main_event_handler() 122 value = 345 - (value - 20); in main_event_handler() 123 gx_slider_value_set(pVerticalSlider, &pVerticalSlider->gx_slider_info, value); in main_event_handler() 128 … gx_single_line_text_input_buffer, pHSliderInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() 129 if((value >= 20) && (value <= 570)) in main_event_handler() 131 gx_slider_value_set(pHorizontalSlider, &pHorizontalSlider->gx_slider_info, value); in main_event_handler() 136 …-> gx_single_line_text_input_buffer, pVClipInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/glyph_draw_16bpp_screen/ |
D | demo_glyph_draw_16bpp.c | 34 void string_to_int(char *str, int len, int *value); 97 INT value; in main_event_handler() local 119 … gx_single_line_text_input_buffer, pVSliderInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() 120 if((value >= 20) && (value <= 345)) in main_event_handler() 122 value = 345 - (value - 20); in main_event_handler() 123 gx_slider_value_set(pVerticalSlider, &pVerticalSlider->gx_slider_info, value); in main_event_handler() 128 … gx_single_line_text_input_buffer, pHSliderInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() 129 if((value >= 20) && (value <= 570)) in main_event_handler() 131 gx_slider_value_set(pHorizontalSlider, &pHorizontalSlider->gx_slider_info, value); in main_event_handler() 136 …-> gx_single_line_text_input_buffer, pVClipInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() [all …]
|
/GUIX-v6.4.1/tutorials/demo_guix_ml_text_input/ |
D | demo_guix_ml_text_input.c | 117 static void string_to_int(char *str, int len, int *value) in string_to_int() argument 121 *value = 0; in string_to_int() 125 *value = *value * 10; in string_to_int() 126 *value += str[index] - '0'; in string_to_int() 148 INT value; in set_cursor_width() local 158 string_to_int(input_buffer, string_size, &value); in set_cursor_width() 160 if (value > 0) in set_cursor_width() 163 gx_text_input_cursor_width_set(&ml_input->gx_multi_line_text_input_cursor_instance, value); in set_cursor_width() 176 INT value; in set_cursor_height() local 186 string_to_int(input_buffer, string_size, &value); in set_cursor_height() [all …]
|
/GUIX-v6.4.1/guix_studio/libs/libjpeg/include/ |
D | jmorecfg.h | 52 #define GETJSAMPLE(value) ((int)(value)) argument 58 #define GETJSAMPLE(value) ((int)(value)) argument 60 #define GETJSAMPLE(value) ((int)(value) & 0xFF) argument 77 #define GETJSAMPLE(value) ((int)(value)) argument 103 #define GETJOCTET(value) (value) argument 109 #define GETJOCTET(value) (value) argument 111 #define GETJOCTET(value) ((value) & 0xFF) argument
|
/GUIX-v6.4.1/test/example_internal/ml_text_input_16bpp/ |
D | demo_guix_ml_text_input_16bpp.c | 102 void string_to_int(char *str, int len, int *value) in string_to_int() argument 106 *value = 0; in string_to_int() 110 *value = *value * 10; in string_to_int() 111 *value += str[i] - '0'; in string_to_int() 123 INT value; in main_event_handler() local 211 string_to_int(input_buffer, string_size, &value); in main_event_handler() 213 if(value > 0) in main_event_handler() 215 … gx_text_input_cursor_width_set(&ml_input->gx_multi_line_text_input_cursor_instance, value); in main_event_handler() 227 string_to_int(input_buffer, string_size, &value); in main_event_handler() 229 if(value > 0) in main_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/kerning_glyph_draw_32bpp_screen/ |
D | demo_kerning_glyph_draw_32bpp_screen.c | 42 void string_to_int(char *str, int len, int *value); 122 INT value; in main_event_handler() local 141 … gx_single_line_text_input_buffer, pVSliderInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() 142 if((value >= 20) && (value <= 345)) in main_event_handler() 144 value = 345 - (value - 20); in main_event_handler() 145 gx_slider_value_set(pVerticalSlider, &pVerticalSlider->gx_slider_info, value); in main_event_handler() 150 … gx_single_line_text_input_buffer, pHSliderInput -> gx_single_line_text_input_string_size, &value); in main_event_handler() 151 if((value >= 20) && (value <= 570)) in main_event_handler() 153 gx_slider_value_set(pHorizontalSlider, &pHorizontalSlider->gx_slider_info, value); in main_event_handler() 171 void string_to_int(char *str, int len, int *value) in string_to_int() argument [all …]
|
/GUIX-v6.4.1/test/example_internal/generic_scroll_wheel/ |
D | demo_guix_generic_scroll_wheel.c | 35 void string_to_int(char* str, int len, int* value); 98 UINT value; in main_screen_event_process() local 104 string_to_int(input_string, string_size, &value); in main_screen_event_process() 106 gx_generic_scroll_wheel_total_rows_set(&main_screen.main_screen_scroll_wheel, value); in main_screen_event_process() 107 gx_generic_scroll_wheel_total_rows_set(&main_screen.main_screen_scroll_wheel_nowrap, value); in main_screen_event_process() 108 gx_generic_scroll_wheel_total_rows_set(&main_screen.main_screen_scroll_wheel_wrap, value); in main_screen_event_process() 113 string_to_int(input_string, string_size, &value); in main_screen_event_process() 115 … gx_scroll_wheel_selected_set((GX_SCROLL_WHEEL *)&main_screen.main_screen_scroll_wheel, value); in main_screen_event_process() 116 …_scroll_wheel_selected_set((GX_SCROLL_WHEEL *)&main_screen.main_screen_scroll_wheel_nowrap, value); in main_screen_event_process() 117 …gx_scroll_wheel_selected_set((GX_SCROLL_WHEEL *)&main_screen.main_screen_scroll_wheel_wrap, value); in main_screen_event_process() [all …]
|
/GUIX-v6.4.1/tutorials/demo_guix_generic_scroll_wheel/ |
D | demo_guix_generic_scroll_wheel.c | 93 UINT value; in main_screen_event_process() local 99 value = string_to_int(input_string, string_size); in main_screen_event_process() 102 gx_generic_scroll_wheel_total_rows_set(&main_screen.main_screen_scroll_wheel, value); in main_screen_event_process() 103 gx_generic_scroll_wheel_total_rows_set(&main_screen.main_screen_scroll_wheel_nowrap, value); in main_screen_event_process() 104 gx_generic_scroll_wheel_total_rows_set(&main_screen.main_screen_scroll_wheel_wrap, value); in main_screen_event_process() 109 value = string_to_int(input_string, string_size); in main_screen_event_process() 112 … gx_scroll_wheel_selected_set((GX_SCROLL_WHEEL *)&main_screen.main_screen_scroll_wheel, value); in main_screen_event_process() 113 …_scroll_wheel_selected_set((GX_SCROLL_WHEEL *)&main_screen.main_screen_scroll_wheel_nowrap, value); in main_screen_event_process() 114 …gx_scroll_wheel_selected_set((GX_SCROLL_WHEEL *)&main_screen.main_screen_scroll_wheel_wrap, value); in main_screen_event_process() 238 INT value = 0; in string_to_int() local [all …]
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_16bpp_rotated_cw_binary/ |
D | resize_screen.c | 16 VOID update_prompt_text(GX_RESOURCE_ID id, float value) in update_prompt_text() argument 26 text[0] = '0' + (int)(value); in update_prompt_text() 28 text[2] = '0' + (int)(value * 10) % 10; in update_prompt_text() 29 text[3] = '0' + (int)(value * 100) % 10; in update_prompt_text() 39 INT value; in resize_screen_event_handler() local 44 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 45 value -= 50; in resize_screen_event_handler() 46 x_ratio = 1 + (float)value / 100; in resize_screen_event_handler() 51 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 52 value -= 50; in resize_screen_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_16bpp_rotated_ccw/ |
D | resize_screen.c | 16 VOID update_prompt_text(GX_RESOURCE_ID id, float value) in update_prompt_text() argument 26 text[0] = '0' + (int)(value); in update_prompt_text() 28 text[2] = '0' + (int)(value * 10) % 10; in update_prompt_text() 29 text[3] = '0' + (int)(value * 100) % 10; in update_prompt_text() 39 INT value; in resize_screen_event_handler() local 44 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 45 value -= 50; in resize_screen_event_handler() 46 x_ratio = 1 + (float)value / 100; in resize_screen_event_handler() 51 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 52 value -= 50; in resize_screen_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_16bpp_rotated_ccw_binary/ |
D | resize_screen.c | 16 VOID update_prompt_text(GX_RESOURCE_ID id, float value) in update_prompt_text() argument 26 text[0] = '0' + (int)(value); in update_prompt_text() 28 text[2] = '0' + (int)(value * 10) % 10; in update_prompt_text() 29 text[3] = '0' + (int)(value * 100) % 10; in update_prompt_text() 39 INT value; in resize_screen_event_handler() local 44 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 45 value -= 50; in resize_screen_event_handler() 46 x_ratio = 1 + (float)value / 100; in resize_screen_event_handler() 51 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 52 value -= 50; in resize_screen_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_16bpp_rotated_cw/ |
D | resize_screen.c | 16 VOID update_prompt_text(GX_RESOURCE_ID id, float value) in update_prompt_text() argument 26 text[0] = '0' + (int)(value); in update_prompt_text() 28 text[2] = '0' + (int)(value * 10) % 10; in update_prompt_text() 29 text[3] = '0' + (int)(value * 100) % 10; in update_prompt_text() 39 INT value; in resize_screen_event_handler() local 44 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 45 value -= 50; in resize_screen_event_handler() 46 x_ratio = 1 + (float)value / 100; in resize_screen_event_handler() 51 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 52 value -= 50; in resize_screen_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_16bpp_rotated_cw_dave2d_disabled/ |
D | resize_screen.c | 16 VOID update_prompt_text(GX_RESOURCE_ID id, float value) in update_prompt_text() argument 26 text[0] = '0' + (int)(value); in update_prompt_text() 28 text[2] = '0' + (int)(value * 10) % 10; in update_prompt_text() 29 text[3] = '0' + (int)(value * 100) % 10; in update_prompt_text() 40 INT value; in resize_screen_event_handler() local 45 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 46 value -= 50; in resize_screen_event_handler() 47 x_ratio = 1 + (float)value / 100; in resize_screen_event_handler() 53 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 54 value -= 50; in resize_screen_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_8bpp_6_1_3/ |
D | resize_screen.c | 15 VOID update_prompt_text(GX_RESOURCE_ID id, float value) in update_prompt_text() argument 25 text[0] = '0' + (int)(value); in update_prompt_text() 27 text[2] = '0' + (int)(value * 10) % 10; in update_prompt_text() 28 text[3] = '0' + (int)(value * 100) % 10; in update_prompt_text() 39 INT value; in resize_screen_event_handler() local 44 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 45 value -= 50; in resize_screen_event_handler() 46 x_ratio = 1 + (float)value / 100; in resize_screen_event_handler() 52 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 53 value -= 50; in resize_screen_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_8bpp_rotated_cw_binary/ |
D | resize_screen.c | 16 VOID update_prompt_text(GX_RESOURCE_ID id, float value) in update_prompt_text() argument 26 text[0] = '0' + (int)(value); in update_prompt_text() 28 text[2] = '0' + (int)(value * 10) % 10; in update_prompt_text() 29 text[3] = '0' + (int)(value * 100) % 10; in update_prompt_text() 40 INT value; in resize_screen_event_handler() local 45 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 46 value -= 50; in resize_screen_event_handler() 47 x_ratio = 1 + (float)value / 100; in resize_screen_event_handler() 53 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 54 value -= 50; in resize_screen_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_8bpp_rotated_cw_dave2d_disabled/ |
D | resize_screen.c | 16 VOID update_prompt_text(GX_RESOURCE_ID id, float value) in update_prompt_text() argument 26 text[0] = '0' + (int)(value); in update_prompt_text() 28 text[2] = '0' + (int)(value * 10) % 10; in update_prompt_text() 29 text[3] = '0' + (int)(value * 100) % 10; in update_prompt_text() 40 INT value; in resize_screen_event_handler() local 45 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 46 value -= 50; in resize_screen_event_handler() 47 x_ratio = 1 + (float)value / 100; in resize_screen_event_handler() 53 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 54 value -= 50; in resize_screen_event_handler() [all …]
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_24xrgb_rotated_cw/ |
D | resize_screen.c | 15 VOID update_prompt_text(GX_RESOURCE_ID id, float value) in update_prompt_text() argument 25 text[0] = '0' + (int)(value); in update_prompt_text() 27 text[2] = '0' + (int)(value * 10) % 10; in update_prompt_text() 28 text[3] = '0' + (int)(value * 100) % 10; in update_prompt_text() 39 INT value; in resize_screen_event_handler() local 44 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 45 value -= 50; in resize_screen_event_handler() 46 x_ratio = 1 + (float)value / 100; in resize_screen_event_handler() 52 value = myevent->gx_event_payload.gx_event_longdata; in resize_screen_event_handler() 53 value -= 50; in resize_screen_event_handler() [all …]
|