Compare commits
23 Commits
88a6fb7515
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| fbf5d95e19 | |||
| 0132e47671 | |||
| 9fed992452 | |||
| 70f440b2d1 | |||
| 4f917532aa | |||
| 3f81e2bd02 | |||
| 63465e55c2 | |||
| 220b6a85ba | |||
| 3ea06d4c3d | |||
| 020a61bebc | |||
| 13896112c9 | |||
| 94758e173f | |||
| d2caa22edd | |||
| fb43fd8299 | |||
| 090728006d | |||
| fa380d83e8 | |||
| 13d85f1023 | |||
| e95df4778d | |||
| 37b864af90 | |||
| 0e1bc2b2ad | |||
| 00f68c3248 | |||
| 437adee05d | |||
| 14cb4c4c05 |
23
README.md
@ -10,9 +10,9 @@
|
||||
|
||||
<br>
|
||||
|
||||
**WARNING: Latest `raygui` from master branch is always aligned with latest `raylib` from master branch. Make sure to use the appropriate versions.**
|
||||
**WARNING: Latest `raygui` from master branch is always aligned with latest `raylib` from master branch and all raylibtech tools. Make sure to use the latest versions.**
|
||||
|
||||
**WARNING: Latest `raygui 4.0` is an API-BREAKING redesign from previous versions (3.x), now all functions are more consistent and coherent, you can read the details about this breaking change in issue [283](https://github.com/raysan5/raygui/issues/283)**
|
||||
**WARNING: Latest `raygui 5.0` introduces some API-BREAKING changes, now all functions return a result value.**
|
||||
|
||||
*NOTE: raygui is a single-file header-only library (despite its internal dependency on raylib), so, functions definition AND implementation reside in the same file `raygui.h`, when including `raygui.h` in a module, `RAYGUI_IMPLEMENTATION` must be previously defined to include the implementation part of `raygui.h` BUT only in one compilation unit, other modules could also include `raygui.h` but `RAYGUI_IMPLEMENTATION` must not be defined again.*
|
||||
|
||||
@ -50,10 +50,11 @@ int main()
|
||||
|
||||
if (showMessageBox)
|
||||
{
|
||||
int result = GuiMessageBox((Rectangle){ 85, 70, 250, 100 },
|
||||
"#191#Message Box", "Hi! This is a message!", "Nice;Cool");
|
||||
int btnActive = -1;
|
||||
GuiMessageBox((Rectangle){ 85, 70, 250, 100 },
|
||||
"#191#Message Box", "Hi! This is a message!", "Nice;Cool", &btnActive);
|
||||
|
||||
if (result >= 0) showMessageBox = false;
|
||||
if (btnActive >= 0) showMessageBox = false;
|
||||
}
|
||||
|
||||
EndDrawing();
|
||||
@ -99,9 +100,9 @@ Styles can be loaded at runtime using raygui `GuiLoadStyle()` function. Simple a
|
||||
|
||||
## raygui icons
|
||||
|
||||
`raygui` supports custom icons, by default, a predefined set of icons is provided inside `raygui` as an array of binary data; it contains **256 possible icons** defined as **16x16 pixels** each; each pixel is codified using **1-bit**. The total size of the array is `2048 bytes`.
|
||||
`raygui` supports custom icons, by default, a predefined set of icons is provided inside `raygui` as an array of binary data; it contains **512 possible icons** defined as **16x16 pixels** each; each pixel is codified using **1-bit**. The total size of the array is `4096 bytes`.
|
||||
|
||||
<img align="right" src="images/raygui_ricons.png">
|
||||

|
||||
|
||||
To use any of those icons just prefix the *#iconId#* number to **any text** written within `raygui` controls:
|
||||
```c
|
||||
@ -109,7 +110,7 @@ if (GuiButton(rec, "#05#Open Image")) { /* ACTION */ }
|
||||
```
|
||||
It's also possible to use the provided `GuiIconText()` function to prefix it automatically, using a clearer identifier (defined in `raygui.h`).
|
||||
```c
|
||||
if (GuiButton(rec, GuiIconText(RICON_FILE_OPEN, "Open Image"))) { /* ACTION */ }
|
||||
if (GuiButton(rec, GuiIconText(ICON_FILE_OPEN, "Open Image"))) { /* ACTION */ }
|
||||
```
|
||||
Provided set of icons can be reviewed and customized using [rGuiIcons](https://raylibtech.itch.io/rguiicons) tool.
|
||||
|
||||
@ -117,15 +118,15 @@ Provided set of icons can be reviewed and customized using [rGuiIcons](https://r
|
||||
|
||||
- [**rGuiStyler**](https://raylibtech.itch.io/rguistyler) - A simple and easy-to-use raygui styles editor.
|
||||
|
||||

|
||||

|
||||
|
||||
- [**rGuiIcons**](https://raylibtech.itch.io/rguiicons) - A simple and easy-to-use raygui icons editor.
|
||||
|
||||

|
||||

|
||||
|
||||
- [**rGuiLayout**](https://raylibtech.itch.io/rguilayout) - A simple and easy-to-use raygui layouts editor.
|
||||
|
||||

|
||||

|
||||
|
||||
## building
|
||||
|
||||
|
||||
@ -324,7 +324,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
||||
ifeq ($(PLATFORM_OS),OSX)
|
||||
# Libraries for OSX 10.9 desktop compiling
|
||||
# NOTE: Required packages: libopenal-dev libegl1-mesa-dev
|
||||
LDLIBS = -lraylib -framework OpenGL -framework Cocoa -framework IOKit -framework CoreAudio -framework CoreVideo
|
||||
LDLIBS = -lraylib -framework OpenGL -framework Cocoa -framework IOKit -framework CoreAudio -framework CoreVideo -framework QuartzCore
|
||||
endif
|
||||
ifeq ($(PLATFORM_OS),BSD)
|
||||
# Libraries for FreeBSD, OpenBSD, NetBSD, DragonFly desktop compiling
|
||||
|
||||
@ -58,6 +58,12 @@
|
||||
#include "../styles/style_sunny.h" // raygui style: sunny
|
||||
#include "../styles/style_amber.h" // raygui style: amber
|
||||
#include "../styles/style_genesis.h" // raygui style: genesis
|
||||
#include "../styles/style_brick.h" // raygui style: genesis
|
||||
#include "../styles/style_turbo.h" // raygui style: genesis
|
||||
#include "../styles/style_wisteria.h" // raygui style: genesis
|
||||
#include "../styles/style_advance.h" // raygui style: genesis
|
||||
#include "../styles/style_rltech.h" // raygui style: genesis
|
||||
#include "../styles/style_pocket.h" // raygui style: genesis
|
||||
|
||||
//------------------------------------------------------------------------------------
|
||||
// Program main entry point
|
||||
@ -139,6 +145,8 @@ int main()
|
||||
//GuiSetStyle(DEFAULT, TEXT_PADDING, 0);
|
||||
//GuiSetStyle(DEFAULT, TEXT_ALIGNMENT, TEXT_ALIGN_CENTER);
|
||||
|
||||
int frameCounter = 0;
|
||||
|
||||
SetTargetFPS(60);
|
||||
//--------------------------------------------------------------------------------------
|
||||
|
||||
@ -174,6 +182,16 @@ int main()
|
||||
if (progressValue > 1.0f) progressValue = 1.0f;
|
||||
else if (progressValue < 0.0f) progressValue = 0.0f;
|
||||
|
||||
/*
|
||||
// Style updater auto
|
||||
frameCounter++;
|
||||
if ((frameCounter > 300) && (frameCounter%60) == 0)
|
||||
{
|
||||
visualStyleActive++;
|
||||
if (visualStyleActive >= 20) visualStyleActive = 0;
|
||||
}
|
||||
*/
|
||||
|
||||
if (visualStyleActive != prevVisualStyleActive)
|
||||
{
|
||||
GuiLoadStyleDefault();
|
||||
@ -194,6 +212,12 @@ int main()
|
||||
case 11: GuiLoadStyleSunny(); break;
|
||||
case 12: GuiLoadStyleAmber(); break;
|
||||
case 13: GuiLoadStyleGenesis(); break;
|
||||
case 14: GuiLoadStyleBrick(); break;
|
||||
case 15: GuiLoadStylePocket(); break;
|
||||
case 16: GuiLoadStyleTurbo(); break;
|
||||
case 17: GuiLoadStyleWisteria(); break;
|
||||
case 18: GuiLoadStyleAdvance(); break;
|
||||
case 19: GuiLoadStyleRLTech(); break;
|
||||
default: break;
|
||||
}
|
||||
|
||||
@ -244,7 +268,7 @@ int main()
|
||||
|
||||
GuiSetStyle(COMBOBOX, COMBO_BUTTON_WIDTH, 40);
|
||||
GuiComboBox((Rectangle){ 25, 480 + 20, 125, 30 },
|
||||
"default;Jungle;Lavanda;Dark;Bluish;Cyber;Terminal;Candy;Cherry;Ashes;Enefete;Sunny;Amber;Genesis", &visualStyleActive);
|
||||
"default;Jungle;Lavanda;Dark;Bluish;Cyber;Terminal;Candy;Cherry;Ashes;Enefete;Sunny;Amber;Genesis;Brick;Pocket;Turbo;Wisteria;Advance;RLTech", &visualStyleActive);
|
||||
|
||||
// NOTE: GuiDropdownBox must draw after any other control that can be covered on unfolding
|
||||
if (dropDown000EditMode || dropDown001EditMode) GuiUnlock();
|
||||
@ -305,10 +329,12 @@ int main()
|
||||
if (showMessageBox)
|
||||
{
|
||||
DrawRectangle(0, 0, GetScreenWidth(), GetScreenHeight(), Fade(RAYWHITE, 0.8f));
|
||||
int result = GuiMessageBox((Rectangle){ (float)GetScreenWidth()/2 - 125, (float)GetScreenHeight()/2 - 50, 250, 100 }, GuiIconText(ICON_EXIT, "Close Window"), "Do you really want to exit?", "Yes;No");
|
||||
int btnActive = -1;
|
||||
GuiMessageBox((Rectangle){ (float)GetScreenWidth()/2 - 125, (float)GetScreenHeight()/2 - 50, 250, 100 },
|
||||
GuiIconText(ICON_EXIT, "Close Window"), "Do you really want to exit?", "Yes;No", &btnActive);
|
||||
|
||||
if ((result == 0) || (result == 2)) showMessageBox = false;
|
||||
else if (result == 1) exitWindow = true;
|
||||
if ((btnActive == 0) || (btnActive == 2)) showMessageBox = false;
|
||||
else if (btnActive == 1) exitWindow = true;
|
||||
}
|
||||
|
||||
if (showTextInputBox)
|
||||
@ -316,16 +342,18 @@ int main()
|
||||
GuiUnlock();
|
||||
|
||||
DrawRectangle(0, 0, GetScreenWidth(), GetScreenHeight(), Fade(RAYWHITE, 0.8f));
|
||||
int result = GuiTextInputBox((Rectangle){ (float)GetScreenWidth()/2 - 120, (float)GetScreenHeight()/2 - 60, 240, 140 }, GuiIconText(ICON_FILE_SAVE, "Save file as..."), "Introduce output file name:", "Ok;Cancel", textInput, 255, NULL);
|
||||
int btnActive = -1;
|
||||
GuiTextInputBox((Rectangle){ (float)GetScreenWidth()/2 - 120, (float)GetScreenHeight()/2 - 60, 240, 140 },
|
||||
GuiIconText(ICON_FILE_SAVE, "Save file as..."), "Introduce output file name:", textInput, 255, "Ok;Cancel", &btnActive, NULL);
|
||||
|
||||
if (result == 1)
|
||||
if (btnActive == 1)
|
||||
{
|
||||
// TODO: Validate textInput value and save
|
||||
|
||||
TextCopy(textInputFileName, textInput);
|
||||
}
|
||||
|
||||
if ((result == 0) || (result == 1) || (result == 2))
|
||||
if ((btnActive == 0) || (btnActive == 1) || (btnActive == 2))
|
||||
{
|
||||
showTextInputBox = false;
|
||||
TextCopy(textInput, "\0");
|
||||
|
||||
@ -1,71 +0,0 @@
|
||||
/*******************************************************************************************
|
||||
*
|
||||
* raygui - controls test suite
|
||||
*
|
||||
* COMPILATION (Windows - MinGW):
|
||||
* gcc -o $(NAME_PART).exe $(FILE_NAME) -I../../src -lraylib -lopengl32 -lgdi32 -std=c99
|
||||
*
|
||||
* LICENSE: zlib/libpng
|
||||
*
|
||||
* Copyright (c) 2016-2024 Ramon Santamaria (@raysan5)
|
||||
*
|
||||
**********************************************************************************************/
|
||||
|
||||
#include "raylib.h"
|
||||
|
||||
#define RAYGUI_IMPLEMENTATION
|
||||
#include "../../src/raygui.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
//------------------------------------------------------------------------------------
|
||||
// Program main entry point
|
||||
//------------------------------------------------------------------------------------
|
||||
int main()
|
||||
{
|
||||
// Initialization
|
||||
//---------------------------------------------------------------------------------------
|
||||
const int screenWidth = 800;
|
||||
const int screenHeight = 450;
|
||||
|
||||
InitWindow(screenWidth, screenHeight, "raygui - controls test suite");
|
||||
|
||||
float valueBoxValue = 0.0f;
|
||||
bool valueBoxEditMode = false;
|
||||
char valueBoxTextValue[32] = { 0 };
|
||||
|
||||
SetTargetFPS(60);
|
||||
//--------------------------------------------------------------------------------------
|
||||
|
||||
// Main game loop
|
||||
while (!WindowShouldClose()) // Detect window close button or ESC key
|
||||
{
|
||||
// Update
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
// Draw
|
||||
//----------------------------------------------------------------------------------
|
||||
BeginDrawing();
|
||||
|
||||
ClearBackground(GetColor(GuiGetStyle(DEFAULT, BACKGROUND_COLOR)));
|
||||
|
||||
if (GuiValueBoxFloat((Rectangle){ 25, 175, 125, 30 }, NULL, valueBoxTextValue, &valueBoxValue, valueBoxEditMode))
|
||||
{
|
||||
valueBoxEditMode = !valueBoxEditMode;
|
||||
|
||||
printf("Value: %2.2f\n", valueBoxValue);
|
||||
}
|
||||
|
||||
EndDrawing();
|
||||
//----------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
// De-Initialization
|
||||
//--------------------------------------------------------------------------------------
|
||||
CloseWindow(); // Close window and OpenGL context
|
||||
//--------------------------------------------------------------------------------------
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -11,7 +11,7 @@
|
||||
// //
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define ADVANCE_STYLE_PROPS_COUNT 25
|
||||
#define ADVANCE_STYLE_PROPS_COUNT 26
|
||||
|
||||
// Custom style name: Advance
|
||||
static const GuiStyleProp advanceStyleProps[ADVANCE_STYLE_PROPS_COUNT] = {
|
||||
@ -31,6 +31,7 @@ static const GuiStyleProp advanceStyleProps[ADVANCE_STYLE_PROPS_COUNT] = {
|
||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||
{ 0, 18, (int)0x9eadd0ff }, // DEFAULT_LINE_COLOR
|
||||
{ 0, 19, (int)0xe6e6e6ff }, // DEFAULT_BACKGROUND_COLOR
|
||||
{ 0, 20, (int)0x00000006 }, // DEFAULT_TEXT_LINE_SPACING
|
||||
{ 1, 5, (int)0x917de2ff }, // LABEL_TEXT_COLOR_FOCUSED
|
||||
{ 1, 8, (int)0xffb033ff }, // LABEL_TEXT_COLOR_PRESSED
|
||||
{ 4, 5, (int)0xb0b0e1ff }, // SLIDER_TEXT_COLOR_FOCUSED
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
// //
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define BRICK_STYLE_PROPS_COUNT 17
|
||||
#define BRICK_STYLE_PROPS_COUNT 18
|
||||
|
||||
// Custom style name: Brick
|
||||
static const GuiStyleProp brickStyleProps[BRICK_STYLE_PROPS_COUNT] = {
|
||||
@ -29,6 +29,7 @@ static const GuiStyleProp brickStyleProps[BRICK_STYLE_PROPS_COUNT] = {
|
||||
{ 0, 11, (int)0x8c9c9eff }, // DEFAULT_TEXT_COLOR_DISABLED
|
||||
{ 0, 18, (int)0x71a8aeff }, // DEFAULT_LINE_COLOR
|
||||
{ 0, 19, (int)0xeff0f3ff }, // DEFAULT_BACKGROUND_COLOR
|
||||
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||
{ 1, 5, (int)0x568a90ff }, // LABEL_TEXT_COLOR_FOCUSED
|
||||
{ 9, 5, (int)0x5e9095ff }, // TEXTBOX_TEXT_COLOR_FOCUSED
|
||||
{ 10, 5, (int)0x639196ff }, // VALUEBOX_TEXT_COLOR_FOCUSED
|
||||
|
||||
@ -31,7 +31,7 @@ static const GuiStyleProp pocketStyleProps[POCKET_STYLE_PROPS_COUNT] = {
|
||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||
{ 0, 18, (int)0x56591eff }, // DEFAULT_LINE_COLOR
|
||||
{ 0, 19, (int)0xd9d9ceff }, // 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)
|
||||
|
||||
@ -30,7 +30,7 @@ static const GuiStyleProp turboStyleProps[TURBO_STYLE_PROPS_COUNT] = {
|
||||
{ 0, 16, (int)0x00000010 }, // DEFAULT_TEXT_SIZE
|
||||
{ 0, 18, (int)0xbbaf6cff }, // DEFAULT_LINE_COLOR
|
||||
{ 0, 19, (int)0x60645fff }, // DEFAULT_BACKGROUND_COLOR
|
||||
{ 0, 20, (int)0x00000018 }, // DEFAULT_TEXT_LINE_SPACING
|
||||
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||
{ 1, 8, (int)0xf0e4c4ff }, // LABEL_TEXT_COLOR_PRESSED
|
||||
{ 1, 11, (int)0x959680ff }, // LABEL_TEXT_COLOR_DISABLED
|
||||
{ 4, 8, (int)0xb4aa8dff }, // SLIDER_TEXT_COLOR_PRESSED
|
||||
|
||||
@ -31,7 +31,7 @@ static const GuiStyleProp wisteriaStyleProps[WISTERIA_STYLE_PROPS_COUNT] = {
|
||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||
{ 0, 18, (int)0x9b74d2ff }, // DEFAULT_LINE_COLOR
|
||||
{ 0, 19, (int)0xe9eaf6ff }, // DEFAULT_BACKGROUND_COLOR
|
||||
{ 0, 20, (int)0x00000012 }, // DEFAULT_TEXT_LINE_SPACING
|
||||
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||
{ 4, 3, (int)0xa9bdcfff }, // SLIDER_BORDER_COLOR_FOCUSED
|
||||
{ 4, 5, (int)0xacc4d8ff }, // SLIDER_TEXT_COLOR_FOCUSED
|
||||
{ 5, 3, (int)0xb5c7d9ff }, // PROGRESSBAR_BORDER_COLOR_FOCUSED
|
||||
|
||||
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
BIN
images/raygui_icons_v5.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
images/rguiicons_v400.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
images/rguilayout_v500.png
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
images/rguistyler_v600.png
Normal file
|
After Width: | Height: | Size: 121 KiB |
423
src/raygui.h
|
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 129 KiB |
@ -11,7 +11,7 @@
|
||||
// //
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define ADVANCE_STYLE_PROPS_COUNT 25
|
||||
#define ADVANCE_STYLE_PROPS_COUNT 26
|
||||
|
||||
// Custom style name: Advance
|
||||
static const GuiStyleProp advanceStyleProps[ADVANCE_STYLE_PROPS_COUNT] = {
|
||||
@ -31,6 +31,7 @@ static const GuiStyleProp advanceStyleProps[ADVANCE_STYLE_PROPS_COUNT] = {
|
||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||
{ 0, 18, (int)0x9eadd0ff }, // DEFAULT_LINE_COLOR
|
||||
{ 0, 19, (int)0xe6e6e6ff }, // DEFAULT_BACKGROUND_COLOR
|
||||
{ 0, 20, (int)0x00000006 }, // DEFAULT_TEXT_LINE_SPACING
|
||||
{ 1, 5, (int)0x917de2ff }, // LABEL_TEXT_COLOR_FOCUSED
|
||||
{ 1, 8, (int)0xffb033ff }, // LABEL_TEXT_COLOR_PRESSED
|
||||
{ 4, 5, (int)0xb0b0e1ff }, // SLIDER_TEXT_COLOR_FOCUSED
|
||||
|
||||
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
@ -25,6 +25,7 @@ p 00 16 0x0000000c TEXT_SIZE
|
||||
p 00 17 0x00000000 TEXT_SPACING
|
||||
p 00 18 0x9eadd0ff LINE_COLOR
|
||||
p 00 19 0xe6e6e6ff BACKGROUND_COLOR
|
||||
p 00 20 0x00000006 TEXT_LINE_SPACING
|
||||
p 01 05 0x917de2ff LABEL_TEXT_COLOR_FOCUSED
|
||||
p 01 08 0xffb033ff LABEL_TEXT_COLOR_PRESSED
|
||||
p 04 05 0xb0b0e1ff SLIDER_TEXT_COLOR_FOCUSED
|
||||
|
||||
|
Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 133 KiB |
|
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 104 KiB |
|
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 132 KiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 124 KiB |
@ -11,7 +11,7 @@
|
||||
// //
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define BRICK_STYLE_PROPS_COUNT 17
|
||||
#define BRICK_STYLE_PROPS_COUNT 18
|
||||
|
||||
// Custom style name: Brick
|
||||
static const GuiStyleProp brickStyleProps[BRICK_STYLE_PROPS_COUNT] = {
|
||||
@ -29,6 +29,7 @@ static const GuiStyleProp brickStyleProps[BRICK_STYLE_PROPS_COUNT] = {
|
||||
{ 0, 11, (int)0x8c9c9eff }, // DEFAULT_TEXT_COLOR_DISABLED
|
||||
{ 0, 18, (int)0x71a8aeff }, // DEFAULT_LINE_COLOR
|
||||
{ 0, 19, (int)0xeff0f3ff }, // DEFAULT_BACKGROUND_COLOR
|
||||
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||
{ 1, 5, (int)0x568a90ff }, // LABEL_TEXT_COLOR_FOCUSED
|
||||
{ 9, 5, (int)0x5e9095ff }, // TEXTBOX_TEXT_COLOR_FOCUSED
|
||||
{ 10, 5, (int)0x639196ff }, // VALUEBOX_TEXT_COLOR_FOCUSED
|
||||
|
||||
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
@ -23,6 +23,7 @@ p 00 10 0xc8d7d9ff DEFAULT_BASE_COLOR_DISABLED
|
||||
p 00 11 0x8c9c9eff DEFAULT_TEXT_COLOR_DISABLED
|
||||
p 00 18 0x71a8aeff LINE_COLOR
|
||||
p 00 19 0xeff0f3ff BACKGROUND_COLOR
|
||||
p 00 20 0x00000008 TEXT_LINE_SPACING
|
||||
p 01 05 0x568a90ff LABEL_TEXT_COLOR_FOCUSED
|
||||
p 09 05 0x5e9095ff TEXTBOX_TEXT_COLOR_FOCUSED
|
||||
p 10 05 0x639196ff VALUEBOX_TEXT_COLOR_FOCUSED
|
||||
|
||||
|
Before Width: | Height: | Size: 127 KiB After Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 144 KiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 107 KiB |
|
Before Width: | Height: | Size: 135 KiB After Width: | Height: | Size: 135 KiB |
|
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 121 KiB |
|
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 142 KiB |
|
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 116 KiB |
@ -31,7 +31,7 @@ static const GuiStyleProp pocketStyleProps[POCKET_STYLE_PROPS_COUNT] = {
|
||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||
{ 0, 18, (int)0x56591eff }, // DEFAULT_LINE_COLOR
|
||||
{ 0, 19, (int)0xd9d9ceff }, // 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)
|
||||
|
||||
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
@ -25,4 +25,4 @@ p 00 16 0x00000010 TEXT_SIZE
|
||||
p 00 17 0x00000000 TEXT_SPACING
|
||||
p 00 18 0x56591eff LINE_COLOR
|
||||
p 00 19 0xd9d9ceff BACKGROUND_COLOR
|
||||
p 00 20 0x00000018 TEXT_LINE_SPACING
|
||||
p 00 20 0x00000008 TEXT_LINE_SPACING
|
||||
|
||||
|
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 119 KiB |
|
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 119 KiB |
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 125 KiB |
@ -30,7 +30,7 @@ static const GuiStyleProp turboStyleProps[TURBO_STYLE_PROPS_COUNT] = {
|
||||
{ 0, 16, (int)0x00000010 }, // DEFAULT_TEXT_SIZE
|
||||
{ 0, 18, (int)0xbbaf6cff }, // DEFAULT_LINE_COLOR
|
||||
{ 0, 19, (int)0x60645fff }, // DEFAULT_BACKGROUND_COLOR
|
||||
{ 0, 20, (int)0x00000018 }, // DEFAULT_TEXT_LINE_SPACING
|
||||
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||
{ 1, 8, (int)0xf0e4c4ff }, // LABEL_TEXT_COLOR_PRESSED
|
||||
{ 1, 11, (int)0x959680ff }, // LABEL_TEXT_COLOR_DISABLED
|
||||
{ 4, 8, (int)0xb4aa8dff }, // SLIDER_TEXT_COLOR_PRESSED
|
||||
|
||||
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
@ -24,7 +24,7 @@ p 00 11 0x696a5dff DEFAULT_TEXT_COLOR_DISABLED
|
||||
p 00 16 0x00000010 TEXT_SIZE
|
||||
p 00 18 0xbbaf6cff LINE_COLOR
|
||||
p 00 19 0x60645fff BACKGROUND_COLOR
|
||||
p 00 20 0x00000018 TEXT_LINE_SPACING
|
||||
p 00 20 0x00000008 TEXT_LINE_SPACING
|
||||
p 01 08 0xf0e4c4ff LABEL_TEXT_COLOR_PRESSED
|
||||
p 01 11 0x959680ff LABEL_TEXT_COLOR_DISABLED
|
||||
p 04 08 0xb4aa8dff SLIDER_TEXT_COLOR_PRESSED
|
||||
|
||||
|
Before Width: | Height: | Size: 127 KiB After Width: | Height: | Size: 127 KiB |
@ -31,7 +31,7 @@ static const GuiStyleProp wisteriaStyleProps[WISTERIA_STYLE_PROPS_COUNT] = {
|
||||
{ 0, 17, (int)0x00000000 }, // DEFAULT_TEXT_SPACING
|
||||
{ 0, 18, (int)0x9b74d2ff }, // DEFAULT_LINE_COLOR
|
||||
{ 0, 19, (int)0xe9eaf6ff }, // DEFAULT_BACKGROUND_COLOR
|
||||
{ 0, 20, (int)0x00000012 }, // DEFAULT_TEXT_LINE_SPACING
|
||||
{ 0, 20, (int)0x00000008 }, // DEFAULT_TEXT_LINE_SPACING
|
||||
{ 4, 3, (int)0xa9bdcfff }, // SLIDER_BORDER_COLOR_FOCUSED
|
||||
{ 4, 5, (int)0xacc4d8ff }, // SLIDER_TEXT_COLOR_FOCUSED
|
||||
{ 5, 3, (int)0xb5c7d9ff }, // PROGRESSBAR_BORDER_COLOR_FOCUSED
|
||||
|
||||
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
@ -25,7 +25,7 @@ p 00 16 0x0000000c TEXT_SIZE
|
||||
p 00 17 0x00000000 TEXT_SPACING
|
||||
p 00 18 0x9b74d2ff LINE_COLOR
|
||||
p 00 19 0xe9eaf6ff BACKGROUND_COLOR
|
||||
p 00 20 0x00000012 TEXT_LINE_SPACING
|
||||
p 00 20 0x00000008 TEXT_LINE_SPACING
|
||||
p 04 03 0xa9bdcfff SLIDER_BORDER_COLOR_FOCUSED
|
||||
p 04 05 0xacc4d8ff SLIDER_TEXT_COLOR_FOCUSED
|
||||
p 05 03 0xb5c7d9ff PROGRESSBAR_BORDER_COLOR_FOCUSED
|
||||
|
||||