mirror of
https://github.com/azure-rtos/guix.git
synced 2025-02-04 07:13:17 +08:00
94 lines
5.1 KiB
C
94 lines
5.1 KiB
C
/***************************************************************************
|
|
* 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
|
|
|