590 lines
28 KiB
C
590 lines
28 KiB
C
//////////////////////////////////////////////////////////////////////////////////
|
|
// //
|
|
// StyleAsCode exporter v2.0 - Style data exported as a values array //
|
|
// //
|
|
// USAGE: On init call: GuiLoadStyleCandy(); //
|
|
// //
|
|
// more info and bugs-report: github.com/raysan5/raygui //
|
|
// feedback and support: ray[at]raylibtech.com //
|
|
// //
|
|
// Copyright (c) 2020-2023 raylib technologies (@raylibtech) //
|
|
// //
|
|
//////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#define CANDY_STYLE_PROPS_COUNT 17
|
|
|
|
// Custom style name: Candy
|
|
static const GuiStyleProp candyStyleProps[CANDY_STYLE_PROPS_COUNT] = {
|
|
{ 0, 0, 0xe58b68ff }, // DEFAULT_BORDER_COLOR_NORMAL
|
|
{ 0, 1, 0xfeda96ff }, // DEFAULT_BASE_COLOR_NORMAL
|
|
{ 0, 2, 0xe59b5fff }, // DEFAULT_TEXT_COLOR_NORMAL
|
|
{ 0, 3, 0xee813fff }, // DEFAULT_BORDER_COLOR_FOCUSED
|
|
{ 0, 4, 0xfcd85bff }, // DEFAULT_BASE_COLOR_FOCUSED
|
|
{ 0, 5, 0xfc6955ff }, // DEFAULT_TEXT_COLOR_FOCUSED
|
|
{ 0, 6, 0xb34848ff }, // DEFAULT_BORDER_COLOR_PRESSED
|
|
{ 0, 7, 0xeb7272ff }, // DEFAULT_BASE_COLOR_PRESSED
|
|
{ 0, 8, 0xbd4a4aff }, // DEFAULT_TEXT_COLOR_PRESSED
|
|
{ 0, 9, 0x94795dff }, // DEFAULT_BORDER_COLOR_DISABLED
|
|
{ 0, 10, 0xc2a37aff }, // DEFAULT_BASE_COLOR_DISABLED
|
|
{ 0, 11, 0x9c8369ff }, // DEFAULT_TEXT_COLOR_DISABLED
|
|
{ 0, 16, 0x0000000f }, // DEFAULT_TEXT_SIZE
|
|
{ 0, 17, 0x00000000 }, // DEFAULT_TEXT_SPACING
|
|
{ 0, 18, 0xd77575ff }, // DEFAULT_LINE_COLOR
|
|
{ 0, 19, 0xfff5e1ff }, // DEFAULT_BACKGROUND_COLOR
|
|
{ 0, 20, 0x00000016 }, // DEFAULT_TEXT_LINE_SPACING
|
|
};
|
|
|
|
// WARNING: This style uses a custom font: "v5easter.ttf" (size: 15, spacing: 0)
|
|
|
|
#define CANDY_STYLE_FONT_ATLAS_COMP_SIZE 2260
|
|
|
|
// Font atlas image pixels data: DEFLATE compressed
|
|
static unsigned char candyFontData[CANDY_STYLE_FONT_ATLAS_COMP_SIZE] = { 0xed,
|
|
0xdd, 0x4d, 0x92, 0xd4, 0x38, 0x10, 0x06, 0x50, 0xdd, 0x80, 0xfb, 0xcc, 0x61, 0xe6, 0x4a, 0x73, 0x45, 0x8e, 0xc0, 0x86,
|
|
0x25, 0xa1, 0x89, 0x61, 0x88, 0x20, 0x80, 0x2e, 0x4b, 0x4a, 0xa5, 0x6c, 0xd9, 0xf5, 0x78, 0x1b, 0xa2, 0xdd, 0x5d, 0x55,
|
|
0xfe, 0xf9, 0x2c, 0xc9, 0x2e, 0xa5, 0x6b, 0x01, 0x00, 0x00, 0x00, 0xde, 0xdc, 0x7f, 0xff, 0xfe, 0xfc, 0x59, 0xf9, 0xe0,
|
|
0xa7, 0x3f, 0x7f, 0xb7, 0x7e, 0xb8, 0xf4, 0x68, 0x49, 0xfc, 0x2f, 0x8f, 0x3f, 0x49, 0xdf, 0x2b, 0x94, 0x83, 0x25, 0xed,
|
|
0xcf, 0xfc, 0xfb, 0xcf, 0x6a, 0xca, 0xbb, 0xbf, 0x7a, 0x9d, 0xd6, 0x27, 0x8a, 0x2c, 0x3b, 0x7a, 0xd5, 0x7a, 0xb0, 0x4e,
|
|
0xa5, 0x63, 0x49, 0x0d, 0xad, 0x5d, 0x9d, 0xde, 0xab, 0x63, 0x7b, 0xa7, 0xbd, 0xfe, 0x65, 0x78, 0x1d, 0xcb, 0x82, 0x65,
|
|
0x75, 0x72, 0x1f, 0xaf, 0xcc, 0xff, 0xef, 0xff, 0x32,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90, 0x3d,
|
|
0xb7, 0x71, 0xaf, 0x7a, 0xdc, 0x40, 0xee, 0xfc, 0x7f, 0xf9, 0x07, 0xf9, 0x97, 0x7f, 0x90, 0x7f, 0xf9, 0x07, 0xf9, 0xff,
|
|
0xf9, 0x97, 0x55, 0xfe, 0xe1, 0xe6, 0xf9, 0xaf, 0x4b, 0x6a, 0x9b, 0x03, 0x77, 0x39, 0x03, 0x44, 0xf2, 0x5f, 0xf4, 0xff,
|
|
0xe1, 0xb1, 0xdf, 0x01, 0x30, 0xfe, 0x07, 0xe3, 0x7f, 0xf9, 0x87, 0x77, 0xcc, 0x7f, 0xeb, 0xfb, 0xbf, 0x46, 0xff, 0xf0,
|
|
0x8c, 0xf1, 0xbf, 0x2d, 0x01, 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, 0xbc, 0xf2, 0xff, 0x3f, 0xdb, 0x01, 0xe4, 0x1f, 0x78, 0xbb, 0xfc, 0xff, 0x0b };
|
|
|
|
// Font glyphs rectangles data (on atlas)
|
|
static const Rectangle candyFontRecs[189] = {
|
|
{ 4, 4, 3 , 15 },
|
|
{ 15, 4, 2 , 9 },
|
|
{ 25, 4, 3 , 2 },
|
|
{ 36, 4, 8 , 9 },
|
|
{ 52, 4, 6 , 11 },
|
|
{ 66, 4, 7 , 9 },
|
|
{ 81, 4, 7 , 9 },
|
|
{ 96, 4, 1 , 2 },
|
|
{ 105, 4, 3 , 11 },
|
|
{ 116, 4, 3 , 11 },
|
|
{ 127, 4, 7 , 7 },
|
|
{ 142, 4, 6 , 5 },
|
|
{ 156, 4, 2 , 3 },
|
|
{ 166, 4, 5 , 1 },
|
|
{ 179, 4, 2 , 2 },
|
|
{ 189, 4, 5 , 10 },
|
|
{ 202, 4, 6 , 9 },
|
|
{ 216, 4, 4 , 9 },
|
|
{ 228, 4, 6 , 9 },
|
|
{ 242, 4, 6 , 9 },
|
|
{ 256, 4, 7 , 9 },
|
|
{ 271, 4, 6 , 9 },
|
|
{ 285, 4, 6 , 9 },
|
|
{ 299, 4, 6 , 9 },
|
|
{ 313, 4, 6 , 9 },
|
|
{ 327, 4, 6 , 9 },
|
|
{ 341, 4, 2 , 6 },
|
|
{ 351, 4, 2 , 7 },
|
|
{ 361, 4, 4 , 6 },
|
|
{ 373, 4, 5 , 3 },
|
|
{ 386, 4, 4 , 6 },
|
|
{ 398, 4, 6 , 9 },
|
|
{ 412, 4, 8 , 7 },
|
|
{ 428, 4, 6 , 9 },
|
|
{ 442, 4, 6 , 9 },
|
|
{ 456, 4, 6 , 9 },
|
|
{ 470, 4, 6 , 9 },
|
|
{ 484, 4, 6 , 9 },
|
|
{ 4, 27, 6 , 9 },
|
|
{ 18, 27, 6 , 9 },
|
|
{ 32, 27, 6 , 9 },
|
|
{ 46, 27, 2 , 9 },
|
|
{ 56, 27, 6 , 9 },
|
|
{ 70, 27, 6 , 9 },
|
|
{ 84, 27, 6 , 9 },
|
|
{ 98, 27, 8 , 9 },
|
|
{ 114, 27, 6 , 9 },
|
|
{ 128, 27, 6 , 9 },
|
|
{ 142, 27, 6 , 9 },
|
|
{ 156, 27, 6 , 9 },
|
|
{ 170, 27, 6 , 9 },
|
|
{ 184, 27, 6 , 9 },
|
|
{ 198, 27, 6 , 9 },
|
|
{ 212, 27, 6 , 9 },
|
|
{ 226, 27, 6 , 9 },
|
|
{ 240, 27, 8 , 9 },
|
|
{ 256, 27, 6 , 9 },
|
|
{ 270, 27, 6 , 9 },
|
|
{ 284, 27, 6 , 9 },
|
|
{ 298, 27, 3 , 11 },
|
|
{ 309, 27, 5 , 10 },
|
|
{ 322, 27, 3 , 11 },
|
|
{ 333, 27, 6 , 4 },
|
|
{ 347, 27, 6 , 1 },
|
|
{ 361, 27, 3 , 2 },
|
|
{ 372, 27, 6 , 7 },
|
|
{ 386, 27, 6 , 10 },
|
|
{ 400, 27, 6 , 7 },
|
|
{ 414, 27, 6 , 10 },
|
|
{ 428, 27, 6 , 7 },
|
|
{ 442, 27, 5 , 10 },
|
|
{ 455, 27, 7 , 10 },
|
|
{ 470, 27, 6 , 10 },
|
|
{ 484, 27, 2 , 10 },
|
|
{ 494, 27, 2 , 12 },
|
|
{ 4, 50, 6 , 10 },
|
|
{ 18, 50, 3 , 10 },
|
|
{ 29, 50, 8 , 7 },
|
|
{ 45, 50, 6 , 7 },
|
|
{ 59, 50, 6 , 7 },
|
|
{ 73, 50, 6 , 10 },
|
|
{ 87, 50, 6 , 10 },
|
|
{ 101, 50, 6 , 7 },
|
|
{ 115, 50, 6 , 7 },
|
|
{ 129, 50, 3 , 10 },
|
|
{ 140, 50, 6 , 7 },
|
|
{ 154, 50, 6 , 7 },
|
|
{ 168, 50, 8 , 7 },
|
|
{ 184, 50, 6 , 7 },
|
|
{ 198, 50, 6 , 10 },
|
|
{ 212, 50, 6 , 7 },
|
|
{ 226, 50, 4 , 11 },
|
|
{ 238, 50, 1 , 11 },
|
|
{ 247, 50, 4 , 11 },
|
|
{ 259, 50, 6 , 2 },
|
|
{ 273, 50, 2 , 10 },
|
|
{ 283, 50, 6 , 11 },
|
|
{ 297, 50, 8 , 9 },
|
|
{ 313, 50, 7 , 9 },
|
|
{ 328, 50, 6 , 9 },
|
|
{ 342, 50, 0 , 0 },
|
|
{ 350, 50, 6 , 11 },
|
|
{ 364, 50, 0 , 0 },
|
|
{ 372, 50, 8 , 8 },
|
|
{ 388, 50, 5 , 7 },
|
|
{ 401, 50, 7 , 6 },
|
|
{ 416, 50, 7 , 12 },
|
|
{ 431, 50, 8 , 8 },
|
|
{ 447, 50, 6 , 1 },
|
|
{ 461, 50, 4 , 5 },
|
|
{ 473, 50, 6 , 7 },
|
|
{ 487, 50, 3 , 5 },
|
|
{ 498, 50, 3 , 5 },
|
|
{ 4, 73, 0 , 0 },
|
|
{ 12, 73, 6 , 9 },
|
|
{ 26, 73, 6 , 9 },
|
|
{ 40, 73, 4 , 4 },
|
|
{ 52, 73, 0 , 0 },
|
|
{ 60, 73, 2 , 5 },
|
|
{ 70, 73, 4 , 7 },
|
|
{ 82, 73, 7 , 6 },
|
|
{ 97, 73, 10 , 9 },
|
|
{ 115, 73, 10 , 7 },
|
|
{ 133, 73, 0 , 0 },
|
|
{ 141, 73, 6 , 9 },
|
|
{ 155, 73, 6 , 12 },
|
|
{ 169, 73, 6 , 12 },
|
|
{ 183, 73, 6 , 12 },
|
|
{ 197, 73, 6 , 12 },
|
|
{ 211, 73, 6 , 11 },
|
|
{ 225, 73, 6 , 12 },
|
|
{ 239, 73, 10 , 9 },
|
|
{ 257, 73, 6 , 12 },
|
|
{ 271, 73, 6 , 12 },
|
|
{ 285, 73, 6 , 12 },
|
|
{ 299, 73, 6 , 12 },
|
|
{ 313, 73, 6 , 11 },
|
|
{ 327, 73, 3 , 12 },
|
|
{ 338, 73, 3 , 12 },
|
|
{ 349, 73, 4 , 12 },
|
|
{ 361, 73, 4 , 11 },
|
|
{ 373, 73, 8 , 9 },
|
|
{ 389, 73, 6 , 12 },
|
|
{ 403, 73, 6 , 12 },
|
|
{ 417, 73, 6 , 12 },
|
|
{ 431, 73, 6 , 12 },
|
|
{ 445, 73, 6 , 12 },
|
|
{ 459, 73, 6 , 11 },
|
|
{ 473, 73, 5 , 5 },
|
|
{ 486, 73, 9 , 10 },
|
|
{ 4, 96, 6 , 12 },
|
|
{ 18, 96, 6 , 12 },
|
|
{ 32, 96, 6 , 12 },
|
|
{ 46, 96, 6 , 11 },
|
|
{ 60, 96, 6 , 12 },
|
|
{ 74, 96, 7 , 12 },
|
|
{ 89, 96, 6 , 10 },
|
|
{ 103, 96, 6 , 10 },
|
|
{ 117, 96, 6 , 10 },
|
|
{ 131, 96, 6 , 10 },
|
|
{ 145, 96, 6 , 10 },
|
|
{ 159, 96, 6 , 9 },
|
|
{ 173, 96, 6 , 11 },
|
|
{ 187, 96, 10 , 7 },
|
|
{ 205, 96, 6 , 10 },
|
|
{ 219, 96, 6 , 10 },
|
|
{ 233, 96, 6 , 10 },
|
|
{ 247, 96, 6 , 10 },
|
|
{ 261, 96, 6 , 9 },
|
|
{ 275, 96, 3 , 10 },
|
|
{ 286, 96, 3 , 10 },
|
|
{ 297, 96, 4 , 10 },
|
|
{ 309, 96, 4 , 9 },
|
|
{ 321, 96, 7 , 12 },
|
|
{ 336, 96, 6 , 13 },
|
|
{ 350, 96, 6 , 10 },
|
|
{ 364, 96, 6 , 10 },
|
|
{ 378, 96, 6 , 10 },
|
|
{ 392, 96, 6 , 10 },
|
|
{ 406, 96, 6 , 9 },
|
|
{ 420, 96, 7 , 12 },
|
|
{ 435, 96, 8 , 8 },
|
|
{ 451, 96, 6 , 10 },
|
|
{ 465, 96, 6 , 10 },
|
|
{ 479, 96, 6 , 10 },
|
|
{ 493, 96, 6 , 9 },
|
|
{ 4, 119, 6 , 13 },
|
|
{ 18, 119, 7 , 12 },
|
|
{ 33, 119, 6 , 12 },
|
|
};
|
|
|
|
// Font glyphs info data
|
|
// NOTE: No glyphs.image data provided
|
|
static const GlyphInfo candyFontGlyphs[189] = {
|
|
{ 32, 0, 12, 3, { 0 }},
|
|
{ 33, 0, 3, 3, { 0 }},
|
|
{ 34, 0, 2, 4, { 0 }},
|
|
{ 35, 0, 3, 9, { 0 }},
|
|
{ 36, 0, 2, 7, { 0 }},
|
|
{ 37, 0, 3, 8, { 0 }},
|
|
{ 38, 0, 3, 8, { 0 }},
|
|
{ 39, 0, 2, 2, { 0 }},
|
|
{ 40, 1, 2, 5, { 0 }},
|
|
{ 41, 1, 2, 5, { 0 }},
|
|
{ 42, 0, 4, 8, { 0 }},
|
|
{ 43, 0, 6, 7, { 0 }},
|
|
{ 44, 0, 10, 3, { 0 }},
|
|
{ 45, 0, 7, 6, { 0 }},
|
|
{ 46, 0, 10, 3, { 0 }},
|
|
{ 47, 1, 3, 7, { 0 }},
|
|
{ 48, 0, 3, 7, { 0 }},
|
|
{ 49, 0, 3, 5, { 0 }},
|
|
{ 50, 0, 3, 7, { 0 }},
|
|
{ 51, 0, 3, 7, { 0 }},
|
|
{ 52, 0, 3, 8, { 0 }},
|
|
{ 53, 0, 3, 7, { 0 }},
|
|
{ 54, 0, 3, 7, { 0 }},
|
|
{ 55, 0, 3, 7, { 0 }},
|
|
{ 56, 0, 3, 7, { 0 }},
|
|
{ 57, 0, 3, 7, { 0 }},
|
|
{ 58, 0, 6, 3, { 0 }},
|
|
{ 59, 0, 6, 3, { 0 }},
|
|
{ 60, 1, 5, 6, { 0 }},
|
|
{ 61, 1, 7, 7, { 0 }},
|
|
{ 62, 1, 5, 6, { 0 }},
|
|
{ 63, 0, 3, 7, { 0 }},
|
|
{ 64, 0, 4, 9, { 0 }},
|
|
{ 65, 0, 3, 7, { 0 }},
|
|
{ 66, 0, 3, 7, { 0 }},
|
|
{ 67, 0, 3, 7, { 0 }},
|
|
{ 68, 0, 3, 7, { 0 }},
|
|
{ 69, 0, 3, 7, { 0 }},
|
|
{ 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 111, 0, 5, 7, { 0 }},
|
|
{ 112, 0, 5, 7, { 0 }},
|
|
{ 113, 0, 5, 7, { 0 }},
|
|
{ 114, 0, 5, 7, { 0 }},
|
|
{ 115, 0, 5, 7, { 0 }},
|
|
{ 116, 0, 2, 4, { 0 }},
|
|
{ 117, 0, 5, 7, { 0 }},
|
|
{ 118, 0, 5, 7, { 0 }},
|
|
{ 119, 0, 5, 9, { 0 }},
|
|
{ 120, 0, 5, 7, { 0 }},
|
|
{ 121, 0, 5, 7, { 0 }},
|
|
{ 122, 0, 5, 7, { 0 }},
|
|
{ 123, 1, 2, 6, { 0 }},
|
|
{ 124, 1, 2, 3, { 0 }},
|
|
{ 125, 1, 2, 6, { 0 }},
|
|
{ 126, 0, 0, 7, { 0 }},
|
|
{ 161, 0, 3, 3, { 0 }},
|
|
{ 162, 0, 2, 7, { 0 }},
|
|
{ 163, 0, 3, 9, { 0 }},
|
|
{ 8364, 0, 3, 8, { 0 }},
|
|
{ 165, 0, 3, 7, { 0 }},
|
|
{ 352, 0, 12, 1, { 0 }},
|
|
{ 167, 0, 2, 7, { 0 }},
|
|
{ 353, 0, 12, 1, { 0 }},
|
|
{ 169, 0, 0, 9, { 0 }},
|
|
{ 170, 0, 0, 6, { 0 }},
|
|
{ 171, 1, 5, 9, { 0 }},
|
|
{ 172, 0, 0, 7, { 0 }},
|
|
{ 174, 0, 0, 9, { 0 }},
|
|
{ 175, 0, 0, 7, { 0 }},
|
|
{ 176, 0, 0, 5, { 0 }},
|
|
{ 177, 0, 4, 7, { 0 }},
|
|
{ 178, 0, 0, 4, { 0 }},
|
|
{ 179, 0, 0, 4, { 0 }},
|
|
{ 381, 0, 12, 1, { 0 }},
|
|
{ 181, 0, 5, 7, { 0 }},
|
|
{ 182, 0, 3, 7, { 0 }},
|
|
{ 183, 0, 6, 5, { 0 }},
|
|
{ 382, 0, 12, 1, { 0 }},
|
|
{ 185, 0, 0, 3, { 0 }},
|
|
{ 186, 0, 0, 5, { 0 }},
|
|
{ 187, 1, 5, 9, { 0 }},
|
|
{ 338, 0, 3, 11, { 0 }},
|
|
{ 339, 0, 5, 11, { 0 }},
|
|
{ 376, 0, 12, 1, { 0 }},
|
|
{ 191, 0, 4, 7, { 0 }},
|
|
{ 192, 0, 0, 7, { 0 }},
|
|
{ 193, 0, 0, 7, { 0 }},
|
|
{ 194, 0, 0, 7, { 0 }},
|
|
{ 195, 0, 0, 7, { 0 }},
|
|
{ 196, 0, 1, 7, { 0 }},
|
|
{ 197, 0, 0, 7, { 0 }},
|
|
{ 198, 0, 3, 11, { 0 }},
|
|
{ 199, 0, 3, 7, { 0 }},
|
|
{ 200, 0, 0, 7, { 0 }},
|
|
{ 201, 0, 0, 7, { 0 }},
|
|
{ 202, 0, 0, 7, { 0 }},
|
|
{ 203, 0, 1, 7, { 0 }},
|
|
{ 204, -1, 0, 3, { 0 }},
|
|
{ 205, 0, 0, 3, { 0 }},
|
|
{ 206, -1, 0, 3, { 0 }},
|
|
{ 207, -1, 1, 3, { 0 }},
|
|
{ 208, 0, 3, 9, { 0 }},
|
|
{ 209, 0, 0, 7, { 0 }},
|
|
{ 210, 0, 0, 7, { 0 }},
|
|
{ 211, 0, 0, 7, { 0 }},
|
|
{ 212, 0, 0, 7, { 0 }},
|
|
{ 213, 0, 0, 7, { 0 }},
|
|
{ 214, 0, 1, 7, { 0 }},
|
|
{ 215, 0, 7, 6, { 0 }},
|
|
{ 216, 0, 3, 10, { 0 }},
|
|
{ 217, 0, 0, 7, { 0 }},
|
|
{ 218, 0, 0, 7, { 0 }},
|
|
{ 219, 0, 0, 7, { 0 }},
|
|
{ 220, 0, 1, 7, { 0 }},
|
|
{ 221, 0, 0, 7, { 0 }},
|
|
{ 222, 0, 0, 7, { 0 }},
|
|
{ 223, 0, 3, 7, { 0 }},
|
|
{ 224, 0, 2, 7, { 0 }},
|
|
{ 225, 0, 2, 7, { 0 }},
|
|
{ 226, 0, 2, 7, { 0 }},
|
|
{ 227, 0, 2, 7, { 0 }},
|
|
{ 228, 0, 3, 7, { 0 }},
|
|
{ 229, 0, 1, 7, { 0 }},
|
|
{ 230, 0, 5, 11, { 0 }},
|
|
{ 231, 0, 5, 7, { 0 }},
|
|
{ 232, 0, 2, 7, { 0 }},
|
|
{ 233, 0, 2, 7, { 0 }},
|
|
{ 234, 0, 2, 7, { 0 }},
|
|
{ 235, 0, 3, 7, { 0 }},
|
|
{ 236, 0, 2, 4, { 0 }},
|
|
{ 237, 0, 2, 4, { 0 }},
|
|
{ 238, 0, 2, 4, { 0 }},
|
|
{ 239, 0, 3, 4, { 0 }},
|
|
{ 240, 0, 0, 7, { 0 }},
|
|
{ 241, 0, 2, 7, { 0 }},
|
|
{ 242, 0, 2, 7, { 0 }},
|
|
{ 243, 0, 2, 7, { 0 }},
|
|
{ 244, 0, 2, 7, { 0 }},
|
|
{ 245, 0, 2, 7, { 0 }},
|
|
{ 246, 0, 3, 7, { 0 }},
|
|
{ 247, 0, 0, 7, { 0 }},
|
|
{ 248, 0, 5, 9, { 0 }},
|
|
{ 249, 0, 2, 7, { 0 }},
|
|
{ 250, 0, 2, 7, { 0 }},
|
|
{ 251, 0, 2, 7, { 0 }},
|
|
{ 252, 0, 3, 7, { 0 }},
|
|
{ 253, 0, 2, 7, { 0 }},
|
|
{ 254, 0, 0, 7, { 0 }},
|
|
{ 255, 0, 3, 7, { 0 }},
|
|
};
|
|
|
|
// Style loading function: Candy
|
|
static void GuiLoadStyleCandy(void)
|
|
{
|
|
// Load style properties provided
|
|
// NOTE: Default properties are propagated
|
|
for (int i = 0; i < CANDY_STYLE_PROPS_COUNT; i++)
|
|
{
|
|
GuiSetStyle(candyStyleProps[i].controlId, candyStyleProps[i].propertyId, candyStyleProps[i].propertyValue);
|
|
}
|
|
|
|
// Custom font loading
|
|
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
|
|
int candyFontDataSize = 0;
|
|
unsigned char *data = DecompressData(candyFontData, CANDY_STYLE_FONT_ATLAS_COMP_SIZE, &candyFontDataSize);
|
|
Image imFont = { data, 512, 256, 1, 2 };
|
|
|
|
Font font = { 0 };
|
|
font.baseSize = 15;
|
|
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, candyFontRecs, 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, candyFontGlyphs, 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
|
|
}
|