618 lines
31 KiB
C
618 lines
31 KiB
C
//////////////////////////////////////////////////////////////////////////////////
|
|
// //
|
|
// StyleAsCode exporter v2.0 - Style data exported as a values array //
|
|
// //
|
|
// USAGE: On init call: GuiLoadStyleCherry(); //
|
|
// //
|
|
// more info and bugs-report: github.com/raysan5/raygui //
|
|
// feedback and support: ray[at]raylibtech.com //
|
|
// //
|
|
// Copyright (c) 2020-2023 raylib technologies (@raylibtech) //
|
|
// //
|
|
//////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#define CHERRY_STYLE_PROPS_COUNT 17
|
|
|
|
// Custom style name: Cherry
|
|
static const GuiStyleProp cherryStyleProps[CHERRY_STYLE_PROPS_COUNT] = {
|
|
{ 0, 0, 0xda5757ff }, // DEFAULT_BORDER_COLOR_NORMAL
|
|
{ 0, 1, 0x753233ff }, // DEFAULT_BASE_COLOR_NORMAL
|
|
{ 0, 2, 0xe17373ff }, // DEFAULT_TEXT_COLOR_NORMAL
|
|
{ 0, 3, 0xfaaa97ff }, // DEFAULT_BORDER_COLOR_FOCUSED
|
|
{ 0, 4, 0xe06262ff }, // DEFAULT_BASE_COLOR_FOCUSED
|
|
{ 0, 5, 0xfdb4aaff }, // DEFAULT_TEXT_COLOR_FOCUSED
|
|
{ 0, 6, 0xe03c46ff }, // DEFAULT_BORDER_COLOR_PRESSED
|
|
{ 0, 7, 0x5b1e20ff }, // DEFAULT_BASE_COLOR_PRESSED
|
|
{ 0, 8, 0xc2474fff }, // DEFAULT_TEXT_COLOR_PRESSED
|
|
{ 0, 9, 0xa19292ff }, // DEFAULT_BORDER_COLOR_DISABLED
|
|
{ 0, 10, 0x706060ff }, // DEFAULT_BASE_COLOR_DISABLED
|
|
{ 0, 11, 0x9e8585ff }, // DEFAULT_TEXT_COLOR_DISABLED
|
|
{ 0, 16, 0x0000000f }, // DEFAULT_TEXT_SIZE
|
|
{ 0, 17, 0x00000000 }, // DEFAULT_TEXT_SPACING
|
|
{ 0, 18, 0xfb8170ff }, // DEFAULT_LINE_COLOR
|
|
{ 0, 19, 0x3a1720ff }, // DEFAULT_BACKGROUND_COLOR
|
|
{ 0, 20, 0x00000016 }, // DEFAULT_TEXT_LINE_SPACING
|
|
};
|
|
|
|
// WARNING: This style uses a custom font: "Westington.ttf" (size: 15, spacing: 0)
|
|
|
|
#define CHERRY_STYLE_FONT_ATLAS_COMP_SIZE 2821
|
|
|
|
// Font atlas image pixels data: DEFLATE compressed
|
|
static unsigned char cherryFontData[CHERRY_STYLE_FONT_ATLAS_COMP_SIZE] = { 0xed,
|
|
0xdd, 0x59, 0x92, 0xdc, 0xba, 0x11, 0x05, 0x50, 0xee, 0x7f, 0xd3, 0xd7, 0xe1, 0x70, 0x84, 0xed, 0x27, 0xa9, 0x09, 0x20,
|
|
0x91, 0x20, 0xab, 0x5b, 0x47, 0xe7, 0xaf, 0xa1, 0x1a, 0x38, 0x24, 0x26, 0x16, 0x12, 0xb9, 0x00, 0x00, 0x00, 0x00, 0xf2,
|
|
0xef, 0x7f, 0x5f, 0xfd, 0xf5, 0xcf, 0x65, 0xff, 0xff, 0xaa, 0xdc, 0xbe, 0x73, 0xfd, 0xb3, 0xb3, 0xf8, 0xae, 0x59, 0xf8,
|
|
0x7f, 0xf9, 0xf2, 0xbb, 0x64, 0xfa, 0x33, 0xd7, 0x8f, 0x7b, 0xfd, 0x58, 0xef, 0xce, 0xfd, 0xfa, 0x31, 0x5c, 0x37, 0x9f,
|
|
0xbf, 0xf6, 0xdd, 0x2a, 0xaf, 0xb9, 0x2f, 0x59, 0xbf, 0x7b, 0x3a, 0xae, 0xc8, 0xdc, 0x35, 0xb8, 0x3f, 0xa7, 0xd7, 0xf0,
|
|
0x95, 0xeb, 0xef, 0x9c, 0xe1, 0x59, 0x1c, 0x7f, 0xab, 0xb5, 0x1a, 0xe0, 0xeb, 0xbf, 0x8e, 0xee, 0xa6, 0x14, 0xee, 0xab,
|
|
0xff, 0xbd, 0x22, 0x8b, 0x65, 0xa3, 0xd7, 0xec, 0xdd, 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, 0x19, 0xe6, 0x32, 0xea, 0x2e, 0xbd, 0x26, 0xb2,
|
|
0x0b, 0x5c, 0x85, 0xfc, 0x55, 0xd1, 0x47, 0x80, 0xa5, 0xf8, 0x9f, 0xc9, 0xc8, 0xfd, 0x49, 0xa5, 0x29, 0xef, 0x3e, 0x06,
|
|
0xfc, 0x79, 0x94, 0xfd, 0xbd, 0xe2, 0x7f, 0x27, 0x7f, 0x3d, 0xf0, 0x7e, 0xfc, 0xa7, 0x58, 0x5a, 0xcf, 0x15, 0x0b, 0xfc,
|
|
0xda, 0xfb, 0x9f, 0x99, 0xfd, 0x4f, 0x7b, 0xe9, 0xd5, 0xb0, 0xc7, 0x44, 0xf5, 0xa9, 0x24, 0xd0, 0xf1, 0x7c, 0x70, 0xa7,
|
|
0xb4, 0xfe, 0x9b, 0x84, 0x99, 0xe7, 0x19, 0xae, 0x1c, 0x7c, 0xff, 0xe7, 0x92, 0xb5, 0xfa, 0xca, 0x19, 0x84, 0xef, 0xdf,
|
|
0xef, 0x70, 0x1e, 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, 0xe0, 0x79, 0xff, 0xf9, 0xe7, 0x3c, 0x80, 0xf8, 0x07, 0xfe, 0xba, 0xf8, 0xff, 0x17 };
|
|
|
|
// Font glyphs rectangles data (on atlas)
|
|
static const Rectangle cherryFontRecs[189] = {
|
|
{ 4, 4, 5 , 15 },
|
|
{ 17, 4, 3 , 10 },
|
|
{ 28, 4, 5 , 2 },
|
|
{ 41, 4, 10 , 10 },
|
|
{ 59, 4, 7 , 11 },
|
|
{ 74, 4, 7 , 10 },
|
|
{ 89, 4, 8 , 10 },
|
|
{ 105, 4, 1 , 2 },
|
|
{ 114, 4, 3 , 10 },
|
|
{ 125, 4, 3 , 10 },
|
|
{ 136, 4, 3 , 3 },
|
|
{ 147, 4, 7 , 7 },
|
|
{ 162, 4, 2 , 2 },
|
|
{ 172, 4, 6 , 3 },
|
|
{ 186, 4, 1 , 1 },
|
|
{ 195, 4, 4 , 10 },
|
|
{ 207, 4, 5 , 8 },
|
|
{ 220, 4, 5 , 8 },
|
|
{ 233, 4, 5 , 8 },
|
|
{ 246, 4, 5 , 8 },
|
|
{ 259, 4, 5 , 8 },
|
|
{ 272, 4, 5 , 8 },
|
|
{ 285, 4, 5 , 8 },
|
|
{ 298, 4, 5 , 8 },
|
|
{ 311, 4, 5 , 8 },
|
|
{ 324, 4, 5 , 8 },
|
|
{ 337, 4, 3 , 10 },
|
|
{ 348, 4, 3 , 12 },
|
|
{ 359, 4, 6 , 7 },
|
|
{ 373, 4, 6 , 4 },
|
|
{ 387, 4, 6 , 7 },
|
|
{ 401, 4, 5 , 10 },
|
|
{ 414, 4, 8 , 10 },
|
|
{ 430, 4, 7 , 9 },
|
|
{ 445, 4, 7 , 9 },
|
|
{ 460, 4, 6 , 9 },
|
|
{ 474, 4, 6 , 9 },
|
|
{ 488, 4, 7 , 9 },
|
|
{ 4, 27, 6 , 9 },
|
|
{ 18, 27, 6 , 9 },
|
|
{ 32, 27, 7 , 9 },
|
|
{ 47, 27, 3 , 9 },
|
|
{ 58, 27, 6 , 9 },
|
|
{ 72, 27, 7 , 9 },
|
|
{ 87, 27, 7 , 9 },
|
|
{ 102, 27, 11 , 9 },
|
|
{ 121, 27, 8 , 9 },
|
|
{ 137, 27, 6 , 9 },
|
|
{ 151, 27, 6 , 9 },
|
|
{ 165, 27, 7 , 9 },
|
|
{ 180, 27, 7 , 9 },
|
|
{ 195, 27, 6 , 9 },
|
|
{ 209, 27, 7 , 9 },
|
|
{ 224, 27, 8 , 9 },
|
|
{ 240, 27, 9 , 9 },
|
|
{ 257, 27, 11 , 9 },
|
|
{ 276, 27, 7 , 9 },
|
|
{ 291, 27, 7 , 9 },
|
|
{ 306, 27, 7 , 9 },
|
|
{ 321, 27, 3 , 9 },
|
|
{ 332, 27, 4 , 10 },
|
|
{ 344, 27, 3 , 9 },
|
|
{ 355, 27, 3 , 3 },
|
|
{ 366, 27, 7 , 2 },
|
|
{ 381, 27, 2 , 2 },
|
|
{ 391, 27, 6 , 6 },
|
|
{ 405, 27, 6 , 9 },
|
|
{ 419, 27, 6 , 6 },
|
|
{ 433, 27, 6 , 9 },
|
|
{ 447, 27, 6 , 6 },
|
|
{ 461, 27, 5 , 9 },
|
|
{ 474, 27, 5 , 9 },
|
|
{ 487, 27, 7 , 9 },
|
|
{ 4, 50, 3 , 7 },
|
|
{ 15, 50, 3 , 8 },
|
|
{ 26, 50, 6 , 9 },
|
|
{ 40, 50, 4 , 9 },
|
|
{ 52, 50, 11 , 6 },
|
|
{ 71, 50, 7 , 6 },
|
|
{ 86, 50, 5 , 6 },
|
|
{ 99, 50, 6 , 8 },
|
|
{ 113, 50, 6 , 8 },
|
|
{ 127, 50, 5 , 6 },
|
|
{ 140, 50, 5 , 6 },
|
|
{ 153, 50, 5 , 9 },
|
|
{ 166, 50, 7 , 6 },
|
|
{ 181, 50, 7 , 6 },
|
|
{ 196, 50, 11 , 6 },
|
|
{ 215, 50, 7 , 6 },
|
|
{ 230, 50, 7 , 8 },
|
|
{ 245, 50, 6 , 6 },
|
|
{ 259, 50, 5 , 9 },
|
|
{ 272, 50, 1 , 9 },
|
|
{ 281, 50, 5 , 9 },
|
|
{ 294, 50, 7 , 3 },
|
|
{ 309, 50, 3 , 10 },
|
|
{ 320, 50, 7 , 10 },
|
|
{ 335, 50, 7 , 10 },
|
|
{ 350, 50, 6 , 9 },
|
|
{ 364, 50, 7 , 9 },
|
|
{ 379, 50, 6 , 12 },
|
|
{ 393, 50, 7 , 11 },
|
|
{ 408, 50, 5 , 9 },
|
|
{ 421, 50, 5 , 5 },
|
|
{ 434, 50, 4 , 5 },
|
|
{ 446, 50, 6 , 7 },
|
|
{ 460, 50, 6 , 3 },
|
|
{ 474, 50, 5 , 5 },
|
|
{ 487, 50, 6 , 1 },
|
|
{ 4, 73, 3 , 3 },
|
|
{ 15, 73, 7 , 10 },
|
|
{ 30, 73, 3 , 5 },
|
|
{ 41, 73, 3 , 5 },
|
|
{ 52, 73, 7 , 12 },
|
|
{ 67, 73, 6 , 8 },
|
|
{ 81, 73, 7 , 9 },
|
|
{ 96, 73, 2 , 3 },
|
|
{ 106, 73, 6 , 9 },
|
|
{ 120, 73, 3 , 5 },
|
|
{ 131, 73, 3 , 5 },
|
|
{ 142, 73, 6 , 7 },
|
|
{ 156, 73, 13 , 9 },
|
|
{ 177, 73, 10 , 6 },
|
|
{ 195, 73, 7 , 11 },
|
|
{ 210, 73, 5 , 10 },
|
|
{ 223, 73, 7 , 12 },
|
|
{ 238, 73, 7 , 12 },
|
|
{ 253, 73, 7 , 12 },
|
|
{ 268, 73, 7 , 12 },
|
|
{ 283, 73, 7 , 11 },
|
|
{ 298, 73, 7 , 11 },
|
|
{ 313, 73, 12 , 9 },
|
|
{ 333, 73, 6 , 11 },
|
|
{ 347, 73, 7 , 12 },
|
|
{ 362, 73, 7 , 12 },
|
|
{ 377, 73, 7 , 12 },
|
|
{ 392, 73, 7 , 11 },
|
|
{ 407, 73, 3 , 12 },
|
|
{ 418, 73, 3 , 12 },
|
|
{ 429, 73, 3 , 12 },
|
|
{ 440, 73, 3 , 11 },
|
|
{ 451, 73, 7 , 9 },
|
|
{ 466, 73, 8 , 12 },
|
|
{ 482, 73, 6 , 12 },
|
|
{ 496, 73, 6 , 12 },
|
|
{ 4, 96, 6 , 12 },
|
|
{ 18, 96, 6 , 12 },
|
|
{ 32, 96, 6 , 11 },
|
|
{ 46, 96, 5 , 5 },
|
|
{ 59, 96, 8 , 9 },
|
|
{ 75, 96, 8 , 12 },
|
|
{ 91, 96, 8 , 12 },
|
|
{ 107, 96, 8 , 12 },
|
|
{ 123, 96, 8 , 11 },
|
|
{ 139, 96, 7 , 12 },
|
|
{ 154, 96, 7 , 9 },
|
|
{ 169, 96, 8 , 9 },
|
|
{ 185, 96, 6 , 9 },
|
|
{ 199, 96, 6 , 9 },
|
|
{ 213, 96, 6 , 9 },
|
|
{ 227, 96, 6 , 9 },
|
|
{ 241, 96, 6 , 8 },
|
|
{ 255, 96, 6 , 10 },
|
|
{ 269, 96, 10 , 6 },
|
|
{ 287, 96, 6 , 8 },
|
|
{ 301, 96, 6 , 9 },
|
|
{ 315, 96, 6 , 9 },
|
|
{ 329, 96, 6 , 9 },
|
|
{ 343, 96, 6 , 8 },
|
|
{ 357, 96, 3 , 10 },
|
|
{ 368, 96, 3 , 10 },
|
|
{ 379, 96, 3 , 10 },
|
|
{ 390, 96, 3 , 9 },
|
|
{ 401, 96, 6 , 10 },
|
|
{ 415, 96, 7 , 9 },
|
|
{ 430, 96, 5 , 9 },
|
|
{ 443, 96, 5 , 9 },
|
|
{ 456, 96, 5 , 9 },
|
|
{ 469, 96, 5 , 9 },
|
|
{ 482, 96, 5 , 8 },
|
|
{ 495, 96, 7 , 9 },
|
|
{ 4, 119, 8 , 8 },
|
|
{ 20, 119, 7 , 9 },
|
|
{ 35, 119, 7 , 9 },
|
|
{ 50, 119, 7 , 9 },
|
|
{ 65, 119, 7 , 8 },
|
|
{ 80, 119, 7 , 11 },
|
|
{ 95, 119, 5 , 8 },
|
|
{ 108, 119, 7 , 10 },
|
|
};
|
|
|
|
// Font glyphs info data
|
|
// NOTE: No glyphs.image data provided
|
|
static const GlyphInfo cherryFontGlyphs[189] = {
|
|
{ 32, 0, 12, 5, { 0 }},
|
|
{ 33, 0, 2, 4, { 0 }},
|
|
{ 34, 0, 2, 6, { 0 }},
|
|
{ 35, 0, 2, 11, { 0 }},
|
|
{ 36, 0, 2, 8, { 0 }},
|
|
{ 37, 0, 2, 8, { 0 }},
|
|
{ 38, 0, 2, 9, { 0 }},
|
|
{ 39, 0, 2, 2, { 0 }},
|
|
{ 40, 0, 2, 4, { 0 }},
|
|
{ 41, 0, 2, 4, { 0 }},
|
|
{ 42, 0, 2, 4, { 0 }},
|
|
{ 43, 0, 4, 8, { 0 }},
|
|
{ 44, 0, 11, 3, { 0 }},
|
|
{ 45, 0, 6, 7, { 0 }},
|
|
{ 46, 0, 11, 2, { 0 }},
|
|
{ 47, 0, 2, 5, { 0 }},
|
|
{ 48, 0, 4, 6, { 0 }},
|
|
{ 49, 0, 4, 6, { 0 }},
|
|
{ 50, 0, 4, 6, { 0 }},
|
|
{ 51, 0, 4, 6, { 0 }},
|
|
{ 52, 0, 4, 6, { 0 }},
|
|
{ 53, 0, 4, 6, { 0 }},
|
|
{ 54, 0, 4, 6, { 0 }},
|
|
{ 55, 0, 4, 6, { 0 }},
|
|
{ 56, 0, 4, 6, { 0 }},
|
|
{ 57, 0, 4, 6, { 0 }},
|
|
{ 58, 0, 2, 4, { 0 }},
|
|
{ 59, 0, 2, 4, { 0 }},
|
|
{ 60, 0, 4, 7, { 0 }},
|
|
{ 61, 0, 5, 7, { 0 }},
|
|
{ 62, 0, 4, 7, { 0 }},
|
|
{ 63, 0, 2, 6, { 0 }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}},
|
|
{ 105, 0, 5, 4, { 0 }},
|
|
{ 106, 0, 5, 4, { 0 }},
|
|
{ 107, 0, 3, 7, { 0 }},
|
|
{ 108, 0, 3, 5, { 0 }},
|
|
{ 109, 0, 6, 12, { 0 }},
|
|
{ 110, 0, 6, 8, { 0 }},
|
|
{ 111, 0, 6, 6, { 0 }},
|
|
{ 112, 0, 6, 7, { 0 }},
|
|
{ 113, 0, 6, 7, { 0 }},
|
|
{ 114, 0, 6, 6, { 0 }},
|
|
{ 115, 0, 6, 6, { 0 }},
|
|
{ 116, 0, 3, 6, { 0 }},
|
|
{ 117, 0, 6, 8, { 0 }},
|
|
{ 118, 0, 6, 8, { 0 }},
|
|
{ 119, 0, 6, 12, { 0 }},
|
|
{ 120, 0, 6, 8, { 0 }},
|
|
{ 121, 0, 6, 8, { 0 }},
|
|
{ 122, 0, 6, 7, { 0 }},
|
|
{ 123, 0, 3, 6, { 0 }},
|
|
{ 124, 0, 3, 2, { 0 }},
|
|
{ 125, 0, 3, 6, { 0 }},
|
|
{ 126, 0, 6, 8, { 0 }},
|
|
{ 161, 0, 4, 4, { 0 }},
|
|
{ 162, 0, 4, 8, { 0 }},
|
|
{ 163, 0, 2, 8, { 0 }},
|
|
{ 8364, 0, 3, 7, { 0 }},
|
|
{ 165, 0, 3, 8, { 0 }},
|
|
{ 352, 0, 0, 7, { 0 }},
|
|
{ 167, 0, 2, 8, { 0 }},
|
|
{ 353, 0, 3, 6, { 0 }},
|
|
{ 169, 0, 1, 6, { 0 }},
|
|
{ 170, 0, 2, 5, { 0 }},
|
|
{ 171, 0, 5, 7, { 0 }},
|
|
{ 172, 0, 6, 7, { 0 }},
|
|
{ 174, 0, 1, 6, { 0 }},
|
|
{ 175, 0, 2, 7, { 0 }},
|
|
{ 176, 0, 2, 4, { 0 }},
|
|
{ 177, 0, 3, 8, { 0 }},
|
|
{ 178, 0, 2, 4, { 0 }},
|
|
{ 179, 0, 2, 4, { 0 }},
|
|
{ 381, 0, 0, 8, { 0 }},
|
|
{ 181, 0, 6, 7, { 0 }},
|
|
{ 182, 0, 3, 8, { 0 }},
|
|
{ 183, 0, 6, 3, { 0 }},
|
|
{ 382, 0, 3, 7, { 0 }},
|
|
{ 185, 0, 2, 4, { 0 }},
|
|
{ 186, 0, 2, 4, { 0 }},
|
|
{ 187, 0, 5, 7, { 0 }},
|
|
{ 338, 0, 3, 14, { 0 }},
|
|
{ 339, 0, 6, 11, { 0 }},
|
|
{ 376, 0, 1, 8, { 0 }},
|
|
{ 191, 0, 4, 6, { 0 }},
|
|
{ 192, 0, 0, 8, { 0 }},
|
|
{ 193, 0, 0, 8, { 0 }},
|
|
{ 194, 0, 0, 8, { 0 }},
|
|
{ 195, 0, 0, 8, { 0 }},
|
|
{ 196, 0, 1, 8, { 0 }},
|
|
{ 197, 0, 1, 8, { 0 }},
|
|
{ 198, 0, 3, 13, { 0 }},
|
|
{ 199, 0, 3, 7, { 0 }},
|
|
{ 200, 0, 0, 8, { 0 }},
|
|
{ 201, 0, 0, 8, { 0 }},
|
|
{ 202, 0, 0, 8, { 0 }},
|
|
{ 203, 0, 1, 8, { 0 }},
|
|
{ 204, 0, 0, 4, { 0 }},
|
|
{ 205, 0, 0, 4, { 0 }},
|
|
{ 206, 0, 0, 4, { 0 }},
|
|
{ 207, 0, 1, 4, { 0 }},
|
|
{ 208, 0, 3, 8, { 0 }},
|
|
{ 209, 0, 0, 9, { 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, 1, 5, 7, { 0 }},
|
|
{ 216, 0, 3, 9, { 0 }},
|
|
{ 217, 0, 0, 9, { 0 }},
|
|
{ 218, 0, 0, 9, { 0 }},
|
|
{ 219, 0, 0, 9, { 0 }},
|
|
{ 220, 0, 1, 9, { 0 }},
|
|
{ 221, 0, 0, 8, { 0 }},
|
|
{ 222, 0, 2, 8, { 0 }},
|
|
{ 223, 0, 3, 9, { 0 }},
|
|
{ 224, 0, 3, 7, { 0 }},
|
|
{ 225, 0, 3, 7, { 0 }},
|
|
{ 226, 0, 3, 7, { 0 }},
|
|
{ 227, 0, 3, 7, { 0 }},
|
|
{ 228, 0, 4, 7, { 0 }},
|
|
{ 229, 0, 2, 7, { 0 }},
|
|
{ 230, 0, 6, 11, { 0 }},
|
|
{ 231, 0, 6, 7, { 0 }},
|
|
{ 232, 0, 3, 7, { 0 }},
|
|
{ 233, 0, 3, 7, { 0 }},
|
|
{ 234, 0, 3, 7, { 0 }},
|
|
{ 235, 0, 4, 7, { 0 }},
|
|
{ 236, 0, 2, 4, { 0 }},
|
|
{ 237, 0, 2, 4, { 0 }},
|
|
{ 238, 0, 2, 4, { 0 }},
|
|
{ 239, 0, 3, 4, { 0 }},
|
|
{ 240, 0, 2, 7, { 0 }},
|
|
{ 241, 0, 3, 8, { 0 }},
|
|
{ 242, 0, 3, 6, { 0 }},
|
|
{ 243, 0, 3, 6, { 0 }},
|
|
{ 244, 0, 3, 6, { 0 }},
|
|
{ 245, 0, 3, 6, { 0 }},
|
|
{ 246, 0, 4, 6, { 0 }},
|
|
{ 247, 0, 3, 8, { 0 }},
|
|
{ 248, 0, 4, 9, { 0 }},
|
|
{ 249, 0, 3, 8, { 0 }},
|
|
{ 250, 0, 3, 8, { 0 }},
|
|
{ 251, 0, 3, 8, { 0 }},
|
|
{ 252, 0, 4, 8, { 0 }},
|
|
{ 253, 0, 3, 8, { 0 }},
|
|
{ 254, 0, 4, 6, { 0 }},
|
|
{ 255, 0, 4, 8, { 0 }},
|
|
};
|
|
|
|
// Style loading function: Cherry
|
|
static void GuiLoadStyleCherry(void)
|
|
{
|
|
// Load style properties provided
|
|
// NOTE: Default properties are propagated
|
|
for (int i = 0; i < CHERRY_STYLE_PROPS_COUNT; i++)
|
|
{
|
|
GuiSetStyle(cherryStyleProps[i].controlId, cherryStyleProps[i].propertyId, cherryStyleProps[i].propertyValue);
|
|
}
|
|
|
|
// Custom font loading
|
|
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
|
|
int cherryFontDataSize = 0;
|
|
unsigned char *data = DecompressData(cherryFontData, CHERRY_STYLE_FONT_ATLAS_COMP_SIZE, &cherryFontDataSize);
|
|
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, cherryFontRecs, 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, cherryFontGlyphs, 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
|
|
}
|