raygui/styles/lavanda/lavanda.h
2021-12-23 11:08:23 +01:00

355 lines
17 KiB
C

//////////////////////////////////////////////////////////////////////////////////
// //
// StyleAsCode exporter v1.2 - Style data exported as a values array //
// //
// USAGE: On init call: GuiLoadStyleLavanda(); //
// //
// more info and bugs-report: github.com/raysan5/raygui //
// feedback and support: ray[at]raylibtech.com //
// //
// Copyright (c) 2020-2022 raylib technologies (@raylibtech) //
// //
//////////////////////////////////////////////////////////////////////////////////
#define LAVANDA_STYLE_PROPS_COUNT 15
// Custom style name: lavanda
static const GuiStyleProp lavandaStyleProps[LAVANDA_STYLE_PROPS_COUNT] = {
{ 0, 0, 0xab9bd3ff }, // DEFAULT_BORDER_COLOR_NORMAL
{ 0, 1, 0x3e4350ff }, // DEFAULT_BASE_COLOR_NORMAL
{ 0, 2, 0xdadaf4ff }, // DEFAULT_TEXT_COLOR_NORMAL
{ 0, 3, 0xee84a0ff }, // DEFAULT_BORDER_COLOR_FOCUSED
{ 0, 4, 0xf4b7c7ff }, // DEFAULT_BASE_COLOR_FOCUSED
{ 0, 5, 0xb7657bff }, // DEFAULT_TEXT_COLOR_FOCUSED
{ 0, 6, 0xd5c8dbff }, // DEFAULT_BORDER_COLOR_PRESSED
{ 0, 7, 0x966ec0ff }, // DEFAULT_BASE_COLOR_PRESSED
{ 0, 8, 0xd7ccf7ff }, // DEFAULT_TEXT_COLOR_PRESSED
{ 0, 9, 0x8fa2bdff }, // DEFAULT_BORDER_COLOR_DISABLED
{ 0, 10, 0x6b798dff }, // DEFAULT_BASE_COLOR_DISABLED
{ 0, 11, 0x8292a9ff }, // DEFAULT_TEXT_COLOR_DISABLED
{ 0, 16, 0x00000010 }, // DEFAULT_TEXT_SIZE
{ 0, 18, 0x84adb7ff }, // DEFAULT_LINE_COLOR
{ 0, 19, 0x5b5b81ff }, // DEFAULT_BACKGROUND_COLOR
};
// WARNING: This style uses a custom font: (size: 16, spacing: 1)
#define LAVANDA_COMPRESSED_DATA_SIZE 1317
// Font image pixels data compressed (DEFLATE)
// NOTE: Original pixel data simplified to GRAYSCALE
static unsigned char lavandaFontData[LAVANDA_COMPRESSED_DATA_SIZE] = { 0xed,
0xdd, 0x4b, 0x96, 0xa3, 0x48, 0x0c, 0x05, 0x50, 0xf6, 0xbf, 0xe9, 0xd7, 0xa3, 0x3a, 0xdd, 0x7d, 0xaa, 0x0c, 0x21, 0x85,
0xc0, 0x76, 0xd6, 0xcd, 0x3b, 0x4b, 0xff, 0x00, 0x11, 0x80, 0xcd, 0x13, 0xe4, 0x00, 0x00, 0xf8, 0x4d, 0xfe, 0xf8, 0x9f,
0x9c, 0x3c, 0x37, 0xcb, 0xef, 0xf4, 0xeb, 0xff, 0xb9, 0x78, 0xc6, 0xff, 0x9f, 0xb5, 0xf6, 0xbe, 0x59, 0xfe, 0xfc, 0xce,
0x23, 0xf9, 0xe3, 0xf4, 0x65, 0xe3, 0xf5, 0xaf, 0xde, 0xa1, 0xfe, 0xfc, 0x7f, 0xff, 0xbe, 0xa1, 0xfe, 0x59, 0x78, 0xe5,
0xf9, 0xe3, 0xd9, 0x58, 0x27, 0xae, 0x96, 0x56, 0xca, 0x6b, 0xcc, 0xce, 0x52, 0x3d, 0x9b, 0xc6, 0xca, 0xf3, 0x27, 0xa6,
0xb0, 0x5e, 0xff, 0x9c, 0x2e, 0xcb, 0xd7, 0xff, 0x3f, 0x5f, 0xa7, 0xee, 0xae, 0x7f, 0x67, 0x1c, 0xe5, 0xa6, 0xa5, 0x5a,
0x1d, 0x6f, 0xd5, 0x39, 0x9d, 0x99, 0xd2, 0x4e, 0x95, 0x56, 0xd6, 0xee, 0x5c, 0xbc, 0x77, 0x06, 0xa6, 0xf9, 0xd5, 0xb4,
0xdd, 0x3d, 0x8a, 0xd6, 0xd7, 0xd8, 0x8c, 0xcc, 0x51, 0x6e, 0x1c, 0xff, 0x53, 0x63, 0xf4, 0xcf, 0xaf, 0xbe, 0xda, 0x4b,
0x64, 0xbc, 0xfe, 0x53, 0x6b, 0xff, 0x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0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, 0xed, 0x1f };
// Font characters rectangles data
static const Rectangle lavandaFontRecs[95] = {
{ 4, 4, 5 , 16 },
{ 17, 4, 1 , 9 },
{ 26, 4, 3 , 3 },
{ 37, 4, 7 , 8 },
{ 52, 4, 5 , 11 },
{ 65, 4, 10 , 8 },
{ 83, 4, 7 , 9 },
{ 98, 4, 1 , 3 },
{ 107, 4, 3 , 12 },
{ 118, 4, 3 , 12 },
{ 129, 4, 5 , 4 },
{ 142, 4, 5 , 5 },
{ 155, 4, 2 , 3 },
{ 165, 4, 3 , 1 },
{ 176, 4, 1 , 1 },
{ 185, 4, 4 , 12 },
{ 197, 4, 5 , 9 },
{ 210, 4, 3 , 9 },
{ 221, 4, 5 , 9 },
{ 234, 4, 5 , 9 },
{ 4, 28, 5 , 9 },
{ 17, 28, 5 , 9 },
{ 30, 28, 5 , 9 },
{ 43, 28, 5 , 9 },
{ 56, 28, 5 , 9 },
{ 69, 28, 5 , 9 },
{ 82, 28, 1 , 4 },
{ 91, 28, 2 , 6 },
{ 101, 28, 4 , 5 },
{ 113, 28, 4 , 3 },
{ 125, 28, 4 , 5 },
{ 137, 28, 5 , 9 },
{ 150, 28, 7 , 10 },
{ 165, 28, 7 , 9 },
{ 180, 28, 6 , 9 },
{ 194, 28, 5 , 9 },
{ 207, 28, 6 , 9 },
{ 221, 28, 5 , 9 },
{ 234, 28, 5 , 9 },
{ 4, 52, 6 , 9 },
{ 18, 52, 5 , 10 },
{ 31, 52, 1 , 9 },
{ 40, 52, 6 , 9 },
{ 54, 52, 6 , 9 },
{ 68, 52, 5 , 9 },
{ 81, 52, 8 , 11 },
{ 97, 52, 6 , 10 },
{ 111, 52, 7 , 9 },
{ 126, 52, 5 , 9 },
{ 139, 52, 7 , 11 },
{ 154, 52, 5 , 9 },
{ 167, 52, 6 , 9 },
{ 181, 52, 7 , 9 },
{ 196, 52, 6 , 9 },
{ 210, 52, 6 , 10 },
{ 224, 52, 9 , 10 },
{ 4, 76, 6 , 11 },
{ 18, 76, 5 , 10 },
{ 31, 76, 5 , 9 },
{ 44, 76, 3 , 12 },
{ 55, 76, 4 , 12 },
{ 67, 76, 3 , 12 },
{ 78, 76, 5 , 4 },
{ 91, 76, 6 , 1 },
{ 105, 76, 3 , 3 },
{ 116, 76, 6 , 7 },
{ 130, 76, 5 , 9 },
{ 143, 76, 4 , 7 },
{ 155, 76, 5 , 10 },
{ 168, 76, 4 , 7 },
{ 180, 76, 3 , 10 },
{ 191, 76, 4 , 11 },
{ 203, 76, 5 , 11 },
{ 216, 76, 1 , 9 },
{ 225, 76, 5 , 12 },
{ 238, 76, 5 , 9 },
{ 4, 100, 1 , 9 },
{ 13, 100, 8 , 9 },
{ 29, 100, 5 , 9 },
{ 42, 100, 4 , 7 },
{ 54, 100, 5 , 10 },
{ 67, 100, 5 , 10 },
{ 80, 100, 5 , 7 },
{ 93, 100, 5 , 7 },
{ 106, 100, 3 , 9 },
{ 117, 100, 5 , 7 },
{ 130, 100, 5 , 8 },
{ 143, 100, 9 , 8 },
{ 160, 100, 5 , 9 },
{ 173, 100, 6 , 9 },
{ 187, 100, 4 , 7 },
{ 199, 100, 5 , 12 },
{ 212, 100, 1 , 12 },
{ 221, 100, 5 , 12 },
{ 234, 100, 6 , 2 },
};
// Font characters info data
// NOTE: No chars.image data provided
static const GlyphInfo lavandaFontChars[95] = {
{ 32, 0, 12, 5, { 0 }},
{ 33, 0, 3, 2, { 0 }},
{ 34, 0, 3, 4, { 0 }},
{ 35, 0, 3, 8, { 0 }},
{ 36, 0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 85, 0, 3, 7, { 0 }},
{ 86, 0, 2, 7, { 0 }},
{ 87, 0, 2, 10, { 0 }},
{ 88, 0, 3, 7, { 0 }},
{ 89, 0, 3, 6, { 0 }},
{ 90, 0, 3, 6, { 0 }},
{ 91, 0, 2, 4, { 0 }},
{ 92, 0, 2, 5, { 0 }},
{ 93, 0, 2, 4, { 0 }},
{ 94, 0, 3, 6, { 0 }},
{ 95, 0, 13, 7, { 0 }},
{ 96, 0, 3, 4, { 0 }},
{ 97, 0, 5, 7, { 0 }},
{ 98, 0, 3, 6, { 0 }},
{ 99, 0, 5, 5, { 0 }},
{ 100, 0, 2, 6, { 0 }},
{ 101, 0, 5, 5, { 0 }},
{ 102, 0, 2, 4, { 0 }},
{ 103, 0, 4, 5, { 0 }},
{ 104, 0, 3, 6, { 0 }},
{ 105, 0, 3, 2, { 0 }},
{ 106, -1, 3, 5, { 0 }},
{ 107, 0, 3, 6, { 0 }},
{ 108, 0, 3, 2, { 0 }},
{ 109, 0, 5, 9, { 0 }},
{ 110, 0, 5, 6, { 0 }},
{ 111, 0, 5, 5, { 0 }},
{ 112, 0, 5, 6, { 0 }},
{ 113, 0, 5, 6, { 0 }},
{ 114, 0, 5, 6, { 0 }},
{ 115, 0, 5, 6, { 0 }},
{ 116, 0, 3, 4, { 0 }},
{ 117, 0, 5, 6, { 0 }},
{ 118, 0, 4, 6, { 0 }},
{ 119, 0, 4, 10, { 0 }},
{ 120, 0, 5, 6, { 0 }},
{ 121, -1, 5, 6, { 0 }},
{ 122, 0, 5, 5, { 0 }},
{ 123, 0, 2, 6, { 0 }},
{ 124, 0, 2, 2, { 0 }},
{ 125, 0, 2, 6, { 0 }},
{ 126, 0, 7, 7, { 0 }},
};
// Style loading function: lavanda
static void GuiLoadStyleLavanda(void)
{
// Load style properties provided
// NOTE: Default properties are propagated
for (int i = 0; i < LAVANDA_STYLE_PROPS_COUNT; i++)
{
GuiSetStyle(lavandaStyleProps[i].controlId, lavandaStyleProps[i].propertyId, lavandaStyleProps[i].propertyValue);
}
// Custom font loading
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
int lavandaFontDataSize = 0;
unsigned char *data = DecompressData(lavandaFontData, LAVANDA_COMPRESSED_DATA_SIZE, &lavandaFontDataSize);
Image imFont = { data, 256, 256, 1, 2 };
Font font = { 0 };
font.baseSize = 16;
font.glyphCount = 95;
// Load texture from image
font.texture = LoadTextureFromImage(imFont);
UnloadImage(imFont); // Uncompressed 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 *)malloc(font.glyphCount*sizeof(Rectangle));
memcpy(font.recs, lavandaFontRecs, 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 *)malloc(font.glyphCount*sizeof(GlyphInfo));
memcpy(font.glyphs, lavandaFontChars, font.glyphCount*sizeof(GlyphInfo));
GuiSetFont(font);
// Setup a white rectangle on the font to be used on shapes drawing,
// this way we make sure all gui can be drawn on a single pass because no texture change is required
// NOTE: Setting up this rectangle is a manual process (for the moment)
Rectangle whiteChar = { 130, 5, 2, 2 };
SetShapesTexture(font.texture, whiteChar);
//-----------------------------------------------------------------
// TODO: Custom user style setup: Set specific properties here (if required)
// i.e. Controls specific BORDER_WIDTH, TEXT_PADDING, TEXT_ALIGNMENT
}