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