Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 17 of 17) sorted by relevance

/GUIX-v6.2.1/tutorials/demo_guix_transitions/
Ddemo_guix_transitions.c123 GX_VALUE offset; in InitSlideTransition() local
145 gx_widget_height_get(frame, &offset); in InitSlideTransition()
148 transition_animation_info.gx_animation_start_position.gx_point_y -= offset; in InitSlideTransition()
152 transition_animation_info.gx_animation_end_position.gx_point_y += offset; in InitSlideTransition()
157 gx_widget_height_get(frame, &offset); in InitSlideTransition()
160 transition_animation_info.gx_animation_start_position.gx_point_y += offset; in InitSlideTransition()
164 transition_animation_info.gx_animation_end_position.gx_point_y -= offset; in InitSlideTransition()
169 gx_widget_width_get(frame, &offset); in InitSlideTransition()
172 transition_animation_info.gx_animation_start_position.gx_point_x += offset; in InitSlideTransition()
176 transition_animation_info.gx_animation_end_position.gx_point_x -= offset; in InitSlideTransition()
[all …]
/GUIX-v6.2.1/common/src/
Dgx_single_line_text_input_character_delete.c98 GX_VALUE offset; in _gx_single_line_text_input_character_delete() local
162offset = (GX_VALUE)((x_pos + text_width - del_char_width) - (client.gx_rectangle_right - 1)); in _gx_single_line_text_input_character_delete()
164 if (offset < 0) in _gx_single_line_text_input_character_delete()
166 …gle_line_text_input_xoffset = (GX_VALUE)(text_input -> gx_single_line_text_input_xoffset + offset); in _gx_single_line_text_input_character_delete()
167 …put_cursor_pos.gx_point_x = (GX_VALUE)(cursor_ptr -> gx_text_input_cursor_pos.gx_point_x - offset); in _gx_single_line_text_input_character_delete()
201offset = (GX_VALUE)((client.gx_rectangle_right - 1) - (x_pos + text_width - del_char_width)); in _gx_single_line_text_input_character_delete()
203 if (offset > 0) in _gx_single_line_text_input_character_delete()
205 if (offset > (client.gx_rectangle_left + 1 - x_pos)) in _gx_single_line_text_input_character_delete()
207 offset = (GX_VALUE)(client.gx_rectangle_left + 1 - x_pos); in _gx_single_line_text_input_character_delete()
210 …gle_line_text_input_xoffset = (GX_VALUE)(text_input -> gx_single_line_text_input_xoffset - offset); in _gx_single_line_text_input_character_delete()
[all …]
Dgx_display_driver_32bpp_rotated_horizontal_pixelmap_line_draw.c87 GX_VALUE offset; in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend() local
98 offset = (GX_VALUE)(info -> x_offset % pic_width); in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend()
104 color = *(get + offset); in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend()
110 offset++; in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend()
111 if (offset >= pic_width) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend()
113 offset = (GX_VALUE)(offset - pic_width); in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend()
172 INT offset; in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_raw_blend() local
187 offset = (info -> x_offset % pic_width); in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_raw_blend()
193 pixel = *(get + offset); in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_raw_blend()
195 offset++; in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_raw_blend()
[all …]
Dgx_display_driver_32bpp_horizontal_pixelmap_line_draw.c87 GX_VALUE offset; in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend() local
98 offset = (GX_VALUE)(info -> x_offset % pic_width); in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend()
103 color = *(get + offset); in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend()
109 offset++; in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend()
110 if (offset >= pic_width) in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend()
112 offset = (GX_VALUE)(offset - pic_width); in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend()
172 INT offset; in _gx_display_driver_32bpp_horizontal_pixelmap_line_raw_blend() local
187 offset = (info -> x_offset % pic_width); in _gx_display_driver_32bpp_horizontal_pixelmap_line_raw_blend()
192 pixel = *(get + offset); in _gx_display_driver_32bpp_horizontal_pixelmap_line_raw_blend()
194 offset++; in _gx_display_driver_32bpp_horizontal_pixelmap_line_raw_blend()
[all …]
Dgx_display_driver_8bpp_horizontal_pixelmap_line_draw.c84 INT offset; in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend() local
105 offset = (info -> x_offset % pic_width); in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend()
110 blend_func(context, xval, y, *(get + offset), alpha); in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend()
111 offset++; in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend()
112 if (offset >= pic_width) in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend()
114 offset -= pic_width; in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend()
317 INT offset; in _gx_display_driver_8bpp_horizontal_pixelmap_line_alpha_blend() local
336 offset = (info -> x_offset % pic_width); in _gx_display_driver_8bpp_horizontal_pixelmap_line_alpha_blend()
341 pixel = *(get + offset); in _gx_display_driver_8bpp_horizontal_pixelmap_line_alpha_blend()
342 falpha = *(get_alpha + offset); in _gx_display_driver_8bpp_horizontal_pixelmap_line_alpha_blend()
[all …]
Dgx_display_driver_565rgb_horizontal_pixelmap_line_draw.c87 INT offset; in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend() local
109 offset = (info -> x_offset % pic_width); in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend()
113 pixel = *(get + offset); in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend()
115 offset++; in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend()
117 if (offset >= pic_width) in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend()
119 offset -= pic_width; in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend()
187 INT offset; in _gx_display_driver_565rgb_horizontal_pixelmap_line_alpha_blend() local
206 offset = (info -> x_offset % pic_width); in _gx_display_driver_565rgb_horizontal_pixelmap_line_alpha_blend()
210 color = *(get + offset); in _gx_display_driver_565rgb_horizontal_pixelmap_line_alpha_blend()
211 falpha = *(getalpha + offset); in _gx_display_driver_565rgb_horizontal_pixelmap_line_alpha_blend()
[all …]
Dgx_display_driver_565rgb_rotated_horizontal_pixelmap_line_draw.c85 INT offset; in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend() local
100 offset = (info -> x_offset % pic_width); in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend()
104 pixel = *(get + offset); in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend()
106 offset++; in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend()
108 if (offset >= pic_width) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend()
110 offset -= pic_width; in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend()
177 INT offset; in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_alpha_blend() local
189 offset = (info -> x_offset % pic_width); in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_alpha_blend()
193 color = *(get + offset); in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_alpha_blend()
194 falpha = *(getalpha + offset); in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_alpha_blend()
[all …]
Dgx_display_driver_1bpp_horizontal_pixelmap_line_draw.c88 INT offset; in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write() local
108 offset = (info -> x_offset % pic_width); in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
112 pixel = *(get + (offset >> 3)); in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
113 getmask = (GX_UBYTE)(0x80 >> (offset & 0x07)); in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
122 offset++; in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
124 if (offset >= pic_width) in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
126 offset -= pic_width; in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
198 INT offset; in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write() local
218 offset = (info -> x_offset % pic_width); in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write()
222 getmask = (GX_UBYTE)(0x40 >> ((offset & 0x03) << 1)); in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write()
[all …]
Dgx_display_driver_4444argb_horizontal_pixelmap_line_draw.c84 INT offset; in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend() local
105 offset = (info -> x_offset % pic_width); in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend()
110 color = *(get + offset); in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend()
111 offset++; in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend()
118 if (offset >= pic_width) in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend()
120 offset -= pic_width; in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend()
180 INT offset; in _gx_display_driver_4444argb_horizontal_pixelmap_line_raw_blend() local
200 offset = (info -> x_offset % pic_width); in _gx_display_driver_4444argb_horizontal_pixelmap_line_raw_blend()
205 blend_func(context, xval, y, *(get + offset), alpha); in _gx_display_driver_4444argb_horizontal_pixelmap_line_raw_blend()
207 offset++; in _gx_display_driver_4444argb_horizontal_pixelmap_line_raw_blend()
[all …]
Dgx_display_driver_4bpp_horizontal_pixelmap_line_draw.c88 INT offset; in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write() local
114 offset = (info -> x_offset % pic_width); in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
118 pixel = *(get + (offset >> 1)); in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
119 if (offset & 1) in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
129 offset++; in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
131 if (offset >= pic_width) in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
133 offset -= pic_width; in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
210 INT offset; in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write() local
238 offset = (info -> x_offset % pic_width); in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write()
242 transmask = (GX_UBYTE)(0x80 >> (offset & 0x07)); in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write()
[all …]
Dgx_display_driver_8bpp_rotated_horizontal_pixelmap_line_draw.c74 INT offset; in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write() local
91 offset = (info -> x_offset % pic_width); in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write()
96 *put++ = *(get + offset); in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write()
97 offset++; in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write()
98 if (offset >= pic_width) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write()
100 offset -= pic_width; in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write()
292 INT offset; in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_transparent_write() local
309 offset = (info -> x_offset % pic_width); in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_transparent_write()
314 pixel = *(get + offset); in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_transparent_write()
315 offset++; in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_transparent_write()
[all …]
Dgx_display_driver_1bpp_canvas_copy.c88 INT offset; in _gx_display_driver_1bpp_canvas_copy() local
100 offset = overlap.gx_rectangle_left - dirty.gx_rectangle_left; in _gx_display_driver_1bpp_canvas_copy()
101 …ead_pos = (UINT)((overlap.gx_rectangle_top - dirty.gx_rectangle_top) * readstride + (offset >> 3)); in _gx_display_driver_1bpp_canvas_copy()
110 read_mask = (GX_UBYTE)(((GX_UBYTE)0x80) >> (offset & 0x07)); in _gx_display_driver_1bpp_canvas_copy()
Dgx_display_driver_4bpp_pixelmap_draw.c83 INT offset; in _gx_display_driver_4bpp_pixelmap_raw_write() local
105 offset = offset_row; in _gx_display_driver_4bpp_pixelmap_raw_write()
118 pixel = *(getrow + (offset >> 1)); in _gx_display_driver_4bpp_pixelmap_raw_write()
119 if (offset & 1) in _gx_display_driver_4bpp_pixelmap_raw_write()
132 offset++; in _gx_display_driver_4bpp_pixelmap_raw_write()
198 GX_VALUE offset; in _gx_display_driver_4bpp_pixelmap_transparent_write() local
220 offset = offset_row; in _gx_display_driver_4bpp_pixelmap_transparent_write()
232 transmask = (GX_UBYTE)(0x80 >> (offset & 0x07)); in _gx_display_driver_4bpp_pixelmap_transparent_write()
233 if ((*(getauxrow + (offset >> 3)) & transmask) == 0) in _gx_display_driver_4bpp_pixelmap_transparent_write()
235 pixel = *(getrow + (offset >> 1)); in _gx_display_driver_4bpp_pixelmap_transparent_write()
[all …]
Dgx_display_driver_4bpp_canvas_copy.c89 INT offset; in _gx_display_driver_4bpp_canvas_copy() local
101 offset = overlap.gx_rectangle_left - dirty.gx_rectangle_left; in _gx_display_driver_4bpp_canvas_copy()
102 …ead_pos = (UINT)((overlap.gx_rectangle_top - dirty.gx_rectangle_top) * readstride + (offset >> 1)); in _gx_display_driver_4bpp_canvas_copy()
113 if (offset & 0x01) in _gx_display_driver_4bpp_canvas_copy()
Dgx_scrollbar_value_calculate.c79 VOID _gx_scrollbar_value_calculate(GX_SCROLLBAR *scroll, INT offset, INT size) in _gx_scrollbar_value_calculate() argument
97 newval *= offset - (scroll -> gx_widget_size.gx_rectangle_top + in _gx_scrollbar_value_calculate()
106 newval *= offset - (scroll -> gx_widget_size.gx_rectangle_left + in _gx_scrollbar_value_calculate()
Dgx_utility_canvas_to_bmp.c37 UINT offset; member
117 bmp_fheader.offset = DATA_OFFSET; in _gx_utility_write_bitmap_header()
147 bmp_fheader.offset += 3 * sizeof(GX_COLOR); in _gx_utility_write_bitmap_header()
160 … bmp_fheader.offset += canvas -> gx_canvas_display -> gx_display_palette_size * sizeof(GX_COLOR); in _gx_utility_write_bitmap_header()
169 bmp_fheader.offset += 256 * sizeof(GX_COLOR); in _gx_utility_write_bitmap_header()
177 bmp_fheader.offset += 16 * sizeof(GX_COLOR); in _gx_utility_write_bitmap_header()
185 bmp_fheader.offset += 2 * sizeof(GX_COLOR); in _gx_utility_write_bitmap_header()
193 bmp_fheader.filesize = bmp_fheader.offset + b_info.bi_SizeImage; in _gx_utility_write_bitmap_header()
199 write_data((GX_UBYTE *)&bmp_fheader.offset, sizeof(UINT)); in _gx_utility_write_bitmap_header()
/GUIX-v6.2.1/common/inc/
Dgx_scrollbar.h69 VOID _gx_scrollbar_value_calculate(GX_SCROLLBAR *scroll, INT offset, INT size);