mirror of
https://github.com/raysan5/raygui.git
synced 2026-02-21 04:59:18 -05:00
Compare commits
16 Commits
0b94b80c92
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 960f13b6e0 | |||
| f8f7dd3296 | |||
| 9f70fcbbfb | |||
| a307cb55d0 | |||
| 628a4b2bfd | |||
| 4a7c6e17d5 | |||
| 52c9d5fb52 | |||
| 0ebbfc5d10 | |||
| d12d01984e | |||
| fd8d0f1b17 | |||
| 1c2365a20c | |||
| 7f842d85ba | |||
| 0f5f0f7d00 | |||
| 9a1c183d85 | |||
| 51e6bcb393 | |||
| 04282d1763 |
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
zlib License
|
zlib License
|
||||||
|
|
||||||
Copyright (c) 2014-2025 Ramon Santamaria (@raysan5)
|
Copyright (c) 2014-2026 Ramon Santamaria (@raysan5)
|
||||||
|
|
||||||
This software is provided "as-is", without any express or implied warranty. In no event
|
This software is provided "as-is", without any express or implied warranty. In no event
|
||||||
will the authors be held liable for any damages arising from the use of this software.
|
will the authors be held liable for any damages arising from the use of this software.
|
||||||
|
|||||||
@ -311,7 +311,6 @@
|
|||||||
<ClCompile Include="$(ProjectDir)..\..\..\..\raylib\src\rshapes.c" />
|
<ClCompile Include="$(ProjectDir)..\..\..\..\raylib\src\rshapes.c" />
|
||||||
<ClCompile Include="$(ProjectDir)..\..\..\..\raylib\src\rtext.c" />
|
<ClCompile Include="$(ProjectDir)..\..\..\..\raylib\src\rtext.c" />
|
||||||
<ClCompile Include="$(ProjectDir)..\..\..\..\raylib\src\rtextures.c" />
|
<ClCompile Include="$(ProjectDir)..\..\..\..\raylib\src\rtextures.c" />
|
||||||
<ClCompile Include="$(ProjectDir)..\..\..\..\raylib\src\utils.c" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="$(ProjectDir)..\..\..\..\raylib\src\external\cgltf.h" />
|
<ClInclude Include="$(ProjectDir)..\..\..\..\raylib\src\external\cgltf.h" />
|
||||||
@ -331,7 +330,6 @@
|
|||||||
<ClInclude Include="$(ProjectDir)..\..\..\..\raylib\src\raylib.h" />
|
<ClInclude Include="$(ProjectDir)..\..\..\..\raylib\src\raylib.h" />
|
||||||
<ClInclude Include="$(ProjectDir)..\..\..\..\raylib\src\raymath.h" />
|
<ClInclude Include="$(ProjectDir)..\..\..\..\raylib\src\raymath.h" />
|
||||||
<ClInclude Include="$(ProjectDir)..\..\..\..\raylib\src\rlgl.h" />
|
<ClInclude Include="$(ProjectDir)..\..\..\..\raylib\src\rlgl.h" />
|
||||||
<ClInclude Include="$(ProjectDir)..\..\..\..\raylib\src\utils.h" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="..\..\..\..\raylib\src\raylib.dll.rc" />
|
<ResourceCompile Include="..\..\..\..\raylib\src\raylib.dll.rc" />
|
||||||
|
|||||||
413
src/raygui.h
413
src/raygui.h
File diff suppressed because it is too large
Load Diff
@ -30,7 +30,7 @@ static const GuiStyleProp amberStyleProps[AMBER_STYLE_PROPS_COUNT] = {
|
|||||||
{ 0, 16, (int)0x00000010 }, // DEFAULT_TEXT_SIZE
|
{ 0, 16, (int)0x00000010 }, // DEFAULT_TEXT_SIZE
|
||||||
{ 0, 18, (int)0xef922aff }, // DEFAULT_LINE_COLOR
|
{ 0, 18, (int)0xef922aff }, // DEFAULT_LINE_COLOR
|
||||||
{ 0, 19, (int)0x333333ff }, // DEFAULT_BACKGROUND_COLOR
|
{ 0, 19, (int)0x333333ff }, // DEFAULT_BACKGROUND_COLOR
|
||||||
{ 0, 20, (int)0x00000018 }, // DEFAULT_TEXT_LINE_SPACING
|
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||||
{ 1, 8, (int)0xe7e0d4ff }, // LABEL_TEXT_COLOR_PRESSED
|
{ 1, 8, (int)0xe7e0d4ff }, // LABEL_TEXT_COLOR_PRESSED
|
||||||
{ 4, 8, (int)0xf1cf9dff }, // SLIDER_TEXT_COLOR_PRESSED
|
{ 4, 8, (int)0xf1cf9dff }, // SLIDER_TEXT_COLOR_PRESSED
|
||||||
};
|
};
|
||||||
|
|||||||
@ -30,7 +30,7 @@ static const GuiStyleProp ashesStyleProps[ASHES_STYLE_PROPS_COUNT] = {
|
|||||||
{ 0, 16, (int)0x00000010 }, // DEFAULT_TEXT_SIZE
|
{ 0, 16, (int)0x00000010 }, // DEFAULT_TEXT_SIZE
|
||||||
{ 0, 18, (int)0x9dadb1ff }, // DEFAULT_LINE_COLOR
|
{ 0, 18, (int)0x9dadb1ff }, // DEFAULT_LINE_COLOR
|
||||||
{ 0, 19, (int)0x6b6b6bff }, // DEFAULT_BACKGROUND_COLOR
|
{ 0, 19, (int)0x6b6b6bff }, // DEFAULT_BACKGROUND_COLOR
|
||||||
{ 0, 20, (int)0x00000018 }, // DEFAULT_TEXT_LINE_SPACING
|
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||||
};
|
};
|
||||||
|
|
||||||
// WARNING: This style uses a custom font: "v5loxical.ttf" (size: 16, spacing: 1)
|
// WARNING: This style uses a custom font: "v5loxical.ttf" (size: 16, spacing: 1)
|
||||||
|
|||||||
@ -31,7 +31,7 @@ static const GuiStyleProp candyStyleProps[CANDY_STYLE_PROPS_COUNT] = {
|
|||||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||||
{ 0, 18, (int)0xd77575ff }, // DEFAULT_LINE_COLOR
|
{ 0, 18, (int)0xd77575ff }, // DEFAULT_LINE_COLOR
|
||||||
{ 0, 19, (int)0xfff5e1ff }, // DEFAULT_BACKGROUND_COLOR
|
{ 0, 19, (int)0xfff5e1ff }, // DEFAULT_BACKGROUND_COLOR
|
||||||
{ 0, 20, (int)0x00000016 }, // DEFAULT_TEXT_LINE_SPACING
|
{ 0, 20, (int)0x00000007 }, // DEFAULT_TEXT_LINE_SPACING
|
||||||
};
|
};
|
||||||
|
|
||||||
// WARNING: This style uses a custom font: "v5easter.ttf" (size: 15, spacing: 0)
|
// WARNING: This style uses a custom font: "v5easter.ttf" (size: 15, spacing: 0)
|
||||||
|
|||||||
@ -31,7 +31,7 @@ static const GuiStyleProp cherryStyleProps[CHERRY_STYLE_PROPS_COUNT] = {
|
|||||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||||
{ 0, 18, (int)0xfb8170ff }, // DEFAULT_LINE_COLOR
|
{ 0, 18, (int)0xfb8170ff }, // DEFAULT_LINE_COLOR
|
||||||
{ 0, 19, (int)0x3a1720ff }, // DEFAULT_BACKGROUND_COLOR
|
{ 0, 19, (int)0x3a1720ff }, // DEFAULT_BACKGROUND_COLOR
|
||||||
{ 0, 20, (int)0x00000016 }, // DEFAULT_TEXT_LINE_SPACING
|
{ 0, 20, (int)0x00000007 }, // DEFAULT_TEXT_LINE_SPACING
|
||||||
};
|
};
|
||||||
|
|
||||||
// WARNING: This style uses a custom font: "Westington.ttf" (size: 15, spacing: 0)
|
// WARNING: This style uses a custom font: "Westington.ttf" (size: 15, spacing: 0)
|
||||||
|
|||||||
@ -31,7 +31,7 @@ static const GuiStyleProp cyberStyleProps[CYBER_STYLE_PROPS_COUNT] = {
|
|||||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||||
{ 0, 18, (int)0x81c0d0ff }, // DEFAULT_LINE_COLOR
|
{ 0, 18, (int)0x81c0d0ff }, // DEFAULT_LINE_COLOR
|
||||||
{ 0, 19, (int)0x00222bff }, // DEFAULT_BACKGROUND_COLOR
|
{ 0, 19, (int)0x00222bff }, // DEFAULT_BACKGROUND_COLOR
|
||||||
{ 0, 20, (int)0x00000015 }, // DEFAULT_TEXT_LINE_SPACING
|
{ 0, 20, (int)0x00000007 }, // DEFAULT_TEXT_LINE_SPACING
|
||||||
};
|
};
|
||||||
|
|
||||||
// WARNING: This style uses a custom font: "Kyrou7Wide.ttf" (size: 14, spacing: 0)
|
// WARNING: This style uses a custom font: "Kyrou7Wide.ttf" (size: 14, spacing: 0)
|
||||||
|
|||||||
@ -31,7 +31,7 @@ static const GuiStyleProp darkStyleProps[DARK_STYLE_PROPS_COUNT] = {
|
|||||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||||
{ 0, 18, (int)0x9d9d9dff }, // DEFAULT_LINE_COLOR
|
{ 0, 18, (int)0x9d9d9dff }, // DEFAULT_LINE_COLOR
|
||||||
{ 0, 19, (int)0x3c3c3cff }, // DEFAULT_BACKGROUND_COLOR
|
{ 0, 19, (int)0x3c3c3cff }, // DEFAULT_BACKGROUND_COLOR
|
||||||
{ 0, 20, (int)0x00000018 }, // DEFAULT_TEXT_LINE_SPACING
|
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||||
{ 1, 5, (int)0xf7f7f7ff }, // LABEL_TEXT_COLOR_FOCUSED
|
{ 1, 5, (int)0xf7f7f7ff }, // LABEL_TEXT_COLOR_FOCUSED
|
||||||
{ 1, 8, (int)0x898989ff }, // LABEL_TEXT_COLOR_PRESSED
|
{ 1, 8, (int)0x898989ff }, // LABEL_TEXT_COLOR_PRESSED
|
||||||
{ 4, 5, (int)0xb0b0b0ff }, // SLIDER_TEXT_COLOR_FOCUSED
|
{ 4, 5, (int)0xb0b0b0ff }, // SLIDER_TEXT_COLOR_FOCUSED
|
||||||
|
|||||||
@ -31,7 +31,7 @@ static const GuiStyleProp enefeteStyleProps[ENEFETE_STYLE_PROPS_COUNT] = {
|
|||||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||||
{ 0, 18, (int)0x1d3f6cff }, // DEFAULT_LINE_COLOR
|
{ 0, 18, (int)0x1d3f6cff }, // DEFAULT_LINE_COLOR
|
||||||
{ 0, 19, (int)0x29c9e5ff }, // DEFAULT_BACKGROUND_COLOR
|
{ 0, 19, (int)0x29c9e5ff }, // DEFAULT_BACKGROUND_COLOR
|
||||||
{ 0, 20, (int)0x00000018 }, // DEFAULT_TEXT_LINE_SPACING
|
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||||
};
|
};
|
||||||
|
|
||||||
// WARNING: This style uses a custom font: "GMSN.ttf" (size: 16, spacing: 0)
|
// WARNING: This style uses a custom font: "GMSN.ttf" (size: 16, spacing: 0)
|
||||||
|
|||||||
@ -31,7 +31,7 @@ static const GuiStyleProp genesisStyleProps[GENESIS_STYLE_PROPS_COUNT] = {
|
|||||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||||
{ 0, 18, (int)0x96a3b4ff }, // DEFAULT_LINE_COLOR
|
{ 0, 18, (int)0x96a3b4ff }, // DEFAULT_LINE_COLOR
|
||||||
{ 0, 19, (int)0x292c33ff }, // DEFAULT_BACKGROUND_COLOR
|
{ 0, 19, (int)0x292c33ff }, // DEFAULT_BACKGROUND_COLOR
|
||||||
{ 0, 20, (int)0x00000018 }, // DEFAULT_TEXT_LINE_SPACING
|
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||||
{ 1, 5, (int)0x97a9aeff }, // LABEL_TEXT_COLOR_FOCUSED
|
{ 1, 5, (int)0x97a9aeff }, // LABEL_TEXT_COLOR_FOCUSED
|
||||||
{ 4, 5, (int)0xa69a9aff }, // SLIDER_TEXT_COLOR_FOCUSED
|
{ 4, 5, (int)0xa69a9aff }, // SLIDER_TEXT_COLOR_FOCUSED
|
||||||
{ 4, 6, (int)0xc3ccd5ff }, // SLIDER_BORDER_COLOR_PRESSED
|
{ 4, 6, (int)0xc3ccd5ff }, // SLIDER_BORDER_COLOR_PRESSED
|
||||||
|
|||||||
@ -31,7 +31,7 @@ static const GuiStyleProp jungleStyleProps[JUNGLE_STYLE_PROPS_COUNT] = {
|
|||||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||||
{ 0, 18, (int)0x638465ff }, // DEFAULT_LINE_COLOR
|
{ 0, 18, (int)0x638465ff }, // DEFAULT_LINE_COLOR
|
||||||
{ 0, 19, (int)0x2b3a3aff }, // DEFAULT_BACKGROUND_COLOR
|
{ 0, 19, (int)0x2b3a3aff }, // DEFAULT_BACKGROUND_COLOR
|
||||||
{ 0, 20, (int)0x00000012 }, // DEFAULT_TEXT_LINE_SPACING
|
{ 0, 20, (int)0x00000006 }, // DEFAULT_TEXT_LINE_SPACING
|
||||||
};
|
};
|
||||||
|
|
||||||
// WARNING: This style uses a custom font: "PixelIntv.otf" (size: 12, spacing: 0)
|
// WARNING: This style uses a custom font: "PixelIntv.otf" (size: 12, spacing: 0)
|
||||||
|
|||||||
@ -30,7 +30,7 @@ static const GuiStyleProp lavandaStyleProps[LAVANDA_STYLE_PROPS_COUNT] = {
|
|||||||
{ 0, 16, (int)0x00000010 }, // DEFAULT_TEXT_SIZE
|
{ 0, 16, (int)0x00000010 }, // DEFAULT_TEXT_SIZE
|
||||||
{ 0, 18, (int)0x84adb7ff }, // DEFAULT_LINE_COLOR
|
{ 0, 18, (int)0x84adb7ff }, // DEFAULT_LINE_COLOR
|
||||||
{ 0, 19, (int)0x5b5b81ff }, // DEFAULT_BACKGROUND_COLOR
|
{ 0, 19, (int)0x5b5b81ff }, // DEFAULT_BACKGROUND_COLOR
|
||||||
{ 0, 20, (int)0x00000018 }, // DEFAULT_TEXT_LINE_SPACING
|
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||||
};
|
};
|
||||||
|
|
||||||
// WARNING: This style uses a custom font: "Cartridge.ttf" (size: 16, spacing: 1)
|
// WARNING: This style uses a custom font: "Cartridge.ttf" (size: 16, spacing: 1)
|
||||||
|
|||||||
@ -29,7 +29,7 @@ static const GuiStyleProp rltechStyleProps[RLTECH_STYLE_PROPS_COUNT] = {
|
|||||||
{ 0, 11, (int)0xb3b3b3ff }, // DEFAULT_TEXT_COLOR_DISABLED
|
{ 0, 11, (int)0xb3b3b3ff }, // DEFAULT_TEXT_COLOR_DISABLED
|
||||||
{ 0, 16, (int)0x00000010 }, // DEFAULT_TEXT_SIZE
|
{ 0, 16, (int)0x00000010 }, // DEFAULT_TEXT_SIZE
|
||||||
{ 0, 18, (int)0x352c2cff }, // DEFAULT_LINE_COLOR
|
{ 0, 18, (int)0x352c2cff }, // DEFAULT_LINE_COLOR
|
||||||
{ 0, 20, (int)0x00000018 }, // DEFAULT_TEXT_LINE_SPACING
|
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||||
};
|
};
|
||||||
|
|
||||||
// WARNING: This style uses a custom font: "2a03.ttf" (size: 16, spacing: 1)
|
// WARNING: This style uses a custom font: "2a03.ttf" (size: 16, spacing: 1)
|
||||||
|
|||||||
@ -31,7 +31,7 @@ static const GuiStyleProp sunnyStyleProps[SUNNY_STYLE_PROPS_COUNT] = {
|
|||||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||||
{ 0, 18, (int)0x725706ff }, // DEFAULT_LINE_COLOR
|
{ 0, 18, (int)0x725706ff }, // DEFAULT_LINE_COLOR
|
||||||
{ 0, 19, (int)0xf0be4bff }, // DEFAULT_BACKGROUND_COLOR
|
{ 0, 19, (int)0xf0be4bff }, // DEFAULT_BACKGROUND_COLOR
|
||||||
{ 0, 20, (int)0x00000018 }, // DEFAULT_TEXT_LINE_SPACING
|
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||||
{ 1, 2, (int)0x504506ff }, // LABEL_TEXT_COLOR_NORMAL
|
{ 1, 2, (int)0x504506ff }, // LABEL_TEXT_COLOR_NORMAL
|
||||||
{ 1, 5, (int)0xfdeb9bff }, // LABEL_TEXT_COLOR_FOCUSED
|
{ 1, 5, (int)0xfdeb9bff }, // LABEL_TEXT_COLOR_FOCUSED
|
||||||
{ 1, 8, (int)0xf5e8a4ff }, // LABEL_TEXT_COLOR_PRESSED
|
{ 1, 8, (int)0xf5e8a4ff }, // LABEL_TEXT_COLOR_PRESSED
|
||||||
|
|||||||
@ -31,7 +31,7 @@ static const GuiStyleProp terminalStyleProps[TERMINAL_STYLE_PROPS_COUNT] = {
|
|||||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||||
{ 0, 18, (int)0xe6fce3ff }, // DEFAULT_LINE_COLOR
|
{ 0, 18, (int)0xe6fce3ff }, // DEFAULT_LINE_COLOR
|
||||||
{ 0, 19, (int)0x0c1505ff }, // DEFAULT_BACKGROUND_COLOR
|
{ 0, 19, (int)0x0c1505ff }, // DEFAULT_BACKGROUND_COLOR
|
||||||
{ 0, 20, (int)0x00000018 }, // DEFAULT_TEXT_LINE_SPACING
|
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||||
};
|
};
|
||||||
|
|
||||||
// WARNING: This style uses a custom font: "Mecha.ttf" (size: 16, spacing: 0)
|
// WARNING: This style uses a custom font: "Mecha.ttf" (size: 16, spacing: 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user