592 lines
28 KiB
C
592 lines
28 KiB
C
//////////////////////////////////////////////////////////////////////////////////
|
|
// //
|
|
// StyleAsCode exporter v2.0 - Style data exported as a values array //
|
|
// //
|
|
// USAGE: On init call: GuiLoadStyleCyber(); //
|
|
// //
|
|
// more info and bugs-report: github.com/raysan5/raygui //
|
|
// feedback and support: ray[at]raylibtech.com //
|
|
// //
|
|
// Copyright (c) 2020-2023 raylib technologies (@raylibtech) //
|
|
// //
|
|
//////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#define CYBER_STYLE_PROPS_COUNT 17
|
|
|
|
// Custom style name: Cyber
|
|
static const GuiStyleProp cyberStyleProps[CYBER_STYLE_PROPS_COUNT] = {
|
|
{ 0, 0, 0x2f7486ff }, // DEFAULT_BORDER_COLOR_NORMAL
|
|
{ 0, 1, 0x024658ff }, // DEFAULT_BASE_COLOR_NORMAL
|
|
{ 0, 2, 0x51bfd3ff }, // DEFAULT_TEXT_COLOR_NORMAL
|
|
{ 0, 3, 0x82cde0ff }, // DEFAULT_BORDER_COLOR_FOCUSED
|
|
{ 0, 4, 0x3299b4ff }, // DEFAULT_BASE_COLOR_FOCUSED
|
|
{ 0, 5, 0xb6e1eaff }, // DEFAULT_TEXT_COLOR_FOCUSED
|
|
{ 0, 6, 0xeb7630ff }, // DEFAULT_BORDER_COLOR_PRESSED
|
|
{ 0, 7, 0xffbc51ff }, // DEFAULT_BASE_COLOR_PRESSED
|
|
{ 0, 8, 0xd86f36ff }, // DEFAULT_TEXT_COLOR_PRESSED
|
|
{ 0, 9, 0x134b5aff }, // DEFAULT_BORDER_COLOR_DISABLED
|
|
{ 0, 10, 0x02313dff }, // DEFAULT_BASE_COLOR_DISABLED
|
|
{ 0, 11, 0x17505fff }, // DEFAULT_TEXT_COLOR_DISABLED
|
|
{ 0, 16, 0x0000000e }, // DEFAULT_TEXT_SIZE
|
|
{ 0, 17, 0x00000000 }, // DEFAULT_TEXT_SPACING
|
|
{ 0, 18, 0x81c0d0ff }, // DEFAULT_LINE_COLOR
|
|
{ 0, 19, 0x00222bff }, // DEFAULT_BACKGROUND_COLOR
|
|
{ 0, 20, 0x00000015 }, // DEFAULT_TEXT_LINE_SPACING
|
|
};
|
|
|
|
// WARNING: This style uses a custom font: "Kyrou 7 Wide.ttf" (size: 14, spacing: 0)
|
|
|
|
#define CYBER_STYLE_FONT_ATLAS_COMP_SIZE 2286
|
|
|
|
// Font atlas image pixels data: DEFLATE compressed
|
|
static unsigned char cyberFontData[CYBER_STYLE_FONT_ATLAS_COMP_SIZE] = { 0xed,
|
|
0xdd, 0x81, 0x6e, 0xdb, 0x36, 0x10, 0x06, 0x60, 0x21, 0xef, 0xff, 0xc6, 0x99, 0xf6, 0x0f, 0xe8, 0xd0, 0x2d, 0x45, 0x6b,
|
|
0x89, 0x3c, 0x92, 0xb2, 0xec, 0x7c, 0xfd, 0x80, 0x61, 0x88, 0x62, 0x5b, 0xa2, 0x78, 0xe4, 0x49, 0x0a, 0xcf, 0xd9, 0x00,
|
|
0x00, 0x00, 0x00, 0x26, 0xcb, 0xc5, 0x9f, 0x96, 0xe6, 0x9f, 0xce, 0x3b, 0xa2, 0x9f, 0xff, 0x9e, 0x7b, 0xec, 0xfa, 0x57,
|
|
0x7f, 0xbb, 0xe7, 0xe1, 0xb9, 0xd3, 0x9e, 0x5f, 0x7f, 0x92, 0xc3, 0xdf, 0x4d, 0xa9, 0x75, 0x73, 0x7a, 0xc6, 0x8e, 0xcf,
|
|
0x4c, 0x5f, 0xbc, 0x3d, 0xde, 0x87, 0x74, 0xbf, 0x62, 0xe5, 0xc8, 0xf8, 0xf3, 0xdf, 0xde, 0xd5, 0xdf, 0x8f, 0x7b, 0x71,
|
|
0x5b, 0x2f, 0xcf, 0xc9, 0x1e, 0xa5, 0xe1, 0x37, 0xce, 0x5e, 0xbf, 0x0d, 0xec, 0xfd, 0x7e, 0xe9, 0x5c, 0x94, 0xd3, 0x31,
|
|
0x63, 0x5b, 0x70, 0x34, 0x19, 0x3c, 0x97, 0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0xb5, 0xf5, 0xf1, 0x3e, 0xa7, 0xb1, 0xb2, 0xdf, 0xbd, 0xb6, 0x8e, 0xd4, 0xf3, 0x85, 0x96, 0x2b, 0xe2, 0xf3, 0xaa, 0xa8,
|
|
0xaf, 0xb3, 0xb5, 0xe5, 0x68, 0xb7, 0x37, 0x39, 0x56, 0xf1, 0xcf, 0xac, 0x39, 0xff, 0x9d, 0x7a, 0x7d, 0x86, 0xda, 0x42,
|
|
0xfc, 0x23, 0xfe, 0xbf, 0x5b, 0xaf, 0x17, 0xff, 0x7c, 0xdf, 0xfc, 0x7f, 0x1f, 0xaa, 0x17, 0xbf, 0xdd, 0x6a, 0xeb, 0xf8,
|
|
0xb5, 0xd0, 0x7d, 0xb6, 0xde, 0xb5, 0x0a, 0x22, 0x70, 0xc5, 0x1d, 0xd8, 0xb1, 0x27, 0xb8, 0xc0, 0x6b, 0xe4, 0x60, 0x95,
|
|
0xb8, 0x36, 0xfb, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd0, 0xe2, 0xdf, 0x7f, 0xda, 0x01, 0xc4, 0x3f,
|
|
0xf0, 0xed, 0xe2, 0xff, 0x1f };
|
|
|
|
// Font glyphs rectangles data (on atlas)
|
|
static const Rectangle cyberFontRecs[189] = {
|
|
{ 4, 4, 4 , 14 },
|
|
{ 16, 4, 1 , 8 },
|
|
{ 25, 4, 4 , 3 },
|
|
{ 37, 4, 8 , 8 },
|
|
{ 53, 4, 8 , 9 },
|
|
{ 69, 4, 8 , 8 },
|
|
{ 85, 4, 8 , 8 },
|
|
{ 101, 4, 1 , 3 },
|
|
{ 110, 4, 4 , 9 },
|
|
{ 122, 4, 4 , 9 },
|
|
{ 134, 4, 5 , 6 },
|
|
{ 147, 4, 5 , 6 },
|
|
{ 160, 4, 2 , 2 },
|
|
{ 170, 4, 4 , 1 },
|
|
{ 182, 4, 1 , 1 },
|
|
{ 191, 4, 8 , 8 },
|
|
{ 207, 4, 8 , 8 },
|
|
{ 223, 4, 2 , 8 },
|
|
{ 233, 4, 8 , 8 },
|
|
{ 249, 4, 8 , 8 },
|
|
{ 265, 4, 8 , 8 },
|
|
{ 281, 4, 8 , 8 },
|
|
{ 297, 4, 8 , 8 },
|
|
{ 313, 4, 7 , 8 },
|
|
{ 328, 4, 8 , 8 },
|
|
{ 344, 4, 8 , 8 },
|
|
{ 360, 4, 1 , 4 },
|
|
{ 369, 4, 2 , 5 },
|
|
{ 379, 4, 4 , 8 },
|
|
{ 391, 4, 5 , 3 },
|
|
{ 404, 4, 4 , 8 },
|
|
{ 416, 4, 7 , 8 },
|
|
{ 431, 4, 8 , 8 },
|
|
{ 447, 4, 8 , 8 },
|
|
{ 463, 4, 8 , 8 },
|
|
{ 479, 4, 8 , 8 },
|
|
{ 495, 4, 8 , 8 },
|
|
{ 4, 26, 7 , 8 },
|
|
{ 19, 26, 7 , 8 },
|
|
{ 34, 26, 8 , 8 },
|
|
{ 50, 26, 8 , 8 },
|
|
{ 66, 26, 5 , 8 },
|
|
{ 79, 26, 7 , 8 },
|
|
{ 94, 26, 8 , 8 },
|
|
{ 110, 26, 7 , 8 },
|
|
{ 125, 26, 8 , 8 },
|
|
{ 141, 26, 8 , 8 },
|
|
{ 157, 26, 8 , 8 },
|
|
{ 173, 26, 8 , 8 },
|
|
{ 189, 26, 8 , 9 },
|
|
{ 205, 26, 8 , 8 },
|
|
{ 221, 26, 8 , 8 },
|
|
{ 237, 26, 8 , 8 },
|
|
{ 253, 26, 8 , 8 },
|
|
{ 269, 26, 8 , 8 },
|
|
{ 285, 26, 9 , 8 },
|
|
{ 302, 26, 8 , 8 },
|
|
{ 318, 26, 8 , 8 },
|
|
{ 334, 26, 8 , 8 },
|
|
{ 350, 26, 4 , 9 },
|
|
{ 362, 26, 8 , 8 },
|
|
{ 378, 26, 4 , 9 },
|
|
{ 390, 26, 4 , 3 },
|
|
{ 402, 26, 7 , 1 },
|
|
{ 417, 26, 2 , 3 },
|
|
{ 427, 26, 7 , 5 },
|
|
{ 442, 26, 7 , 8 },
|
|
{ 457, 26, 7 , 5 },
|
|
{ 472, 26, 7 , 8 },
|
|
{ 487, 26, 7 , 5 },
|
|
{ 4, 48, 4 , 8 },
|
|
{ 16, 48, 7 , 7 },
|
|
{ 31, 48, 7 , 8 },
|
|
{ 46, 48, 1 , 8 },
|
|
{ 55, 48, 3 , 10 },
|
|
{ 66, 48, 7 , 8 },
|
|
{ 81, 48, 4 , 8 },
|
|
{ 93, 48, 9 , 5 },
|
|
{ 110, 48, 7 , 5 },
|
|
{ 125, 48, 7 , 5 },
|
|
{ 140, 48, 7 , 7 },
|
|
{ 155, 48, 7 , 7 },
|
|
{ 170, 48, 5 , 5 },
|
|
{ 183, 48, 7 , 5 },
|
|
{ 198, 48, 5 , 8 },
|
|
{ 211, 48, 7 , 5 },
|
|
{ 226, 48, 7 , 5 },
|
|
{ 241, 48, 9 , 5 },
|
|
{ 258, 48, 7 , 5 },
|
|
{ 273, 48, 7 , 7 },
|
|
{ 288, 48, 7 , 5 },
|
|
{ 303, 48, 4 , 9 },
|
|
{ 315, 48, 1 , 9 },
|
|
{ 324, 48, 4 , 9 },
|
|
{ 336, 48, 8 , 2 },
|
|
{ 352, 48, 1 , 8 },
|
|
{ 361, 48, 7 , 8 },
|
|
{ 376, 48, 7 , 8 },
|
|
{ 391, 48, 8 , 9 },
|
|
{ 407, 48, 8 , 9 },
|
|
{ 423, 48, 8 , 10 },
|
|
{ 439, 48, 4 , 9 },
|
|
{ 451, 48, 7 , 8 },
|
|
{ 466, 48, 8 , 8 },
|
|
{ 482, 48, 7 , 6 },
|
|
{ 497, 48, 5 , 3 },
|
|
{ 4, 70, 5 , 3 },
|
|
{ 17, 70, 8 , 8 },
|
|
{ 33, 70, 0 , 0 },
|
|
{ 41, 70, 4 , 3 },
|
|
{ 53, 70, 8 , 6 },
|
|
{ 69, 70, 4 , 5 },
|
|
{ 81, 70, 4 , 5 },
|
|
{ 93, 70, 8 , 10 },
|
|
{ 109, 70, 7 , 7 },
|
|
{ 124, 70, 5 , 7 },
|
|
{ 137, 70, 1 , 1 },
|
|
{ 146, 70, 7 , 8 },
|
|
{ 161, 70, 2 , 5 },
|
|
{ 171, 70, 4 , 5 },
|
|
{ 183, 70, 5 , 3 },
|
|
{ 196, 70, 14 , 8 },
|
|
{ 218, 70, 13 , 5 },
|
|
{ 239, 70, 8 , 9 },
|
|
{ 255, 70, 7 , 8 },
|
|
{ 270, 70, 8 , 10 },
|
|
{ 286, 70, 8 , 10 },
|
|
{ 302, 70, 8 , 10 },
|
|
{ 318, 70, 8 , 10 },
|
|
{ 334, 70, 8 , 9 },
|
|
{ 350, 70, 8 , 12 },
|
|
{ 366, 70, 14 , 8 },
|
|
{ 388, 70, 8 , 10 },
|
|
{ 404, 70, 7 , 10 },
|
|
{ 419, 70, 7 , 10 },
|
|
{ 434, 70, 7 , 10 },
|
|
{ 449, 70, 7 , 9 },
|
|
{ 464, 70, 5 , 10 },
|
|
{ 477, 70, 5 , 10 },
|
|
{ 490, 70, 5 , 10 },
|
|
{ 4, 92, 5 , 9 },
|
|
{ 17, 92, 8 , 8 },
|
|
{ 33, 92, 8 , 10 },
|
|
{ 49, 92, 8 , 10 },
|
|
{ 65, 92, 8 , 10 },
|
|
{ 81, 92, 8 , 10 },
|
|
{ 97, 92, 8 , 10 },
|
|
{ 113, 92, 8 , 9 },
|
|
{ 129, 92, 4 , 4 },
|
|
{ 141, 92, 8 , 8 },
|
|
{ 157, 92, 8 , 10 },
|
|
{ 173, 92, 8 , 10 },
|
|
{ 189, 92, 8 , 10 },
|
|
{ 205, 92, 8 , 9 },
|
|
{ 221, 92, 8 , 10 },
|
|
{ 237, 92, 7 , 9 },
|
|
{ 252, 92, 7 , 9 },
|
|
{ 267, 92, 7 , 8 },
|
|
{ 282, 92, 7 , 8 },
|
|
{ 297, 92, 7 , 8 },
|
|
{ 312, 92, 7 , 8 },
|
|
{ 327, 92, 7 , 8 },
|
|
{ 342, 92, 7 , 9 },
|
|
{ 357, 92, 13 , 5 },
|
|
{ 378, 92, 7 , 7 },
|
|
{ 393, 92, 7 , 8 },
|
|
{ 408, 92, 7 , 8 },
|
|
{ 423, 92, 7 , 8 },
|
|
{ 438, 92, 7 , 8 },
|
|
{ 453, 92, 3 , 8 },
|
|
{ 464, 92, 2 , 8 },
|
|
{ 474, 92, 3 , 8 },
|
|
{ 485, 92, 3 , 8 },
|
|
{ 4, 114, 8 , 8 },
|
|
{ 20, 114, 7 , 8 },
|
|
{ 35, 114, 7 , 8 },
|
|
{ 50, 114, 7 , 8 },
|
|
{ 65, 114, 7 , 8 },
|
|
{ 80, 114, 7 , 8 },
|
|
{ 95, 114, 7 , 8 },
|
|
{ 110, 114, 5 , 6 },
|
|
{ 123, 114, 7 , 5 },
|
|
{ 138, 114, 7 , 8 },
|
|
{ 153, 114, 7 , 8 },
|
|
{ 168, 114, 7 , 8 },
|
|
{ 183, 114, 7 , 8 },
|
|
{ 198, 114, 7 , 10 },
|
|
{ 213, 114, 7 , 10 },
|
|
{ 228, 114, 7 , 10 },
|
|
};
|
|
|
|
// Font glyphs info data
|
|
// NOTE: No glyphs.image data provided
|
|
static const GlyphInfo cyberFontGlyphs[189] = {
|
|
{ 32, 0, 11, 4, { 0 }},
|
|
{ 33, 0, 3, 2, { 0 }},
|
|
{ 34, 0, 3, 4, { 0 }},
|
|
{ 35, 0, 3, 8, { 0 }},
|
|
{ 36, 0, 3, 8, { 0 }},
|
|
{ 37, 0, 3, 8, { 0 }},
|
|
{ 38, 0, 3, 8, { 0 }},
|
|
{ 39, 0, 3, 2, { 0 }},
|
|
{ 40, 0, 3, 4, { 0 }},
|
|
{ 41, 0, 3, 4, { 0 }},
|
|
{ 42, 0, 4, 6, { 0 }},
|
|
{ 43, 0, 4, 6, { 0 }},
|
|
{ 44, 0, 10, 3, { 0 }},
|
|
{ 45, 0, 7, 5, { 0 }},
|
|
{ 46, 0, 10, 2, { 0 }},
|
|
{ 47, 0, 3, 8, { 0 }},
|
|
{ 48, 0, 3, 8, { 0 }},
|
|
{ 49, 0, 3, 3, { 0 }},
|
|
{ 50, 0, 3, 8, { 0 }},
|
|
{ 51, 0, 3, 8, { 0 }},
|
|
{ 52, 0, 3, 8, { 0 }},
|
|
{ 53, 0, 3, 8, { 0 }},
|
|
{ 54, 0, 3, 8, { 0 }},
|
|
{ 55, 0, 3, 7, { 0 }},
|
|
{ 56, 0, 3, 8, { 0 }},
|
|
{ 57, 0, 3, 8, { 0 }},
|
|
{ 58, 0, 6, 2, { 0 }},
|
|
{ 59, 0, 6, 3, { 0 }},
|
|
{ 60, 0, 3, 5, { 0 }},
|
|
{ 61, 0, 6, 6, { 0 }},
|
|
{ 62, 0, 3, 5, { 0 }},
|
|
{ 63, 0, 3, 7, { 0 }},
|
|
{ 64, 0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0, 3, 2, { 0 }},
|
|
{ 106, -2, 3, 2, { 0 }},
|
|
{ 107, 0, 3, 7, { 0 }},
|
|
{ 108, 0, 3, 4, { 0 }},
|
|
{ 109, 0, 6, 10, { 0 }},
|
|
{ 110, 0, 6, 7, { 0 }},
|
|
{ 111, 0, 6, 7, { 0 }},
|
|
{ 112, 0, 6, 7, { 0 }},
|
|
{ 113, 0, 6, 7, { 0 }},
|
|
{ 114, 0, 6, 6, { 0 }},
|
|
{ 115, 0, 6, 7, { 0 }},
|
|
{ 116, 0, 3, 6, { 0 }},
|
|
{ 117, 0, 6, 7, { 0 }},
|
|
{ 118, 0, 6, 7, { 0 }},
|
|
{ 119, 0, 6, 10, { 0 }},
|
|
{ 120, 0, 6, 7, { 0 }},
|
|
{ 121, 0, 6, 7, { 0 }},
|
|
{ 122, 0, 6, 7, { 0 }},
|
|
{ 123, 0, 3, 5, { 0 }},
|
|
{ 124, 0, 3, 2, { 0 }},
|
|
{ 125, 0, 3, 5, { 0 }},
|
|
{ 126, 0, 6, 8, { 0 }},
|
|
{ 161, 0, 3, 2, { 0 }},
|
|
{ 162, 0, 4, 7, { 0 }},
|
|
{ 163, 0, 3, 7, { 0 }},
|
|
{ 8364, 0, 3, 9, { 0 }},
|
|
{ 165, 0, 3, 8, { 0 }},
|
|
{ 352, 0, 1, 8, { 0 }},
|
|
{ 167, 0, 4, 5, { 0 }},
|
|
{ 353, 0, 3, 7, { 0 }},
|
|
{ 169, 0, 3, 9, { 0 }},
|
|
{ 170, 0, 3, 7, { 0 }},
|
|
{ 171, 0, 6, 6, { 0 }},
|
|
{ 172, 0, 7, 6, { 0 }},
|
|
{ 174, 0, 3, 9, { 0 }},
|
|
{ 175, 0, 11, 3, { 0 }},
|
|
{ 176, 0, 3, 4, { 0 }},
|
|
{ 177, 0, 6, 8, { 0 }},
|
|
{ 178, 0, 3, 4, { 0 }},
|
|
{ 179, 0, 3, 4, { 0 }},
|
|
{ 381, 0, 1, 8, { 0 }},
|
|
{ 181, 0, 6, 7, { 0 }},
|
|
{ 182, 0, 4, 6, { 0 }},
|
|
{ 183, 0, 7, 2, { 0 }},
|
|
{ 382, 0, 3, 7, { 0 }},
|
|
{ 185, 0, 3, 4, { 0 }},
|
|
{ 186, 0, 3, 5, { 0 }},
|
|
{ 187, 0, 6, 6, { 0 }},
|
|
{ 338, 0, 3, 14, { 0 }},
|
|
{ 339, 0, 6, 13, { 0 }},
|
|
{ 376, 0, 2, 8, { 0 }},
|
|
{ 191, 0, 3, 7, { 0 }},
|
|
{ 192, 0, 1, 8, { 0 }},
|
|
{ 193, 0, 1, 8, { 0 }},
|
|
{ 194, 0, 1, 8, { 0 }},
|
|
{ 195, 0, 1, 8, { 0 }},
|
|
{ 196, 0, 2, 8, { 0 }},
|
|
{ 197, 0, -1, 8, { 0 }},
|
|
{ 198, 0, 3, 14, { 0 }},
|
|
{ 199, 0, 3, 8, { 0 }},
|
|
{ 200, 0, 1, 7, { 0 }},
|
|
{ 201, 0, 1, 7, { 0 }},
|
|
{ 202, 0, 1, 7, { 0 }},
|
|
{ 203, 0, 2, 7, { 0 }},
|
|
{ 204, 0, 1, 6, { 0 }},
|
|
{ 205, 0, 1, 6, { 0 }},
|
|
{ 206, 0, 1, 6, { 0 }},
|
|
{ 207, 0, 2, 6, { 0 }},
|
|
{ 208, 0, 3, 9, { 0 }},
|
|
{ 209, 0, 1, 8, { 0 }},
|
|
{ 210, 0, 1, 8, { 0 }},
|
|
{ 211, 0, 1, 8, { 0 }},
|
|
{ 212, 0, 1, 8, { 0 }},
|
|
{ 213, 0, 1, 8, { 0 }},
|
|
{ 214, 0, 2, 8, { 0 }},
|
|
{ 215, 1, 6, 6, { 0 }},
|
|
{ 216, 0, 3, 8, { 0 }},
|
|
{ 217, 0, 1, 8, { 0 }},
|
|
{ 218, 0, 1, 8, { 0 }},
|
|
{ 219, 0, 1, 8, { 0 }},
|
|
{ 220, 0, 2, 8, { 0 }},
|
|
{ 221, 0, 1, 8, { 0 }},
|
|
{ 222, 0, 3, 7, { 0 }},
|
|
{ 223, 0, 3, 7, { 0 }},
|
|
{ 224, 0, 3, 7, { 0 }},
|
|
{ 225, 0, 3, 7, { 0 }},
|
|
{ 226, 0, 3, 7, { 0 }},
|
|
{ 227, 0, 3, 7, { 0 }},
|
|
{ 228, 0, 3, 7, { 0 }},
|
|
{ 229, 0, 2, 7, { 0 }},
|
|
{ 230, 0, 6, 13, { 0 }},
|
|
{ 231, 0, 6, 7, { 0 }},
|
|
{ 232, 0, 3, 7, { 0 }},
|
|
{ 233, 0, 3, 7, { 0 }},
|
|
{ 234, 0, 3, 7, { 0 }},
|
|
{ 235, 0, 3, 7, { 0 }},
|
|
{ 236, -1, 3, 2, { 0 }},
|
|
{ 237, 0, 3, 2, { 0 }},
|
|
{ 238, -1, 3, 2, { 0 }},
|
|
{ 239, -1, 3, 2, { 0 }},
|
|
{ 240, 0, 3, 8, { 0 }},
|
|
{ 241, 0, 3, 7, { 0 }},
|
|
{ 242, 0, 3, 7, { 0 }},
|
|
{ 243, 0, 3, 7, { 0 }},
|
|
{ 244, 0, 3, 7, { 0 }},
|
|
{ 245, 0, 3, 7, { 0 }},
|
|
{ 246, 0, 3, 7, { 0 }},
|
|
{ 247, 0, 4, 6, { 0 }},
|
|
{ 248, 0, 6, 7, { 0 }},
|
|
{ 249, 0, 3, 7, { 0 }},
|
|
{ 250, 0, 3, 7, { 0 }},
|
|
{ 251, 0, 3, 7, { 0 }},
|
|
{ 252, 0, 3, 7, { 0 }},
|
|
{ 253, 0, 3, 7, { 0 }},
|
|
{ 254, 0, 3, 7, { 0 }},
|
|
{ 255, 0, 3, 7, { 0 }},
|
|
};
|
|
|
|
// Style loading function: Cyber
|
|
static void GuiLoadStyleCyber(void)
|
|
{
|
|
// Load style properties provided
|
|
// NOTE: Default properties are propagated
|
|
for (int i = 0; i < CYBER_STYLE_PROPS_COUNT; i++)
|
|
{
|
|
GuiSetStyle(cyberStyleProps[i].controlId, cyberStyleProps[i].propertyId, cyberStyleProps[i].propertyValue);
|
|
}
|
|
|
|
// Custom font loading
|
|
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
|
|
int cyberFontDataSize = 0;
|
|
unsigned char *data = DecompressData(cyberFontData, CYBER_STYLE_FONT_ATLAS_COMP_SIZE, &cyberFontDataSize);
|
|
Image imFont = { data, 512, 256, 1, 2 };
|
|
|
|
Font font = { 0 };
|
|
font.baseSize = 14;
|
|
font.glyphCount = 189;
|
|
|
|
// Load texture from image
|
|
font.texture = LoadTextureFromImage(imFont);
|
|
UnloadImage(imFont); // Uncompressed image data can be unloaded from memory
|
|
|
|
// Copy char recs data from global fontRecs
|
|
// NOTE: Required to avoid issues if trying to free font
|
|
font.recs = (Rectangle *)RAYGUI_MALLOC(font.glyphCount*sizeof(Rectangle));
|
|
memcpy(font.recs, cyberFontRecs, font.glyphCount*sizeof(Rectangle));
|
|
|
|
// Copy font char info data from global fontChars
|
|
// NOTE: Required to avoid issues if trying to free font
|
|
font.glyphs = (GlyphInfo *)RAYGUI_MALLOC(font.glyphCount*sizeof(GlyphInfo));
|
|
memcpy(font.glyphs, cyberFontGlyphs, font.glyphCount*sizeof(GlyphInfo));
|
|
|
|
GuiSetFont(font);
|
|
|
|
// Setup a white rectangle on the font to be used on shapes drawing,
|
|
// it makes possible to draw shapes and text (full UI) in a single draw call
|
|
Rectangle fontWhiteRec = { 510, 254, 1, 1 };
|
|
SetShapesTexture(font.texture, fontWhiteRec);
|
|
|
|
//-----------------------------------------------------------------
|
|
|
|
// TODO: Custom user style setup: Set specific properties here (if required)
|
|
// i.e. Controls specific BORDER_WIDTH, TEXT_PADDING, TEXT_ALIGNMENT
|
|
}
|