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 /* resource file(s). For more information please refer to the Azure RTOS GUIX */ 6 /* Studio User Guide, or visit our web site at azure.com/rtos */ 7 /* */ 8 /* GUIX Studio Revision 6.2.1.2 */ 9 /* Date (dd.mm.yyyy): 5. 6.2023 Time (hh:mm): 15:13 */ 10 /*******************************************************************************/ 11 12 13 #include "gx_api.h" 14 #include "template_resources.h" 15 16 /* Color Table */ 17 18 GX_CONST GX_COLOR Primary_theme_1_color_table[] = 19 { 20 0x00000000, 21 0x00787c78, 22 0x00e2e2e2, 23 0x009b9a73, 24 0x007599aa, 25 0x00000000, 26 0x00ffffff, 27 0x000000b8, 28 0x00808080, 29 0x00dadada, 30 0x00e0c060, 31 0x00f8f8e0, 32 0x00f8ecb0, 33 0x00000000, 34 0xffbababa, 35 0xff7d7d7d, 36 0x00ffffff, 37 0x00282c28, 38 0x00000000, 39 0x00c0c0c0, 40 0x00ffffff, 41 0x00000000, 42 0x00808080, 43 0x00c0c0c0, 44 0x00e0c060, 45 0x00a0a0a0, 46 0x00787c78, 47 0xffffffff, 48 0x00787c78, 49 0x00ff8040, 50 0x00000000, 51 0x000000ff, 52 0x00ffffff, 53 0x004f9d9d, 54 0x00387272 55 }; 56 57 58 /* Font Table */ 59 60 61 extern GX_CONST GX_FONT _gx_system_font_8bpp; 62 GX_CONST GX_FONT *Primary_theme_1_font_table[] = 63 { 64 &_gx_system_font_8bpp, 65 &_gx_system_font_8bpp, 66 &_gx_system_font_8bpp, 67 &_gx_system_font_8bpp 68 }; 69 70 /* Pixelmap data definitions */ 71 72 73 /* Pixelmap Table */ 74 75 76 GX_CONST GX_PIXELMAP *Primary_theme_1_pixelmap_table[] = 77 { 78 GX_NULL, 79 GX_NULL, 80 GX_NULL, 81 GX_NULL, 82 GX_NULL 83 }; 84 85 /* String values */ 86 87 GX_CONST GX_UBYTE Primary_STRING_36_English[] = "Next"; 88 GX_CONST GX_UBYTE Primary_STRING_99_English[] = "this is a top level template"; 89 GX_CONST GX_UBYTE Primary_STRING_100_English[] = "dynamically allocated"; 90 GX_CONST GX_UBYTE Primary_STRING_101_English[] = "This is a child template"; 91 GX_CONST GX_UBYTE Primary_STRING_102_English[] = "This is a top level template"; 92 GX_CONST GX_UBYTE Primary_STRING_1_English[] = "prompt"; 93 94 /* String Table for Primary language English */ 95 96 GX_CONST GX_STRING Primary_English_string_table[7] = 97 { 98 {GX_NULL, 0}, 99 {(GX_CONST GX_CHAR *)Primary_STRING_36_English, sizeof(Primary_STRING_36_English) - 1}, 100 {(GX_CONST GX_CHAR *)Primary_STRING_99_English, sizeof(Primary_STRING_99_English) - 1}, 101 {(GX_CONST GX_CHAR *)Primary_STRING_100_English, sizeof(Primary_STRING_100_English) - 1}, 102 {(GX_CONST GX_CHAR *)Primary_STRING_101_English, sizeof(Primary_STRING_101_English) - 1}, 103 {(GX_CONST GX_CHAR *)Primary_STRING_102_English, sizeof(Primary_STRING_102_English) - 1}, 104 {(GX_CONST GX_CHAR *)Primary_STRING_1_English, sizeof(Primary_STRING_1_English) - 1} 105 }; 106 107 /* Language Table */ 108 109 110 GX_CONST GX_STRING *Primary_language_table[1] = 111 { 112 Primary_English_string_table, 113 }; 114 115 GX_THEME Primary_theme_1 = 116 { 117 (GX_COLOR *) Primary_theme_1_color_table, 118 (GX_FONT **) Primary_theme_1_font_table, 119 (GX_PIXELMAP **) Primary_theme_1_pixelmap_table, 120 NULL, 121 { 122 20, /* scroll width */ 123 18, /* thumb width */ 124 20, /* thumb travel min */ 125 20, /* thumb travel max */ 126 4, /* thumb border style */ 127 0, /* scroll fill pixelmap */ 128 0, /* scroll thumb pixelmap */ 129 0, /* scroll up pixelmap */ 130 0, /* scroll down pixelmap */ 131 GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb color */ 132 GX_COLOR_ID_CANVAS, /* scroll thumb border color */ 133 GX_COLOR_ID_SCROLL_BUTTON, /* scroll button color */ 134 }, 135 { 136 20, /* scroll width */ 137 18, /* thumb width */ 138 20, /* thumb travel min */ 139 20, /* thumb travel max */ 140 4, /* thumb border style */ 141 0, /* scroll fill pixelmap */ 142 0, /* scroll thumb pixelmap */ 143 0, /* scroll up pixelmap */ 144 0, /* scroll down pixelmap */ 145 GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb color */ 146 GX_COLOR_ID_CANVAS, /* scroll thumb border color */ 147 GX_COLOR_ID_SCROLL_BUTTON, /* scroll button color */ 148 }, 149 GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_END_BUTTONS|GX_SCROLLBAR_VERTICAL, 150 GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_END_BUTTONS|GX_SCROLLBAR_HORIZONTAL, 151 35, /* color table size */ 152 4, /* font table size */ 153 5, /* pixelmap table size */ 154 0 /* palette size */ 155 156 }; 157 GX_CONST GX_THEME *Primary_theme_table[1] = 158 { 159 &Primary_theme_1 160 }; 161 162