-
Notifications
You must be signed in to change notification settings - Fork 141
/
gx_user_sample.h
93 lines (80 loc) · 5.13 KB
/
gx_user_sample.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/***************************************************************************
* Copyright (c) 2024 Microsoft Corporation
*
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
* https://opensource.org/licenses/MIT.
*
* SPDX-License-Identifier: MIT
**************************************************************************/
/**************************************************************************/
/**************************************************************************/
/** */
/** GUIX Component */
/** */
/** User optional settings */
/** */
/**************************************************************************/
/**************************************************************************/
/**************************************************************************/
/* */
/* APPLICATION INTERFACE DEFINITION RELEASE */
/* */
/* gx_user.h PORTABLE C */
/* 6.3.0 */
/* AUTHOR */
/* */
/* Kenneth Maxwell, Microsoft Corporation */
/* */
/* DESCRIPTION */
/* */
/* This file contains optional settings. You can enable and disable */
/* GUIX features by commenting out or including the definitions below */
/* to the implementation of high-performance GUIX UI framework. */
/* */
/* RELEASE HISTORY */
/* */
/* DATE NAME DESCRIPTION */
/* */
/* 05-19-2020 Kenneth Maxwell Initial Version 6.0 */
/* 09-30-2020 Kenneth Maxwell Modified comment(s), */
/* resulting in version 6.1 */
/* 01-31-2022 Kenneth Maxwell Modified comment(s), */
/* fixed typo, */
/* resulting in version 6.1.10 */
/* 10-31-2023 Ting Zhu Modified comment(s), added */
/* GX_ENABLE_ARM_HELIUM and */
/* partial canvas frame buffer */
/* support configurations, */
/* resulting in version 6.3.0 */
/* */
/**************************************************************************/
#ifndef GX_USER_H
#define GX_USER_H
/* Should GUIX support multiple threads using the GUIX API simultaneously
If your application is organized such that only one thread utilizes the
GUI API services, comment out the definition below to reduce system
overhead.
*/
/* #define GX_DISABLE_MULTITHREAD_SUPPORT */
/* Defined, GUIX disables UTF8 support. */
/* #define GX_DISABLE_UTF8_SUPPORT */
/* By default GUIX System Timer runs at 20ms. Modify the value below to
change GUIX System Timer value. */
/* #define GX_SYSTEM_TIMER_MS 20 */
/* This can be defined to insert an application specific data
field into the GX_WIDGET control block */
/* #define GX_WIDGET_USER_DATA */
/* This can be defined to enable the use of ARM Helium intrinsics for
JPEG decoding. */
/* #define GX_ENABLE_ARM_HELIUM */
/* This can be defined to enable the partial canvas frame buffer feature. */
/* #define GX_ENABLE_CANVAS_PARTIAL_FRAME_BUFFER */
/* The two following definitions can be used to specify the canvas refresh directions for the partial canvas frame buffer feature.
By default, the canvas refreshes its dirty areas one by one.
If the application requires refreshing the canvas in a specific direction to mitigate tearing effects, one of the following two definitions can be used.
In this scenario, the total dirty area that covers all the dirty areas is calculated, and then the canvas is refreshed in the direction
defined by one of the following two definitions. */
/* #define GX_CANVAS_REFRESH_DIRECTION_HORIZONTAL */
/* #define GX_CANVAS_REFRESH_DIRECTION_VERTICAL */
#endif