/GUIX-v6.4.1/common/src/ |
D | gx_widget_border_draw.c | 95 GX_VALUE widget_height; in _gx_widget_border_draw() 99 GX_VALUE border_width; in _gx_widget_border_draw() 136 _gx_canvas_line_draw((GX_VALUE)left, (GX_VALUE)top, (GX_VALUE)right, (GX_VALUE)top); in _gx_widget_border_draw() 143 _gx_canvas_line_draw((GX_VALUE)left, (GX_VALUE)top, (GX_VALUE)right, (GX_VALUE)top); in _gx_widget_border_draw() 147 _gx_canvas_line_draw((GX_VALUE)left, in _gx_widget_border_draw() 148 (GX_VALUE)(widget -> gx_widget_size.gx_rectangle_bottom), in _gx_widget_border_draw() 149 (GX_VALUE)right, in _gx_widget_border_draw() 150 (GX_VALUE)(widget -> gx_widget_size.gx_rectangle_bottom)); in _gx_widget_border_draw() 163 … _gx_canvas_line_draw((GX_VALUE)left, (GX_VALUE)(widget -> gx_widget_size.gx_rectangle_top + 2), in _gx_widget_border_draw() 164 … (GX_VALUE)left, (GX_VALUE)(widget -> gx_widget_size.gx_rectangle_bottom - 2)); in _gx_widget_border_draw() [all …]
|
D | gx_slider_needle_draw.c | 86 GX_VALUE NeedleSpace; in _gx_slider_needle_draw() 87 GX_VALUE center; in _gx_slider_needle_draw() 112 center = (GX_VALUE)(slider -> gx_widget_size.gx_rectangle_left + in _gx_slider_needle_draw() 116 (GX_VALUE)(slider -> gx_widget_size.gx_rectangle_top + NeedleSpace), in _gx_slider_needle_draw() 118 … (GX_VALUE)(slider -> gx_widget_size.gx_rectangle_bottom - NeedleSpace)); in _gx_slider_needle_draw() 120 _gx_canvas_line_draw((GX_VALUE)(center + 1), in _gx_slider_needle_draw() 121 (GX_VALUE)(slider -> gx_widget_size.gx_rectangle_top + NeedleSpace), in _gx_slider_needle_draw() 122 (GX_VALUE)(center + 1), in _gx_slider_needle_draw() 123 … (GX_VALUE)(slider -> gx_widget_size.gx_rectangle_bottom - NeedleSpace)); in _gx_slider_needle_draw() 127 center = (GX_VALUE)(slider -> gx_widget_size.gx_rectangle_top + in _gx_slider_needle_draw() [all …]
|
D | gx_text_scroll_wheel_draw.c | 99 … GX_CONST GX_STRING *string, GX_VALUE x_pos, GX_VALUE y_pos, GX_VALUE width, GX_VALUE height) in _gx_text_scroll_wheel_round_text_draw() 102 GX_VALUE text_width = 0; in _gx_text_scroll_wheel_round_text_draw() 103 GX_VALUE text_height; in _gx_text_scroll_wheel_round_text_draw() 125 text_height = (GX_VALUE)(text_height * height / wheel -> gx_scroll_wheel_row_height); in _gx_text_scroll_wheel_round_text_draw() 134 y_pos = (GX_VALUE)(y_pos + (height - text_height) / 2); in _gx_text_scroll_wheel_round_text_draw() 139 x_pos = (GX_VALUE)(x_pos + width - 1); in _gx_text_scroll_wheel_round_text_draw() 140 x_pos = (GX_VALUE)(x_pos - text_width); in _gx_text_scroll_wheel_round_text_draw() 148 x_pos = (GX_VALUE)(x_pos + ((width - text_width) / 2)); in _gx_text_scroll_wheel_round_text_draw() 234 … GX_CONST GX_STRING *string, GX_VALUE x_pos, GX_VALUE y_pos, GX_VALUE width, GX_VALUE height) in _gx_text_scroll_wheel_flat_text_draw() 236 GX_VALUE text_width = 0; in _gx_text_scroll_wheel_flat_text_draw() [all …]
|
D | gx_animation_drag_tracking.c | 83 GX_VALUE delta_x = 0; in _gx_animation_drag_tracking() 84 GX_VALUE delta_y = 0; in _gx_animation_drag_tracking() 85 GX_VALUE shift_x = 0; in _gx_animation_drag_tracking() 86 GX_VALUE shift_y = 0; in _gx_animation_drag_tracking() 87 GX_VALUE last_pos; in _gx_animation_drag_tracking() 88 GX_VALUE start_pos; in _gx_animation_drag_tracking() 89 GX_VALUE pen_pos; in _gx_animation_drag_tracking() 94 GX_VALUE border_width; in _gx_animation_drag_tracking() 115 delta_y = (GX_VALUE)(pen_pos - last_pos); in _gx_animation_drag_tracking() 120 delta_x = (GX_VALUE)(pen_pos - last_pos); in _gx_animation_drag_tracking() [all …]
|
D | gx_single_line_text_input_draw_position_get.c | 79 …text_input_draw_position_get(GX_SINGLE_LINE_TEXT_INPUT *text_input, GX_VALUE *xpos, GX_VALUE *ypos) in _gx_single_line_text_input_draw_position_get() 81 GX_VALUE border_width; in _gx_single_line_text_input_draw_position_get() 83 GX_VALUE text_width; in _gx_single_line_text_input_draw_position_get() 84 GX_VALUE client_height; in _gx_single_line_text_input_draw_position_get() 85 GX_VALUE client_width; in _gx_single_line_text_input_draw_position_get() 86 GX_VALUE x_pos; in _gx_single_line_text_input_draw_position_get() 87 GX_VALUE y_pos; in _gx_single_line_text_input_draw_position_get() 114 client_width = (GX_VALUE)(client.gx_rectangle_right - client.gx_rectangle_left + 1); in _gx_single_line_text_input_draw_position_get() 115 client_height = (GX_VALUE)(client.gx_rectangle_bottom - client.gx_rectangle_top + 1); in _gx_single_line_text_input_draw_position_get() 126 x_pos = (GX_VALUE)(client.gx_rectangle_right - 1); in _gx_single_line_text_input_draw_position_get() [all …]
|
D | gx_single_line_text_input_backspace.c | 91 GX_VALUE x_pos; in _gx_single_line_text_input_backspace() 92 GX_VALUE new_x_pos; in _gx_single_line_text_input_backspace() 94 GX_VALUE border_width; in _gx_single_line_text_input_backspace() 95 GX_VALUE delete_char_width; in _gx_single_line_text_input_backspace() 96 GX_VALUE text_width; in _gx_single_line_text_input_backspace() 97 GX_VALUE leftoff; in _gx_single_line_text_input_backspace() 98 GX_VALUE rightoff; in _gx_single_line_text_input_backspace() 166 x_pos = (GX_VALUE)(client.gx_rectangle_right - 1); in _gx_single_line_text_input_backspace() 167 x_pos = (GX_VALUE)(x_pos - text_input -> gx_single_line_text_input_xoffset); in _gx_single_line_text_input_backspace() 169 leftoff = (GX_VALUE)(client.gx_rectangle_left + 1 - x_pos); in _gx_single_line_text_input_backspace() [all …]
|
D | gx_single_line_text_input_character_delete.c | 91 GX_VALUE border_width; in _gx_single_line_text_input_character_delete() 92 GX_VALUE text_width; in _gx_single_line_text_input_character_delete() 96 GX_VALUE x_pos; in _gx_single_line_text_input_character_delete() 97 GX_VALUE offset; in _gx_single_line_text_input_character_delete() 98 GX_VALUE del_char_width; in _gx_single_line_text_input_character_delete() 156 x_pos = (GX_VALUE)(client.gx_rectangle_right - 1); in _gx_single_line_text_input_character_delete() 157 x_pos = (GX_VALUE)(x_pos - text_input -> gx_single_line_text_input_xoffset); in _gx_single_line_text_input_character_delete() 161 … offset = (GX_VALUE)((x_pos + text_width - del_char_width) - (client.gx_rectangle_right - 1)); in _gx_single_line_text_input_character_delete() 165 …text_input -> gx_single_line_text_input_xoffset = (GX_VALUE)(text_input -> gx_single_line_text_inp… in _gx_single_line_text_input_character_delete() 166 …cursor_ptr -> gx_text_input_cursor_pos.gx_point_x = (GX_VALUE)(cursor_ptr -> gx_text_input_cursor_… in _gx_single_line_text_input_character_delete() [all …]
|
D | gx_rich_text_view_text_draw.c | 84 static VOID _gx_rich_text_view_single_line_draw(GX_RICH_TEXT_VIEW *text_view, GX_VALUE ypos, GX_RIC… in _gx_rich_text_view_single_line_draw() 91 GX_VALUE text_width; in _gx_rich_text_view_single_line_draw() 92 GX_VALUE xpos; in _gx_rich_text_view_single_line_draw() 93 GX_VALUE y; in _gx_rich_text_view_single_line_draw() 97 GX_VALUE client_width; in _gx_rich_text_view_single_line_draw() 102 …_gx_utility_rectangle_resize(&client, (GX_VALUE)(-text_view -> gx_multi_line_text_view_whitespace)… in _gx_rich_text_view_single_line_draw() 105 client_width = (GX_VALUE)(client.gx_rectangle_right - client.gx_rectangle_left); in _gx_rich_text_view_single_line_draw() 127 xpos = (GX_VALUE)(client.gx_rectangle_right - 1); in _gx_rich_text_view_single_line_draw() 128 xpos = (GX_VALUE)(xpos - (INT)line_info -> gx_rich_text_line_info_text_width); in _gx_rich_text_view_single_line_draw() 132 xpos = (GX_VALUE)((client_width - (INT)line_info -> gx_rich_text_line_info_text_width) / 2); in _gx_rich_text_view_single_line_draw() [all …]
|
D | gx_display_driver_generic_rotated_glyph_4bit_draw.c | 90 GX_VALUE rotated_map_offset_x; in _gx_display_driver_generic_rotated_glyph_4bit_draw() 91 GX_VALUE rotated_map_offset_y; in _gx_display_driver_generic_rotated_glyph_4bit_draw() 92 GX_VALUE rotated_left; in _gx_display_driver_generic_rotated_glyph_4bit_draw() 93 GX_VALUE rotated_top; in _gx_display_driver_generic_rotated_glyph_4bit_draw() 118 …rotated_top = (GX_VALUE)(context -> gx_draw_context_canvas -> gx_canvas_x_resolution - draw_area -… in _gx_display_driver_generic_rotated_glyph_4bit_draw() 121 …rotated_map_offset_y = (GX_VALUE)(glyph -> gx_glyph_width - map_offset -> gx_point_x - (GX_VALUE)y… in _gx_display_driver_generic_rotated_glyph_4bit_draw() 125 …rotated_left = (GX_VALUE)(context -> gx_draw_context_canvas -> gx_canvas_display_offset_y - draw_a… in _gx_display_driver_generic_rotated_glyph_4bit_draw() 128 …rotated_map_offset_x = (GX_VALUE)(glyph -> gx_glyph_height - map_offset -> gx_point_y - (GX_VALUE)… in _gx_display_driver_generic_rotated_glyph_4bit_draw() 166 rotated_left + (GX_VALUE)col, in _gx_display_driver_generic_rotated_glyph_4bit_draw() 167 rotated_top + (GX_VALUE)row, in _gx_display_driver_generic_rotated_glyph_4bit_draw() [all …]
|
D | gx_display_driver_arc_clipping_get.c | 85 GX_VALUE ori_r = (GX_VALUE)r; in _gx_display_driver_arc_clipping_get() 86 GX_VALUE neg_r = (GX_VALUE)(-ori_r); in _gx_display_driver_arc_clipping_get() 355 clip_1 -> gx_rectangle_left = (GX_VALUE)(clip_1 -> gx_rectangle_left + (GX_VALUE)xcenter); in _gx_display_driver_arc_clipping_get() 356 clip_1 -> gx_rectangle_top = (GX_VALUE)(clip_1 -> gx_rectangle_top + (GX_VALUE)ycenter); in _gx_display_driver_arc_clipping_get() 357 clip_1 -> gx_rectangle_right = (GX_VALUE)(clip_1 -> gx_rectangle_right + (GX_VALUE)xcenter); in _gx_display_driver_arc_clipping_get() 358 clip_1 -> gx_rectangle_bottom = (GX_VALUE)(clip_1 -> gx_rectangle_bottom + (GX_VALUE)ycenter); in _gx_display_driver_arc_clipping_get() 360 clip_2 -> gx_rectangle_left = (GX_VALUE)(clip_2 -> gx_rectangle_left + (GX_VALUE)xcenter); in _gx_display_driver_arc_clipping_get() 361 clip_2 -> gx_rectangle_top = (GX_VALUE)(clip_2 -> gx_rectangle_top + (GX_VALUE)ycenter); in _gx_display_driver_arc_clipping_get() 362 clip_2 -> gx_rectangle_right = (GX_VALUE)(clip_2 -> gx_rectangle_right + (GX_VALUE)xcenter); in _gx_display_driver_arc_clipping_get() 363 clip_2 -> gx_rectangle_bottom = (GX_VALUE)(clip_2 -> gx_rectangle_bottom + (GX_VALUE)ycenter); in _gx_display_driver_arc_clipping_get() [all …]
|
D | gx_canvas_rectangle_draw.c | 82 GX_VALUE rectangle_height; in _gx_canvas_rectangle_fill() 108 … rectangle_height = (GX_VALUE)(fill_rect.gx_rectangle_bottom - fill_rect.gx_rectangle_top + 1); in _gx_canvas_rectangle_fill() 180 GX_VALUE rectangle_height; in _gx_canvas_rectangle_draw() 181 GX_VALUE brush_width; in _gx_canvas_rectangle_draw() 213 (GX_VALUE)(rectangle -> gx_rectangle_top + 1), in _gx_canvas_rectangle_draw() 215 (GX_VALUE)(rectangle -> gx_rectangle_bottom - 1)); in _gx_canvas_rectangle_draw() 218 (GX_VALUE)(rectangle -> gx_rectangle_top + 1), in _gx_canvas_rectangle_draw() 220 (GX_VALUE)(rectangle -> gx_rectangle_bottom - 1)); in _gx_canvas_rectangle_draw() 232 fill_rect.gx_rectangle_top = (GX_VALUE)(fill_rect.gx_rectangle_top + 1); in _gx_canvas_rectangle_draw() 233 fill_rect.gx_rectangle_bottom = (GX_VALUE)(fill_rect.gx_rectangle_bottom - 1); in _gx_canvas_rectangle_draw() [all …]
|
D | gx_single_line_text_input_position_get.c | 91 GX_VALUE width; in _gx_single_line_text_input_position_get() 92 GX_VALUE cursor_pos; in _gx_single_line_text_input_position_get() 93 GX_VALUE x_pos; in _gx_single_line_text_input_position_get() 94 GX_VALUE distance; in _gx_single_line_text_input_position_get() 116 x_pos = (GX_VALUE)(client.gx_rectangle_right - 1); in _gx_single_line_text_input_position_get() 120 …x_pos = (GX_VALUE)(client.gx_rectangle_left + 1 + ((client.gx_rectangle_right - client.gx_rectangl… in _gx_single_line_text_input_position_get() 125 x_pos = (GX_VALUE)(client.gx_rectangle_left + 1); in _gx_single_line_text_input_position_get() 129 x_pos = (GX_VALUE)(x_pos - text_input -> gx_single_line_text_input_xoffset); in _gx_single_line_text_input_position_get() 144 distance = (GX_VALUE)(pixel_position - x_pos); in _gx_single_line_text_input_position_get() 172 cursor_pos = (GX_VALUE)(cursor_pos + width); in _gx_single_line_text_input_position_get() [all …]
|
D | gx_animation_slide_landing.c | 92 GX_VALUE border_width; in _gx_animation_slide_landing() 183 …((x_shift < 0) && ((GX_VALUE)(target_size.gx_rectangle_left + x_shift) > parent -> gx_widget_size.… in _gx_animation_slide_landing() 184 …((x_shift > 0) && ((GX_VALUE)(target_size.gx_rectangle_left + x_shift) < parent -> gx_widget_size.… in _gx_animation_slide_landing() 185 …((y_shift < 0) && ((GX_VALUE)(target_size.gx_rectangle_top + y_shift) > parent -> gx_widget_size.g… in _gx_animation_slide_landing() 186 …((y_shift > 0) && ((GX_VALUE)(target_size.gx_rectangle_top + y_shift) < parent -> gx_widget_size.g… in _gx_animation_slide_landing() 191 … (GX_VALUE)(animation -> gx_animation_canvas -> gx_canvas_display_offset_x + x_shift), in _gx_animation_slide_landing() 192 … (GX_VALUE)(animation -> gx_animation_canvas -> gx_canvas_display_offset_y + y_shift)); in _gx_animation_slide_landing() 200 _gx_widget_scroll_shift(target_1, (GX_VALUE)x_shift, (GX_VALUE)y_shift, GX_TRUE); in _gx_animation_slide_landing() 204 … _gx_widget_scroll_shift(target_2, (GX_VALUE)x_shift, (GX_VALUE)y_shift, GX_TRUE); in _gx_animation_slide_landing() 209 _gx_widget_shift(target_1, (GX_VALUE)x_shift, (GX_VALUE)y_shift, GX_TRUE); in _gx_animation_slide_landing() [all …]
|
D | gx_single_line_text_input_character_insert.c | 94 GX_VALUE new_cursor_pos; in _gx_single_line_text_input_character_insert() 96 GX_VALUE border_width; in _gx_single_line_text_input_character_insert() 97 GX_VALUE client_right; in _gx_single_line_text_input_character_insert() 98 GX_VALUE client_width; in _gx_single_line_text_input_character_insert() 99 GX_VALUE insert_width; in _gx_single_line_text_input_character_insert() 100 GX_VALUE text_width; in _gx_single_line_text_input_character_insert() 161 …text_input -> gx_single_line_text_input_xoffset = (GX_VALUE)(text_input -> gx_single_line_text_inp… in _gx_single_line_text_input_character_insert() 168 client_width = (GX_VALUE)(dirty_area.gx_rectangle_right - dirty_area.gx_rectangle_left + 1); in _gx_single_line_text_input_character_insert() 169 text_width = (GX_VALUE)(text_width + insert_width); in _gx_single_line_text_input_character_insert() 170 new_cursor_pos = (GX_VALUE)(cursor_ptr -> gx_text_input_cursor_pos.gx_point_x - in _gx_single_line_text_input_character_insert() [all …]
|
D | gx_menu_position.c | 73 UINT _gx_menu_one_level_position(GX_MENU *menu, GX_VALUE indentation) in _gx_menu_one_level_position() 79 GX_VALUE height; in _gx_menu_one_level_position() 80 GX_VALUE width; in _gx_menu_one_level_position() 84 size.gx_rectangle_left = (GX_VALUE)(menu_size -> gx_rectangle_left + indentation); in _gx_menu_one_level_position() 85 size.gx_rectangle_right = (GX_VALUE)(menu_size -> gx_rectangle_right); in _gx_menu_one_level_position() 86 size.gx_rectangle_top = (GX_VALUE)(menu_size -> gx_rectangle_bottom + 1); in _gx_menu_one_level_position() 87 size.gx_rectangle_bottom = (GX_VALUE)(size.gx_rectangle_top - 1); in _gx_menu_one_level_position() 119 …height = (GX_VALUE)(item -> gx_widget_size.gx_rectangle_bottom - item -> gx_widget_size.gx_rectang… in _gx_menu_one_level_position() 120 …width = (GX_VALUE)(item -> gx_widget_size.gx_rectangle_right - item -> gx_widget_size.gx_rectangle… in _gx_menu_one_level_position() 127 size.gx_rectangle_top = (GX_VALUE)(size.gx_rectangle_bottom + 1); in _gx_menu_one_level_position() [all …]
|
D | gx_canvas_text_draw.c | 78 UINT _gx_canvas_text_draw(GX_VALUE x_start, GX_VALUE y_start, GX_CONST GX_CHAR *text, INT length) in _gx_canvas_text_draw() 159 UINT _gx_canvas_text_draw_ext(GX_VALUE x_start, GX_VALUE y_start, GX_CONST GX_STRING *string) in _gx_canvas_text_draw_ext() 164 GX_VALUE width; in _gx_canvas_text_draw_ext() 189 (GX_VALUE)(x_start + width - 1), in _gx_canvas_text_draw_ext() 190 (GX_VALUE)(y_start + font -> gx_font_line_height)); in _gx_canvas_text_draw_ext() 208 y_start = (GX_VALUE)(y_start + font -> gx_font_baseline + 1); in _gx_canvas_text_draw_ext() 272 width = (GX_VALUE)(clip.gx_rectangle_bottom - y_start + 1); in _gx_canvas_text_draw_ext() 335 GX_VALUE text_width; in _gx_canvas_aligned_text_draw() 336 GX_VALUE text_height; in _gx_canvas_aligned_text_draw() 337 GX_VALUE x_pos; in _gx_canvas_aligned_text_draw() [all …]
|
D | gx_tree_view_draw.c | 91 GX_VALUE xpos; in _gx_tree_view_root_draw_helper() 92 GX_VALUE ypos; in _gx_tree_view_root_draw_helper() 93 GX_VALUE yend; in _gx_tree_view_root_draw_helper() 94 GX_VALUE map_width = 0; in _gx_tree_view_root_draw_helper() 95 GX_VALUE map_height = 0; in _gx_tree_view_root_draw_helper() 121 …xpos = (GX_VALUE)(child -> gx_widget_size.gx_rectangle_left - (tree -> gx_tree_view_indentation >>… in _gx_tree_view_root_draw_helper() 122 …ypos = (GX_VALUE)(child -> gx_widget_size.gx_rectangle_top + child -> gx_widget_size.gx_rectangle_… in _gx_tree_view_root_draw_helper() 123 ypos = (GX_VALUE)(ypos >> 1); in _gx_tree_view_root_draw_helper() 143 xpos = (GX_VALUE)(xpos - (map_width >> 1)); in _gx_tree_view_root_draw_helper() 144 ypos = (GX_VALUE)(ypos - (map_height >> 1)); in _gx_tree_view_root_draw_helper() [all …]
|
D | gx_scrollbar_size_update.c | 79 GX_VALUE border_width; in _gx_scrollbar_size_update() 92 … size.gx_rectangle_right = (GX_VALUE)(parent -> gx_widget_size.gx_rectangle_right - border_width); 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() 99 …size.gx_rectangle_bottom = (GX_VALUE)(parent -> gx_widget_size.gx_rectangle_bottom - border_width); 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() 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() 116 … size.gx_rectangle_bottom = (GX_VALUE)(scroll -> gx_widget_size.gx_rectangle_bottom - 1); in _gx_scrollbar_size_update() [all …]
|
D | gx_canvas_glyphs_draw.c | 84 GX_VALUE x_offset; in _gx_canvas_kerning_glyphs_draw() 85 GX_VALUE y_offset; in _gx_canvas_kerning_glyphs_draw() 86 GX_VALUE xstart; in _gx_canvas_kerning_glyphs_draw() 87 GX_VALUE ystart; in _gx_canvas_kerning_glyphs_draw() 164 x_offset = (GX_VALUE)(xstart + glyph -> gx_glyph_leading); in _gx_canvas_kerning_glyphs_draw() 165 x_offset = (GX_VALUE)(x_offset + kerning_offset); in _gx_canvas_kerning_glyphs_draw() 166 … y_offset = (GX_VALUE)(ystart + font_link -> gx_font_baseline - glyph -> gx_glyph_ascent); in _gx_canvas_kerning_glyphs_draw() 170 …draw_area.gx_rectangle_right = (GX_VALUE)(draw_area.gx_rectangle_left + glyph -> gx_glyph_width - … in _gx_canvas_kerning_glyphs_draw() 171 …draw_area.gx_rectangle_bottom = (GX_VALUE)(draw_area.gx_rectangle_top + glyph -> gx_glyph_height -… in _gx_canvas_kerning_glyphs_draw() 184 … map_offset.gx_point_y = (GX_VALUE)(view -> gx_rectangle_top - draw_area.gx_rectangle_top); in _gx_canvas_kerning_glyphs_draw() [all …]
|
D | gx_canvas_line_draw.c | 94 UINT _gx_canvas_line_draw(GX_VALUE x_start, GX_VALUE y_start, GX_VALUE x_end, GX_VALUE y_end) in _gx_canvas_line_draw() 103 GX_VALUE width; in _gx_canvas_line_draw() 105 GX_VALUE brush_width; in _gx_canvas_line_draw() 203 bound.gx_rectangle_left = (GX_VALUE)(x_start - (brush_width / 2)); in _gx_canvas_line_draw() 204 bound.gx_rectangle_right = (GX_VALUE)(bound.gx_rectangle_left + brush_width - 1); in _gx_canvas_line_draw() 209 bound.gx_rectangle_top = (GX_VALUE)(y_start - (brush_width / 2)); in _gx_canvas_line_draw() 210 bound.gx_rectangle_bottom = (GX_VALUE)(bound.gx_rectangle_top + brush_width - 1); in _gx_canvas_line_draw() 216 width = (GX_VALUE)((brush_width + 1) / 2); in _gx_canvas_line_draw() 220 width = (GX_VALUE)(width + 1); in _gx_canvas_line_draw() 224 bound.gx_rectangle_top = (GX_VALUE)(bound.gx_rectangle_top - width); in _gx_canvas_line_draw() [all …]
|
D | gx_multi_line_text_input_draw.c | 85 GX_VALUE line_height = 0; in _gx_multi_line_text_input_draw() 106 GX_VALUE text_width; in _gx_multi_line_text_input_draw() 107 GX_VALUE client_width; in _gx_multi_line_text_input_draw() 109 GX_VALUE space_width; in _gx_multi_line_text_input_draw() 175 line_height = (GX_VALUE)(font -> gx_font_line_height + in _gx_multi_line_text_input_draw() 211 … _gx_utility_rectangle_resize(&client, (GX_VALUE)(-input -> gx_multi_line_text_view_whitespace)); in _gx_multi_line_text_input_draw() 217 …line_height = (GX_VALUE)(font -> gx_font_line_height + input -> gx_multi_line_text_view_line_space… in _gx_multi_line_text_input_draw() 265 text_width = (GX_VALUE)(text_width - space_width); in _gx_multi_line_text_input_draw() 268 x_pos = (GX_VALUE)(x_pos - text_width); in _gx_multi_line_text_input_draw() 278 … client_width = (GX_VALUE)(client.gx_rectangle_right - client.gx_rectangle_left + 1); in _gx_multi_line_text_input_draw() [all …]
|
D | gx_widget_text_blend.c | 161 GX_VALUE text_width; in _gx_widget_text_blend_ext() 162 GX_VALUE text_height; in _gx_widget_text_blend_ext() 163 GX_VALUE widget_width; in _gx_widget_text_blend_ext() 164 GX_VALUE widget_height; in _gx_widget_text_blend_ext() 165 GX_VALUE x_pos; in _gx_widget_text_blend_ext() 166 GX_VALUE y_pos; in _gx_widget_text_blend_ext() 167 GX_VALUE border_width; in _gx_widget_text_blend_ext() 191 y_pos = (GX_VALUE)(y_pos + (widget_height - text_height) / 2); in _gx_widget_text_blend_ext() 198 x_pos = (GX_VALUE)(x_pos + widget_width - 1); in _gx_widget_text_blend_ext() 199 x_pos = (GX_VALUE)(x_pos - text_width - border_width); in _gx_widget_text_blend_ext() [all …]
|
D | gx_widget_text_draw.c | 158 GX_VALUE text_width; in _gx_widget_text_draw_ext() 159 GX_VALUE text_height; in _gx_widget_text_draw_ext() 160 GX_VALUE widget_width; in _gx_widget_text_draw_ext() 161 GX_VALUE widget_height; in _gx_widget_text_draw_ext() 162 GX_VALUE x_pos; in _gx_widget_text_draw_ext() 163 GX_VALUE y_pos; in _gx_widget_text_draw_ext() 164 GX_VALUE border_width; in _gx_widget_text_draw_ext() 187 y_pos = (GX_VALUE)(y_pos + (widget_height - text_height) / 2); in _gx_widget_text_draw_ext() 194 x_pos = (GX_VALUE)(x_pos + widget_width - 1); in _gx_widget_text_draw_ext() 195 x_pos = (GX_VALUE)(x_pos - text_width - border_width); in _gx_widget_text_draw_ext() [all …]
|
D | gx_animation_drag_tracking_start.c | 86 GX_VALUE left; in _gx_animation_drag_tracking_start() 87 GX_VALUE top; in _gx_animation_drag_tracking_start() 100 animation -> gx_animation_slide_target_index_1 = (GX_VALUE)index; in _gx_animation_drag_tracking_start() 172 animation -> gx_animation_slide_target_index_2 = (GX_VALUE)(index); in _gx_animation_drag_tracking_start() 187 … size.gx_rectangle_top = (GX_VALUE)(target_1 -> gx_widget_size.gx_rectangle_bottom + 1); in _gx_animation_drag_tracking_start() 188 size.gx_rectangle_bottom = (GX_VALUE)(size.gx_rectangle_top + width - 1); in _gx_animation_drag_tracking_start() 193 … size.gx_rectangle_bottom = (GX_VALUE)(target_1 -> gx_widget_size.gx_rectangle_top - 1); in _gx_animation_drag_tracking_start() 194 size.gx_rectangle_top = (GX_VALUE)(size.gx_rectangle_bottom - width + 1); in _gx_animation_drag_tracking_start() 197 size.gx_rectangle_left = (GX_VALUE)target_1 -> gx_widget_size.gx_rectangle_left; in _gx_animation_drag_tracking_start() 198 size.gx_rectangle_right = (GX_VALUE)target_1 -> gx_widget_size.gx_rectangle_right; in _gx_animation_drag_tracking_start() [all …]
|
/GUIX-v6.4.1/common/inc/ |
D | gx_canvas.h | 65 UINT _gx_canvas_block_move(GX_RECTANGLE *block, GX_VALUE x_shift, GX_VALUE y_shift, GX_RECTANGLE… 86 UINT _gx_canvas_line_draw(GX_VALUE x_start, GX_VALUE y_start, GX_VALUE x_end, GX_VALUE y_end); 94 UINT _gx_canvas_offset_set(GX_CANVAS *canvas, GX_VALUE x, GX_VALUE y); 96 UINT _gx_canvas_pixelmap_blend(GX_VALUE x_position, GX_VALUE y_position, GX_PIXELMAP *pixelmap, GX_… 97 UINT _gx_canvas_pixelmap_draw(GX_VALUE x_position, GX_VALUE y_position, GX_PIXELMAP *pixelmap); 100 UINT _gx_canvas_pixelmap_rotate(GX_VALUE x_position, GX_VALUE y_position, GX_PIXELMAP *pixelmap, 106 UINT _gx_canvas_rotated_text_draw(GX_CONST GX_CHAR *text, GX_VALUE xcenter, GX_VALUE ycenter, INT a… 108 UINT _gx_canvas_rotated_text_draw_ext(GX_CONST GX_STRING *text, GX_VALUE xcenter, GX_VALUE ycenter,… 109 UINT _gx_canvas_shift(GX_CANVAS *canvas, GX_VALUE x, GX_VALUE y); 114 UINT _gx_canvas_text_draw(GX_VALUE x_start, GX_VALUE y_start, GX_CONST GX_CHAR *string, INT length); [all …]
|