1 /*******************************************************************************/
2 /* This file is auto-generated by Azure RTOS GUIX Studio. Do not edit this */
3 /* file by hand. Modifications to this file should only be made by running */
4 /* the Azure RTOS GUIX Studio application and re-generating the application */
5 /* specification file(s). For more information please refer to the Azure RTOS */
6 /* GUIX Studio User Guide, or visit our web site at azure.com/rtos */
7 /* */
8 /* GUIX Studio Revision 6.2.0.1 */
9 /* Date (dd.mm.yyyy): 31.10.2022 Time (hh:mm): 14:11 */
10 /*******************************************************************************/
11
12
13 #define GUIX_STUDIO_GENERATED_FILE
14 #include <stddef.h>
15 #include "synergy_4444argb_32bpp_resources.h"
16 #include "synergy_4444argb_32bpp_specifications.h"
17
18 static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent);
19 MAIN_WINDOW_CONTROL_BLOCK main_window;
20 GX_DISPLAY display_1_control_block;
21 GX_WINDOW_ROOT display_1_root_window;
22 GX_CANVAS display_1_canvas_control_block;
23 ULONG display_1_canvas_memory[76800];
24
25 extern GX_CONST GX_THEME *display_1_theme_table[];
26 extern GX_CONST GX_STRING *display_1_language_table[];
27
28 GX_STUDIO_DISPLAY_INFO synergy_4444argb_32bpp_display_table[1] =
29 {
30 {
31 "display_1",
32 "display_1_canvas",
33 display_1_theme_table,
34 display_1_language_table,
35 DISPLAY_1_THEME_TABLE_SIZE,
36 DISPLAY_1_LANGUAGE_TABLE_SIZE,
37 DISPLAY_1_STRING_TABLE_SIZE,
38 320, /* x resolution */
39 240, /* y resolution */
40 &display_1_control_block,
41 &display_1_canvas_control_block,
42 &display_1_root_window,
43 display_1_canvas_memory, /* canvas memory area */
44 307200, /* canvas memory size in bytes */
45 0 /* rotation angle */
46 }
47 };
48
49
gx_studio_radio_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)50 UINT gx_studio_radio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
51 {
52 UINT status;
53 GX_RADIO_BUTTON *button = (GX_RADIO_BUTTON *) control_block;
54 GX_TEXT_BUTTON *text_button = (GX_TEXT_BUTTON *) button;
55 GX_RADIO_BUTTON_PROPERTIES *props = (GX_RADIO_BUTTON_PROPERTIES *) info->properties;
56 status = gx_radio_button_create(button, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
57 if (status == GX_SUCCESS)
58 {
59 gx_text_button_font_set(text_button, props->font_id);
60 #if defined(GUIX_5_4_0_COMPATIBILITY)
61 gx_text_button_text_color_set(text_button, props->normal_text_color_id, props->selected_text_color_id);
62 #else
63 gx_text_button_text_color_set(text_button, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
64 #endif
65
66 if (props->off_pixelmap_id ||
67 props->on_pixelmap_id ||
68 props->off_disabled_pixelmap_id ||
69 props->on_disabled_pixelmap_id)
70 {
71 gx_radio_button_pixelmap_set(button,
72 props->off_pixelmap_id,
73 props->on_pixelmap_id,
74 props->off_disabled_pixelmap_id,
75 props->on_disabled_pixelmap_id);
76 }
77 }
78 return status;
79 }
80
gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)81 UINT gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
82 {
83 UINT status;
84 GX_WINDOW *window = (GX_WINDOW *) control_block;
85 GX_WINDOW_PROPERTIES *props = (GX_WINDOW_PROPERTIES *) info->properties;
86 status = gx_window_create(window, info->widget_name, parent, info->style, info->widget_id, &info->size);
87 if (status == GX_SUCCESS)
88 {
89 if (props->wallpaper_id)
90 {
91 gx_window_wallpaper_set(window, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER);
92 }
93 }
94 return status;
95 }
96 GX_WINDOW_PROPERTIES main_window_properties =
97 {
98 0 /* wallpaper pixelmap id */
99 };
100 GX_WINDOW_PROPERTIES main_window_pic_window_properties =
101 {
102 GX_PIXELMAP_ID_RED_APPLE /* wallpaper pixelmap id */
103 };
104 GX_RADIO_BUTTON_PROPERTIES main_window_4444argb_com_button_properties =
105 {
106 GX_STRING_ID_STRING_8, /* string id */
107 GX_FONT_ID_BUTTON, /* font id */
108 GX_COLOR_ID_BTN_TEXT, /* normal text color */
109 GX_COLOR_ID_BTN_TEXT, /* selected text color */
110 GX_COLOR_ID_BTN_TEXT, /* disabled text color */
111 0, /* off pixelmap id */
112 0, /* on pixelmap id */
113 0, /* off disabled pixelmap id */
114 0 /* on disabled pixelmap id */
115 };
116 GX_RADIO_BUTTON_PROPERTIES main_window_4444bgra_uncom_button_properties =
117 {
118 GX_STRING_ID_STRING_11, /* string id */
119 GX_FONT_ID_BUTTON, /* font id */
120 GX_COLOR_ID_BTN_TEXT, /* normal text color */
121 GX_COLOR_ID_BTN_TEXT, /* selected text color */
122 GX_COLOR_ID_BTN_TEXT, /* disabled text color */
123 0, /* off pixelmap id */
124 0, /* on pixelmap id */
125 0, /* off disabled pixelmap id */
126 0 /* on disabled pixelmap id */
127 };
128 GX_RADIO_BUTTON_PROPERTIES main_window_4444bgra_com_button_properties =
129 {
130 GX_STRING_ID_STRING_13, /* string id */
131 GX_FONT_ID_BUTTON, /* font id */
132 GX_COLOR_ID_BTN_TEXT, /* normal text color */
133 GX_COLOR_ID_BTN_TEXT, /* selected text color */
134 GX_COLOR_ID_BTN_TEXT, /* disabled text color */
135 0, /* off pixelmap id */
136 0, /* on pixelmap id */
137 0, /* off disabled pixelmap id */
138 0 /* on disabled pixelmap id */
139 };
140 GX_RADIO_BUTTON_PROPERTIES main_window_4444argb_uncom_button_properties =
141 {
142 GX_STRING_ID_STRING_12, /* string id */
143 GX_FONT_ID_BUTTON, /* font id */
144 GX_COLOR_ID_BTN_TEXT, /* normal text color */
145 GX_COLOR_ID_BTN_TEXT, /* selected text color */
146 GX_COLOR_ID_BTN_TEXT, /* disabled text color */
147 0, /* off pixelmap id */
148 0, /* on pixelmap id */
149 0, /* off disabled pixelmap id */
150 0 /* on disabled pixelmap id */
151 };
152
153 GX_CONST GX_STUDIO_WIDGET main_window_4444argb_uncom_button_define =
154 {
155 "4444argb_uncom_button",
156 GX_TYPE_RADIO_BUTTON, /* widget type */
157 ID_4444ARGB_UNCOM, /* widget id */
158 #if defined(GX_WIDGET_USER_DATA)
159 0, /* user data */
160 #endif
161 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT, /* style flags */
162 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
163 sizeof(GX_RADIO_BUTTON), /* control block size */
164 GX_COLOR_ID_BTN_LOWER, /* normal color id */
165 GX_COLOR_ID_BTN_UPPER, /* selected color id */
166 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
167 gx_studio_radio_button_create, /* create function */
168 GX_NULL, /* drawing function override */
169 GX_NULL, /* event function override */
170 {4, 0, 171, 23}, /* widget size */
171 GX_NULL, /* no next widget */
172 GX_NULL, /* no child widgets */
173 offsetof(MAIN_WINDOW_CONTROL_BLOCK, main_window_4444argb_uncom_button), /* control block */
174 (void *) &main_window_4444argb_uncom_button_properties /* extended properties */
175 };
176
177 GX_CONST GX_STUDIO_WIDGET main_window_4444bgra_com_button_define =
178 {
179 "4444bgra_com_button",
180 GX_TYPE_RADIO_BUTTON, /* widget type */
181 ID_4444BGRA_COM, /* widget id */
182 #if defined(GX_WIDGET_USER_DATA)
183 0, /* user data */
184 #endif
185 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT, /* style flags */
186 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
187 sizeof(GX_RADIO_BUTTON), /* control block size */
188 GX_COLOR_ID_BTN_LOWER, /* normal color id */
189 GX_COLOR_ID_BTN_UPPER, /* selected color id */
190 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
191 gx_studio_radio_button_create, /* create function */
192 GX_NULL, /* drawing function override */
193 GX_NULL, /* event function override */
194 {170, 206, 315, 229}, /* widget size */
195 &main_window_4444argb_uncom_button_define, /* next widget definition */
196 GX_NULL, /* no child widgets */
197 offsetof(MAIN_WINDOW_CONTROL_BLOCK, main_window_4444bgra_com_button), /* control block */
198 (void *) &main_window_4444bgra_com_button_properties /* extended properties */
199 };
200
201 GX_CONST GX_STUDIO_WIDGET main_window_4444bgra_uncom_button_define =
202 {
203 "4444bgra_uncom_button",
204 GX_TYPE_RADIO_BUTTON, /* widget type */
205 ID_4444BGRA_UNCOM, /* widget id */
206 #if defined(GX_WIDGET_USER_DATA)
207 0, /* user data */
208 #endif
209 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_PUSHED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT, /* style flags */
210 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
211 sizeof(GX_RADIO_BUTTON), /* control block size */
212 GX_COLOR_ID_BTN_LOWER, /* normal color id */
213 GX_COLOR_ID_BTN_UPPER, /* selected color id */
214 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
215 gx_studio_radio_button_create, /* create function */
216 GX_NULL, /* drawing function override */
217 GX_NULL, /* event function override */
218 {8, 206, 165, 229}, /* widget size */
219 &main_window_4444bgra_com_button_define, /* next widget definition */
220 GX_NULL, /* no child widgets */
221 offsetof(MAIN_WINDOW_CONTROL_BLOCK, main_window_4444bgra_uncom_button), /* control block */
222 (void *) &main_window_4444bgra_uncom_button_properties /* extended properties */
223 };
224
225 GX_CONST GX_STUDIO_WIDGET main_window_4444argb_com_button_define =
226 {
227 "4444argb_com_button",
228 GX_TYPE_RADIO_BUTTON, /* widget type */
229 ID_4444ARGB_COM, /* widget id */
230 #if defined(GX_WIDGET_USER_DATA)
231 0, /* user data */
232 #endif
233 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT, /* style flags */
234 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
235 sizeof(GX_RADIO_BUTTON), /* control block size */
236 GX_COLOR_ID_BTN_LOWER, /* normal color id */
237 GX_COLOR_ID_BTN_UPPER, /* selected color id */
238 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
239 gx_studio_radio_button_create, /* create function */
240 GX_NULL, /* drawing function override */
241 GX_NULL, /* event function override */
242 {175, 0, 309, 23}, /* widget size */
243 &main_window_4444bgra_uncom_button_define, /* next widget definition */
244 GX_NULL, /* no child widgets */
245 offsetof(MAIN_WINDOW_CONTROL_BLOCK, main_window_4444argb_com_button), /* control block */
246 (void *) &main_window_4444argb_com_button_properties /* extended properties */
247 };
248
249 GX_CONST GX_STUDIO_WIDGET main_window_pic_window_define =
250 {
251 "pic_window",
252 GX_TYPE_WINDOW, /* widget type */
253 ID_PIC_WINDOW, /* widget id */
254 #if defined(GX_WIDGET_USER_DATA)
255 0, /* user data */
256 #endif
257 GX_STYLE_BORDER_THIN, /* style flags */
258 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
259 sizeof(GX_WINDOW), /* control block size */
260 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
261 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
262 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
263 gx_studio_window_create, /* create function */
264 (VOID (*)(GX_WIDGET *)) pic_win_draw, /* drawing function override */
265 GX_NULL, /* event function override */
266 {29, 23, 199, 192}, /* widget size */
267 &main_window_4444argb_com_button_define, /* next widget definition */
268 GX_NULL, /* no child widgets */
269 offsetof(MAIN_WINDOW_CONTROL_BLOCK, main_window_pic_window), /* control block */
270 (void *) &main_window_pic_window_properties /* extended properties */
271 };
272
273 GX_CONST GX_STUDIO_WIDGET main_window_define =
274 {
275 "main_window",
276 GX_TYPE_WINDOW, /* widget type */
277 GX_ID_NONE, /* widget id */
278 #if defined(GX_WIDGET_USER_DATA)
279 0, /* user data */
280 #endif
281 GX_STYLE_BORDER_THIN, /* style flags */
282 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
283 sizeof(MAIN_WINDOW_CONTROL_BLOCK), /* control block size */
284 GX_COLOR_ID_SHADOW, /* normal color id */
285 GX_COLOR_ID_SHADOW, /* selected color id */
286 GX_COLOR_ID_SHADOW, /* disabled color id */
287 gx_studio_window_create, /* create function */
288 GX_NULL, /* drawing function override */
289 (UINT (*)(GX_WIDGET *, GX_EVENT *)) main_event_handler, /* event function override */
290 {0, -1, 319, 238}, /* widget size */
291 GX_NULL, /* next widget */
292 &main_window_pic_window_define, /* child widget */
293 0, /* control block */
294 (void *) &main_window_properties /* extended properties */
295 };
296 GX_CONST GX_STUDIO_WIDGET_ENTRY synergy_4444argb_32bpp_widget_table[] =
297 {
298 { &main_window_define, (GX_WIDGET *) &main_window },
299 {GX_NULL, GX_NULL}
300 };
301
gx_studio_nested_widget_create(GX_BYTE * control,GX_CONST GX_STUDIO_WIDGET * definition,GX_WIDGET * parent)302 static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent)
303 {
304 UINT status = GX_SUCCESS;
305 GX_WIDGET *widget = GX_NULL;
306 GX_VALUE list_count = 0;
307 GX_VALUE list_total_count = 0;
308
309 if(parent && (parent->gx_widget_type == GX_TYPE_MENU))
310 {
311 list_total_count = ((GX_MENU *)parent)->gx_menu_list_total_count;
312 }
313
314 while(definition && status == GX_SUCCESS)
315 {
316 if (definition->create_function)
317 {
318 if (definition->style & GX_STYLE_DYNAMICALLY_ALLOCATED)
319 {
320 status = gx_widget_allocate(&widget, definition->control_block_size);
321 if (status != GX_SUCCESS)
322 {
323 return GX_NULL;
324 }
325 }
326 else
327 {
328 if (control == GX_NULL)
329 {
330 return GX_NULL;
331 }
332 widget = (GX_WIDGET *) (control + definition->control_block_offset);
333 }
334
335 status = definition->create_function(definition, widget, parent);
336
337 if(list_count < list_total_count)
338 {
339 gx_menu_insert((GX_MENU *)parent, widget);
340 ((GX_MENU *)parent)->gx_menu_list_total_count--;
341 list_count++;
342 }
343
344 if (status == GX_SUCCESS)
345 {
346 if (definition->widget_type != GX_TYPE_TEMPLATE)
347 {
348 #if defined(GUIX_5_4_0_COMPATIBILITY)
349 gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id);
350 #else
351 gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id, definition->disabled_fill_color_id);
352 #endif
353 }
354
355 if (!(definition->status & GX_STATUS_ACCEPTS_FOCUS))
356 {
357 gx_widget_status_remove(widget, GX_STATUS_ACCEPTS_FOCUS);
358 }
359
360 if (definition->draw_function)
361 {
362 gx_widget_draw_set(widget, definition->draw_function);
363 }
364 if (definition->event_function)
365 {
366 gx_widget_event_process_set(widget, definition->event_function);
367 }
368
369 #if defined(GX_WIDGET_USER_DATA)
370 widget->gx_widget_user_data = definition->user_data;
371 #endif
372
373 if (definition->child_widget)
374 {
375 gx_studio_nested_widget_create(control, definition->child_widget, widget);
376 }
377 }
378 definition = definition->next_widget;
379 }
380 }
381 return widget;
382 }
383
gx_studio_widget_create(GX_BYTE * control,GX_CONST GX_STUDIO_WIDGET * definition,GX_WIDGET * parent)384 GX_WIDGET *gx_studio_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent)
385 {
386 GX_WIDGET *widget;
387 widget = gx_studio_nested_widget_create(control, definition, GX_NULL);
388
389 if (parent && widget)
390 {
391 gx_widget_attach(parent, widget);
392 }
393 return widget;
394 }
395
gx_studio_named_widget_create(char * name,GX_WIDGET * parent,GX_WIDGET ** new_widget)396 UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget)
397 {
398 UINT status = GX_FAILURE;
399 GX_CONST GX_STUDIO_WIDGET_ENTRY *entry = synergy_4444argb_32bpp_widget_table;
400 GX_WIDGET *widget = GX_NULL;
401
402 while(entry->widget_information)
403 {
404 if (!strcmp(name, entry->widget_information->widget_name))
405 {
406 widget = gx_studio_widget_create((GX_BYTE *) entry->widget, entry->widget_information, parent);
407 if (widget)
408 {
409 status = GX_SUCCESS;
410 }
411 break;
412 }
413 entry++;
414 }
415
416 if (new_widget)
417 {
418 *new_widget = widget;
419 }
420 return status;
421 }
422
423
gx_studio_display_configure(USHORT display,UINT (* driver)(GX_DISPLAY *),GX_UBYTE language,USHORT theme,GX_WINDOW_ROOT ** return_root)424 UINT gx_studio_display_configure(USHORT display, UINT (*driver)(GX_DISPLAY *),
425 GX_UBYTE language, USHORT theme, GX_WINDOW_ROOT **return_root)
426 {
427 GX_CONST GX_THEME *theme_ptr;
428 GX_RECTANGLE size;
429
430 GX_STUDIO_DISPLAY_INFO *display_info = &synergy_4444argb_32bpp_display_table[display];
431
432
433 /* create the requested display */
434
435 gx_display_create(display_info->display,
436 display_info->name,
437 driver,
438 (GX_VALUE) display_info->x_resolution,
439 (GX_VALUE) display_info->y_resolution);
440
441
442 /* install the request theme */
443
444 if(display_info->theme_table)
445 {
446 theme_ptr = display_info->theme_table[theme];
447 if(theme_ptr)
448 {
449 gx_display_color_table_set(display_info->display, theme_ptr->theme_color_table, theme_ptr->theme_color_table_size);
450
451 /* install the color palette if required */
452 if (display_info->display->gx_display_driver_palette_set &&
453 theme_ptr->theme_palette != NULL)
454 {
455 display_info->display->gx_display_driver_palette_set(display_info->display, theme_ptr->theme_palette, theme_ptr->theme_palette_size);
456 }
457
458 gx_display_font_table_set(display_info->display, theme_ptr->theme_font_table, theme_ptr->theme_font_table_size);
459 gx_display_pixelmap_table_set(display_info->display, theme_ptr->theme_pixelmap_table, theme_ptr->theme_pixelmap_table_size);
460 gx_system_scroll_appearance_set(theme_ptr->theme_vertical_scroll_style, (GX_SCROLLBAR_APPEARANCE *) &theme_ptr->theme_vertical_scrollbar_appearance);
461 gx_system_scroll_appearance_set(theme_ptr->theme_horizontal_scroll_style, (GX_SCROLLBAR_APPEARANCE *) &theme_ptr->theme_horizontal_scrollbar_appearance);
462 }
463 }
464
465 /* Install the language table. */
466
467 if(display_info->language_table)
468 {
469 gx_display_language_table_set_ext(display_info->display, display_info->language_table, (GX_UBYTE) display_info->language_table_size, display_info->string_table_size);
470 gx_display_active_language_set(display_info->display, language);
471 }
472
473 /* Set screen rotation angle. */
474
475 display_info->display->gx_display_rotation_angle = display_info->rotation_angle;
476
477 /* create the canvas for this display */
478
479 gx_canvas_create(display_info->canvas,
480 display_info->canvas_name,
481 display_info->display,
482 GX_CANVAS_MANAGED | GX_CANVAS_VISIBLE,
483 display_info->x_resolution,
484 display_info->y_resolution,
485 display_info->canvas_memory,
486 display_info->canvas_memory_size);
487
488 /* Create the root window for this canvas */
489
490 gx_utility_rectangle_define(&size,
491 0, 0,
492 (GX_VALUE) (display_info->x_resolution - 1),
493 (GX_VALUE) (display_info->y_resolution - 1));
494
495 gx_window_root_create(display_info->root_window,
496 display_info->name,
497 display_info->canvas, GX_STYLE_NONE, 0, &size);
498 if (return_root)
499 {
500 *return_root = display_info->root_window;
501 }
502 return GX_SUCCESS;
503 }
504
505 /* Provide display driver setup function */
506
507 #if defined(GX_TARGET_WIN32) || defined(GX_TARGET_LINUX)
508
_gx_synergy_display_driver_setup(GX_DISPLAY * display)509 UINT _gx_synergy_display_driver_setup(GX_DISPLAY *display)
510 {
511 win32_dave2d_graphics_driver_setup_24xrgb(display);
512 return GX_SUCCESS;
513 }
514 #else
_gx_synergy_display_driver_setup(GX_DISPLAY * display)515 UINT _gx_synergy_display_driver_setup(GX_DISPLAY *display)
516 {
517 _gx_display_driver_32argb_setup(display, GX_NULL, _gx_dave2d_buffer_toggle);
518 display->gx_display_handle = 0;
519 display -> gx_display_driver_horizontal_pattern_line_draw = _gx_dave2d_horizontal_pattern_line_draw_888;
520 display -> gx_display_driver_vertical_pattern_line_draw = _gx_dave2d_vertical_pattern_line_draw_888;
521 display -> gx_display_driver_pixel_write = _gx_dave2d_pixel_write_888;
522 display -> gx_display_driver_pixel_blend = _gx_dave2d_pixel_blend_888;
523 display -> gx_display_driver_drawing_initiate = _gx_dave2d_drawing_initiate;
524 display -> gx_display_driver_drawing_complete = _gx_dave2d_drawing_complete;
525 display -> gx_display_driver_canvas_copy = _gx_dave2d_canvas_copy;
526 display -> gx_display_driver_canvas_blend = _gx_dave2d_canvas_blend;
527 display -> gx_display_driver_simple_line_draw = _gx_dave2d_simple_line_draw;
528 display -> gx_display_driver_horizontal_line_draw = _gx_dave2d_horizontal_line;
529 display -> gx_display_driver_vertical_line_draw = _gx_dave2d_vertical_line;
530 display -> gx_display_driver_polygon_draw = _gx_dave2d_polygon_draw;
531 display -> gx_display_driver_polygon_fill = _gx_dave2d_polygon_fill;
532 display -> gx_display_driver_block_move = _gx_dave2d_block_move;
533 display -> gx_display_driver_pixelmap_draw = _gx_dave2d_pixelmap_draw;
534 display -> gx_display_driver_horizontal_pixelmap_line_draw = _gx_dave2d_horizontal_pixelmap_line_draw;
535 display -> gx_display_driver_alphamap_draw = _gx_dave2d_alphamap_draw;
536 display -> gx_display_driver_simple_wide_line_draw = _gx_dave2d_simple_wide_line;
537 display -> gx_display_driver_anti_aliased_line_draw = _gx_dave2d_aliased_line;
538 display -> gx_display_driver_anti_aliased_wide_line_draw = _gx_dave2d_aliased_wide_line;
539 display -> gx_display_driver_pixelmap_blend = _gx_dave2d_pixelmap_blend;
540 display -> gx_display_driver_8bit_glyph_draw = _gx_dave2d_raw_glyph_8bit_draw;
541 display -> gx_display_driver_4bit_glyph_draw = _gx_dave2d_raw_glyph_4bit_draw;
542 display -> gx_display_driver_1bit_glyph_draw = _gx_dave2d_raw_glyph_1bit_draw;
543 display -> gx_display_driver_8bit_compressed_glyph_draw = _gx_dave2d_compressed_glyph_8bit_draw;
544 display -> gx_display_driver_4bit_compressed_glyph_draw = _gx_dave2d_compressed_glyph_4bit_draw;
545 display -> gx_display_driver_1bit_compressed_glyph_draw = _gx_dave2d_compressed_glyph_1bit_draw;
546 #if defined(GX_ARC_DRAWING_SUPPORT)
547 display -> gx_display_driver_anti_aliased_circle_draw = _gx_dave2d_aliased_circle_draw;
548 display -> gx_display_driver_anti_aliased_wide_circle_draw = _gx_dave2d_aliased_circle_draw;
549 display -> gx_display_driver_circle_draw = _gx_dave2d_circle_draw;
550 display -> gx_display_driver_circle_fill = _gx_dave2d_circle_fill;
551 display -> gx_display_driver_pie_fill = _gx_dave2d_pie_fill;
552 display -> gx_display_driver_anti_aliased_arc_draw = _gx_dave2d_aliased_arc_draw;
553 display -> gx_display_driver_arc_draw = _gx_dave2d_arc_draw;
554 display -> gx_display_driver_arc_fill = _gx_dave2d_arc_fill;
555 display -> gx_display_driver_anti_aliased_ellipse_draw = _gx_dave2d_aliased_ellipse_draw;
556 display -> gx_display_driver_ellipse_draw = _gx_dave2d_ellipse_draw;
557 display -> gx_display_driver_ellipse_fill = _gx_dave2d_ellipse_fill;
558 display -> gx_display_driver_wide_circle_draw = _gx_dave2d_circle_draw;
559 display -> gx_display_driver_anti_aliased_wide_arc_draw = _gx_dave2d_aliased_arc_draw;
560 display -> gx_display_driver_wide_arc_draw = _gx_dave2d_arc_draw;
561 display -> gx_display_driver_anti_aliased_wide_ellipse_draw= _gx_dave2d_aliased_ellipse_draw;
562 display -> gx_display_driver_wide_ellipse_draw = _gx_dave2d_ellipse_draw;
563 #endif
564 display -> gx_display_driver_jpeg_draw = _gx_synergy_jpeg_draw;
565 return GX_SUCCESS;
566 }
567 #endif
568 #undef GUIX_STUDIO_GENERATED_FILE
569