1
0
mirror of https://github.com/azure-rtos/guix.git synced 2025-02-04 07:13:17 +08:00
guix/test/example_internal/template/template_resources.c
Ting Zhu 0e6fdbf5ab
Add GUIX regression tests. (#68)
Add GUIX regression tests.
2023-11-16 15:56:54 +08:00

162 lines
6.2 KiB
C

/*******************************************************************************/
/* This file is auto-generated by Azure RTOS GUIX Studio. Do not edit this */
/* file by hand. Modifications to this file should only be made by running */
/* the Azure RTOS GUIX Studio application and re-generating the application */
/* resource file(s). For more information please refer to the Azure RTOS GUIX */
/* Studio User Guide, or visit our web site at azure.com/rtos */
/* */
/* GUIX Studio Revision 6.2.1.2 */
/* Date (dd.mm.yyyy): 5. 6.2023 Time (hh:mm): 15:13 */
/*******************************************************************************/
#include "gx_api.h"
#include "template_resources.h"
/* Color Table */
GX_CONST GX_COLOR Primary_theme_1_color_table[] =
{
0x00000000,
0x00787c78,
0x00e2e2e2,
0x009b9a73,
0x007599aa,
0x00000000,
0x00ffffff,
0x000000b8,
0x00808080,
0x00dadada,
0x00e0c060,
0x00f8f8e0,
0x00f8ecb0,
0x00000000,
0xffbababa,
0xff7d7d7d,
0x00ffffff,
0x00282c28,
0x00000000,
0x00c0c0c0,
0x00ffffff,
0x00000000,
0x00808080,
0x00c0c0c0,
0x00e0c060,
0x00a0a0a0,
0x00787c78,
0xffffffff,
0x00787c78,
0x00ff8040,
0x00000000,
0x000000ff,
0x00ffffff,
0x004f9d9d,
0x00387272
};
/* Font Table */
extern GX_CONST GX_FONT _gx_system_font_8bpp;
GX_CONST GX_FONT *Primary_theme_1_font_table[] =
{
&_gx_system_font_8bpp,
&_gx_system_font_8bpp,
&_gx_system_font_8bpp,
&_gx_system_font_8bpp
};
/* Pixelmap data definitions */
/* Pixelmap Table */
GX_CONST GX_PIXELMAP *Primary_theme_1_pixelmap_table[] =
{
GX_NULL,
GX_NULL,
GX_NULL,
GX_NULL,
GX_NULL
};
/* String values */
GX_CONST GX_UBYTE Primary_STRING_36_English[] = "Next";
GX_CONST GX_UBYTE Primary_STRING_99_English[] = "this is a top level template";
GX_CONST GX_UBYTE Primary_STRING_100_English[] = "dynamically allocated";
GX_CONST GX_UBYTE Primary_STRING_101_English[] = "This is a child template";
GX_CONST GX_UBYTE Primary_STRING_102_English[] = "This is a top level template";
GX_CONST GX_UBYTE Primary_STRING_1_English[] = "prompt";
/* String Table for Primary language English */
GX_CONST GX_STRING Primary_English_string_table[7] =
{
{GX_NULL, 0},
{(GX_CONST GX_CHAR *)Primary_STRING_36_English, sizeof(Primary_STRING_36_English) - 1},
{(GX_CONST GX_CHAR *)Primary_STRING_99_English, sizeof(Primary_STRING_99_English) - 1},
{(GX_CONST GX_CHAR *)Primary_STRING_100_English, sizeof(Primary_STRING_100_English) - 1},
{(GX_CONST GX_CHAR *)Primary_STRING_101_English, sizeof(Primary_STRING_101_English) - 1},
{(GX_CONST GX_CHAR *)Primary_STRING_102_English, sizeof(Primary_STRING_102_English) - 1},
{(GX_CONST GX_CHAR *)Primary_STRING_1_English, sizeof(Primary_STRING_1_English) - 1}
};
/* Language Table */
GX_CONST GX_STRING *Primary_language_table[1] =
{
Primary_English_string_table,
};
GX_THEME Primary_theme_1 =
{
(GX_COLOR *) Primary_theme_1_color_table,
(GX_FONT **) Primary_theme_1_font_table,
(GX_PIXELMAP **) Primary_theme_1_pixelmap_table,
NULL,
{
20, /* scroll width */
18, /* thumb width */
20, /* thumb travel min */
20, /* thumb travel max */
4, /* thumb border style */
0, /* scroll fill pixelmap */
0, /* scroll thumb pixelmap */
0, /* scroll up pixelmap */
0, /* scroll down pixelmap */
GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb color */
GX_COLOR_ID_CANVAS, /* scroll thumb border color */
GX_COLOR_ID_SCROLL_BUTTON, /* scroll button color */
},
{
20, /* scroll width */
18, /* thumb width */
20, /* thumb travel min */
20, /* thumb travel max */
4, /* thumb border style */
0, /* scroll fill pixelmap */
0, /* scroll thumb pixelmap */
0, /* scroll up pixelmap */
0, /* scroll down pixelmap */
GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb color */
GX_COLOR_ID_CANVAS, /* scroll thumb border color */
GX_COLOR_ID_SCROLL_BUTTON, /* scroll button color */
},
GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_END_BUTTONS|GX_SCROLLBAR_VERTICAL,
GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_END_BUTTONS|GX_SCROLLBAR_HORIZONTAL,
35, /* color table size */
4, /* font table size */
5, /* pixelmap table size */
0 /* palette size */
};
GX_CONST GX_THEME *Primary_theme_table[1] =
{
&Primary_theme_1
};