Remove rGuiStyler tool
Moved to own repo: https://github.com/raysan5/rguistyler
@ -1,38 +0,0 @@
|
||||
<img align="left" src="logo/rguistyler_256x256.png" width=256>
|
||||
|
||||
# rGuiStyler
|
||||
A simple and easy-to-use tool to edit raygui styles. Useful for imgui style customization. The best mate for [rGuiLayout](https://github.com/raysan5/raygui/tree/master/tools/rGuiStyler) tool.
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
## Features
|
||||
|
||||
- **Global style editing or control specific**
|
||||
- Preview new style in real time and test controls
|
||||
- Disabled control mode editing included (checkbox)
|
||||
- Save/Load your style as **.rgs (text or binary mode)**
|
||||
- Import style from raygui **.png** style file (drag&drop)
|
||||
- Color palette menu for quick save/selection
|
||||
- **Completely portable (single file)**
|
||||
- Free and open source
|
||||
|
||||
## Usage
|
||||
|
||||
The tool is pretty intuitive and easy-to-use, just choose the control to edit, the property to edit and select a color. Changes can be tested in real time in the same tool. Actually, updated style is directly applied to the same tool.
|
||||
|
||||
Once a style has been created, just save it as a **.rgs** file, it can be saved as text or binary mode.
|
||||
|
||||
## Screenshots
|
||||
|
||||

|
||||
|
||||
## License
|
||||
|
||||
rGuiStyler is free and open source software. rGuiStyler source code is licensed under an unmodified zlib/libpng license. Check [LICENSE](LICENSE) for further details.
|
||||
|
||||
Despite being completely free, consider a small donation for the development efforts or contributing to [raylib patreon](https://www.patreon.com/raysan5) to help the author keep working on free software for games development.
|
||||
|
||||
*Copyright (c) 2017-2018 raylib technologies ([@raysan5](https://twitter.com/raysan5))*
|
||||
@ -1,37 +0,0 @@
|
||||
<img align="left" src="../logo/rguistyler_128x128.png" width=128 height=128>
|
||||
|
||||
### rGuiStyler - tool evolution
|
||||
|
||||
*raygui_styler* tool development begin on mid-2015, [raygui](https://github.com/raysan5/raygui) project was started on December 2014 and after some time developing the library, a visual tool to customize style was required.
|
||||
|
||||
<br>
|
||||
|
||||
After some weeks of work, a first functional version of the visual style editor tool was released:
|
||||
|
||||

|
||||
|
||||
Tool kept improving with some required additions like style import/export support and color palette saving.
|
||||
|
||||

|
||||
|
||||
Despite being a quite useful tool, it was never published and it was left aside for about a year.
|
||||
|
||||
On **June 2016**, *raygui_styler* was picked up again to adapt to the new raygui improvements. At that moment lot of the tools internals get broken (despite visuals seem to work quite the same).
|
||||
|
||||

|
||||
|
||||
The first big change was a brand new raygui color picker, generated in real-time, with one single draw call and more functional than the previous one (based on a loaded texture). It was by the end of 2017.
|
||||
|
||||

|
||||
|
||||
**January 2017**, *raygui_styler*, renamed to **rGuiStyler** for raylib-based-tools naming consistency, suffered a big update. Previous list views for controls and properties were directly coded in the tool; with the new raygui list view control, they were not needed any more and were replaced by raygui based ones, tool layout was compacted and became more visual for the user.
|
||||
|
||||

|
||||
|
||||
Tool UI/UX kept improving day after day, trying different options and refining details at the same time that raygui kept growing with new controls and styling options.
|
||||
|
||||
After some months of continuous review, here it is the final result: **rGuiStyler v2.0**
|
||||
|
||||

|
||||
|
||||
*More screenshots about the tool design evolution could be found in this folder.*
|
||||
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 109 KiB |
|
Before Width: | Height: | Size: 107 KiB |
|
Before Width: | Height: | Size: 107 KiB |
|
Before Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 104 KiB |
|
Before Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 995 B |
|
Before Width: | Height: | Size: 1013 B |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 40 KiB |
7370
tools/rGuiStyler/src/external/tinyfiledialogs.c
vendored
325
tools/rGuiStyler/src/external/tinyfiledialogs.h
vendored
@ -1,325 +0,0 @@
|
||||
/*_________
|
||||
/ \ tinyfiledialogs.h v3.3.1 [Feb 16, 2018] zlib licence
|
||||
|tiny file| Unique header file created [November 9, 2014]
|
||||
| dialogs | Copyright (c) 2014 - 2018 Guillaume Vareille http://ysengrin.com
|
||||
\____ ___/ http://tinyfiledialogs.sourceforge.net
|
||||
\| git clone http://git.code.sf.net/p/tinyfiledialogs/code tinyfd
|
||||
____________________________________________
|
||||
| |
|
||||
| email: tinyfiledialogs at ysengrin.com |
|
||||
|____________________________________________|
|
||||
________________________________________________________________________
|
||||
| |
|
||||
| the windows only wchar_t UTF-16 prototypes are at the end of this file |
|
||||
|________________________________________________________________________|
|
||||
|
||||
Please 1) let me know If you are using it on exotic hardware / OS / compiler
|
||||
2) leave a 1-word review on Sourceforge.
|
||||
3) upvote my stackoverflow answer/advert https://stackoverflow.com/a/47651444
|
||||
|
||||
tiny file dialogs (cross-platform C C++)
|
||||
InputBox PasswordBox MessageBox ColorPicker
|
||||
OpenFileDialog SaveFileDialog SelectFolderDialog
|
||||
Native dialog library for WINDOWS MAC OSX GTK+ QT CONSOLE & more
|
||||
SSH supported via automatic switch to console mode or X11 forwarding
|
||||
|
||||
a C file + a header (add them to your C or C++ project) with 8 functions:
|
||||
- beep
|
||||
- notify popup
|
||||
- message & question
|
||||
- input & password
|
||||
- save file
|
||||
- open file(s)
|
||||
- select folder
|
||||
- color picker
|
||||
|
||||
Complements OpenGL GLFW GLUT GLUI VTK SFML TGUI SDL Ogre Unity3d ION OpenCV
|
||||
CEGUI MathGL GLM CPW GLOW IMGUI MyGUI GLT NGL STB & GUI less programs
|
||||
|
||||
NO INIT
|
||||
NO MAIN LOOP
|
||||
NO LINKING
|
||||
NO INCLUDE
|
||||
|
||||
The dialogs can be forced into console mode
|
||||
|
||||
Windows (XP to 10) ASCII MBCS UTF-8 UTF-16
|
||||
- native code & vbs create the graphic dialogs
|
||||
- enhanced console mode can use dialog.exe from
|
||||
http://andrear.altervista.org/home/cdialog.php
|
||||
- basic console input
|
||||
|
||||
Unix (command line calls) ASCII UTF-8
|
||||
- applescript, kdialog, zenity
|
||||
- python (2 or 3) + tkinter + python-dbus (optional)
|
||||
- dialog (opens a console if needed)
|
||||
- basic console input
|
||||
The same executable can run across desktops & distributions
|
||||
|
||||
C89 & C++98 compliant: tested with C & C++ compilers
|
||||
VisualStudio MinGW-gcc GCC Clang TinyCC OpenWatcom-v2 BorlandC SunCC
|
||||
on Windows Mac Linux Bsd Solaris Minix Raspbian
|
||||
using Gnome Kde Enlightenment Mate Cinnamon Unity Lxde Lxqt Xfce
|
||||
WindowMaker IceWm Cde Jds OpenBox Awesome Jwm Xdm
|
||||
|
||||
Bindings for LUA and C# dll, Haskell
|
||||
Included in LWJGL(java), Rust, Allegrobasic
|
||||
|
||||
- License -
|
||||
|
||||
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.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#ifndef TINYFILEDIALOGS_H
|
||||
#define TINYFILEDIALOGS_H
|
||||
|
||||
/* #define TINYFD_NOLIB */
|
||||
/* On windows, define TINYFD_NOLIB here
|
||||
if you don't want to include the code creating the graphic dialogs.
|
||||
Then you won't need to link against Comdlg32.lib and Ole32.lib */
|
||||
|
||||
/* if tinydialogs.c is compiled as C++ code rather than C code,
|
||||
you may need to comment out:
|
||||
extern "C" {
|
||||
and the corresponding closing bracket near the end of this file:
|
||||
}
|
||||
*/
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern char tinyfd_version[8]; /* contains tinyfd current version number */
|
||||
extern int tinyfd_verbose; /* 0 (default) or 1 : on unix, prints the command line calls */
|
||||
extern char tinyfd_needs[]; /* info about requirements */
|
||||
|
||||
#ifdef _WIN32
|
||||
/* for UTF-16 use the functions at the end of this files */
|
||||
extern int tinyfd_winUtf8; /* 0 (default MBCS) or 1 (UTF-8)*/
|
||||
/* on windows string char can be 0:MBCS or 1:UTF-8
|
||||
unless your code is really prepared for UTF-8 on windows, leave this on MBSC.
|
||||
Or you can use the UTF-16 (wchar) prototypes at the end of ths file.*/
|
||||
#endif
|
||||
|
||||
extern int tinyfd_forceConsole; /* 0 (default) or 1 */
|
||||
/* for unix & windows: 0 (graphic mode) or 1 (console mode).
|
||||
0: try to use a graphic solution, if it fails then it uses console mode.
|
||||
1: forces all dialogs into console mode even when an X server is present,
|
||||
if the package dialog (and a console is present) or dialog.exe is installed.
|
||||
on windows it only make sense for console applications */
|
||||
|
||||
extern char tinyfd_response[1024];
|
||||
/* if you pass "tinyfd_query" as aTitle,
|
||||
the functions will not display the dialogs
|
||||
but will return 0 for console mode, 1 for graphic mode.
|
||||
tinyfd_response is then filled with the retain solution.
|
||||
possible values for tinyfd_response are (all lowercase)
|
||||
for graphic mode:
|
||||
windows_wchar windows
|
||||
applescript kdialog zenity zenity3 matedialog qarma
|
||||
python2-tkinter python3-tkinter python-dbus perl-dbus
|
||||
gxmessage gmessage xmessage xdialog gdialog
|
||||
for console mode:
|
||||
dialog whiptail basicinput */
|
||||
|
||||
void tinyfd_beep();
|
||||
|
||||
int tinyfd_notifyPopup(
|
||||
char const * const aTitle, /* NULL or "" */
|
||||
char const * const aMessage, /* NULL or "" may contain \n \t */
|
||||
char const * const aIconType); /* "info" "warning" "error" */
|
||||
/* return has only meaning for tinyfd_query */
|
||||
|
||||
int tinyfd_messageBox(
|
||||
char const * const aTitle , /* NULL or "" */
|
||||
char const * const aMessage , /* NULL or "" may contain \n \t */
|
||||
char const * const aDialogType , /* "ok" "okcancel" "yesno" "yesnocancel" */
|
||||
char const * const aIconType , /* "info" "warning" "error" "question" */
|
||||
int const aDefaultButton ) ;
|
||||
/* 0 for cancel/no , 1 for ok/yes , 2 for no in yesnocancel */
|
||||
|
||||
char const * tinyfd_inputBox(
|
||||
char const * const aTitle , /* NULL or "" */
|
||||
char const * const aMessage , /* NULL or "" may NOT contain \n \t on windows */
|
||||
char const * const aDefaultInput ) ; /* "" , if NULL it's a passwordBox */
|
||||
/* returns NULL on cancel */
|
||||
|
||||
char const * tinyfd_saveFileDialog(
|
||||
char const * const aTitle , /* NULL or "" */
|
||||
char const * const aDefaultPathAndFile , /* NULL or "" */
|
||||
int const aNumOfFilterPatterns , /* 0 */
|
||||
char const * const * const aFilterPatterns , /* NULL | {"*.jpg","*.png"} */
|
||||
char const * const aSingleFilterDescription ) ; /* NULL | "text files" */
|
||||
/* returns NULL on cancel */
|
||||
|
||||
char const * tinyfd_openFileDialog(
|
||||
char const * const aTitle , /* NULL or "" */
|
||||
char const * const aDefaultPathAndFile , /* NULL or "" */
|
||||
int const aNumOfFilterPatterns , /* 0 */
|
||||
char const * const * const aFilterPatterns , /* NULL {"*.jpg","*.png"} */
|
||||
char const * const aSingleFilterDescription , /* NULL | "image files" */
|
||||
int const aAllowMultipleSelects ) ; /* 0 or 1 */
|
||||
/* in case of multiple files, the separator is | */
|
||||
/* returns NULL on cancel */
|
||||
|
||||
char const * tinyfd_selectFolderDialog(
|
||||
char const * const aTitle , /* NULL or "" */
|
||||
char const * const aDefaultPath ) ; /* NULL or "" */
|
||||
/* returns NULL on cancel */
|
||||
|
||||
char const * tinyfd_colorChooser(
|
||||
char const * const aTitle , /* NULL or "" */
|
||||
char const * const aDefaultHexRGB , /* NULL or "#FF0000" */
|
||||
unsigned char const aDefaultRGB[3] , /* { 0 , 255 , 255 } */
|
||||
unsigned char aoResultRGB[3] ) ; /* { 0 , 0 , 0 } */
|
||||
/* returns the hexcolor as a string "#FF0000" */
|
||||
/* aoResultRGB also contains the result */
|
||||
/* aDefaultRGB is used only if aDefaultHexRGB is NULL */
|
||||
/* aDefaultRGB and aoResultRGB can be the same array */
|
||||
/* returns NULL on cancel */
|
||||
|
||||
|
||||
/************ NOT CROSS PLATFORM SECTION STARTS HERE ************************/
|
||||
#ifdef _WIN32
|
||||
#ifndef TINYFD_NOLIB
|
||||
|
||||
/* windows only - utf-16 version */
|
||||
int tinyfd_notifyPopupW(
|
||||
wchar_t const * const aTitle, /* NULL or L"" */
|
||||
wchar_t const * const aMessage, /* NULL or L"" may contain \n \t */
|
||||
wchar_t const * const aIconType); /* L"info" L"warning" L"error" */
|
||||
|
||||
/* windows only - utf-16 version */
|
||||
int tinyfd_messageBoxW(
|
||||
wchar_t const * const aTitle , /* NULL or L"" */
|
||||
wchar_t const * const aMessage, /* NULL or L"" may contain \n \t */
|
||||
wchar_t const * const aDialogType, /* L"ok" L"okcancel" L"yesno" */
|
||||
wchar_t const * const aIconType, /* L"info" L"warning" L"error" L"question" */
|
||||
int const aDefaultButton ); /* 0 for cancel/no , 1 for ok/yes */
|
||||
/* returns 0 for cancel/no , 1 for ok/yes */
|
||||
|
||||
/* windows only - utf-16 version */
|
||||
wchar_t const * tinyfd_inputBoxW(
|
||||
wchar_t const * const aTitle, /* NULL or L"" */
|
||||
wchar_t const * const aMessage, /* NULL or L"" may NOT contain \n nor \t */
|
||||
wchar_t const * const aDefaultInput ); /* L"" , if NULL it's a passwordBox */
|
||||
|
||||
/* windows only - utf-16 version */
|
||||
wchar_t const * tinyfd_saveFileDialogW(
|
||||
wchar_t const * const aTitle, /* NULL or L"" */
|
||||
wchar_t const * const aDefaultPathAndFile, /* NULL or L"" */
|
||||
int const aNumOfFilterPatterns, /* 0 */
|
||||
wchar_t const * const * const aFilterPatterns, /* NULL or {L"*.jpg",L"*.png"} */
|
||||
wchar_t const * const aSingleFilterDescription); /* NULL or L"image files" */
|
||||
/* returns NULL on cancel */
|
||||
|
||||
/* windows only - utf-16 version */
|
||||
wchar_t const * tinyfd_openFileDialogW(
|
||||
wchar_t const * const aTitle, /* NULL or L"" */
|
||||
wchar_t const * const aDefaultPathAndFile, /* NULL or L"" */
|
||||
int const aNumOfFilterPatterns , /* 0 */
|
||||
wchar_t const * const * const aFilterPatterns, /* NULL {L"*.jpg",L"*.png"} */
|
||||
wchar_t const * const aSingleFilterDescription, /* NULL or L"image files" */
|
||||
int const aAllowMultipleSelects ) ; /* 0 or 1 */
|
||||
/* in case of multiple files, the separator is | */
|
||||
/* returns NULL on cancel */
|
||||
|
||||
/* windows only - utf-16 version */
|
||||
wchar_t const * tinyfd_selectFolderDialogW(
|
||||
wchar_t const * const aTitle, /* NULL or L"" */
|
||||
wchar_t const * const aDefaultPath); /* NULL or L"" */
|
||||
/* returns NULL on cancel */
|
||||
|
||||
/* windows only - utf-16 version */
|
||||
wchar_t const * tinyfd_colorChooserW(
|
||||
wchar_t const * const aTitle, /* NULL or L"" */
|
||||
wchar_t const * const aDefaultHexRGB, /* NULL or L"#FF0000" */
|
||||
unsigned char const aDefaultRGB[3] , /* { 0 , 255 , 255 } */
|
||||
unsigned char aoResultRGB[3] ) ; /* { 0 , 0 , 0 } */
|
||||
/* returns the hexcolor as a string L"#FF0000" */
|
||||
/* aoResultRGB also contains the result */
|
||||
/* aDefaultRGB is used only if aDefaultHexRGB is NULL */
|
||||
/* aDefaultRGB and aoResultRGB can be the same array */
|
||||
/* returns NULL on cancel */
|
||||
|
||||
|
||||
#endif /*TINYFD_NOLIB*/
|
||||
#else /*_WIN32*/
|
||||
|
||||
/* unix zenity only */
|
||||
char const * tinyfd_arrayDialog(
|
||||
char const * const aTitle , /* NULL or "" */
|
||||
int const aNumOfColumns , /* 2 */
|
||||
char const * const * const aColumns, /* {"Column 1","Column 2"} */
|
||||
int const aNumOfRows, /* 2 */
|
||||
char const * const * const aCells);
|
||||
/* {"Row1 Col1","Row1 Col2","Row2 Col1","Row2 Col2"} */
|
||||
|
||||
#endif /*_WIN32 */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* TINYFILEDIALOGS_H */
|
||||
|
||||
/*
|
||||
- This is not for android nor ios.
|
||||
- The code is pure C, perfectly compatible with C++.
|
||||
- the windows only wchar_t (utf-16) prototypes are in the header file
|
||||
- windows is fully supported from XP to 10 (maybe even older versions)
|
||||
- C# & LUA via dll, see example files
|
||||
- OSX supported from 10.4 to latest (maybe even older versions)
|
||||
- Avoid using " and ' in titles and messages.
|
||||
- There's one file filter only, it may contain several patterns.
|
||||
- If no filter description is provided,
|
||||
the list of patterns will become the description.
|
||||
- char const * filterPatterns[3] = { "*.obj" , "*.stl" , "*.dxf" } ;
|
||||
- On windows char defaults to MBCS, set tinyfd_winUtf8=1 to use UTF-8
|
||||
- On windows link against Comdlg32.lib and Ole32.lib
|
||||
This linking is not compulsary for console mode (see above).
|
||||
- On unix: it tries command line calls, so no such need.
|
||||
- On unix you need one of the following:
|
||||
applescript, kdialog, zenity, matedialog, shellementary, qarma,
|
||||
python (2 or 3)/tkinter/python-dbus (optional), Xdialog
|
||||
or dialog (opens terminal if running without console) or xterm.
|
||||
- One of those is already included on most (if not all) desktops.
|
||||
- In the absence of those it will use gdialog, gxmessage or whiptail
|
||||
with a textinputbox.
|
||||
- If nothing is found, it switches to basic console input,
|
||||
it opens a console if needed (requires xterm + bash).
|
||||
- Use windows separators on windows and unix separators on unix.
|
||||
- String memory is preallocated statically for all the returned values.
|
||||
- File and path names are tested before return, they are valid.
|
||||
- If you pass only a path instead of path + filename,
|
||||
make sure it ends with a separator.
|
||||
- tinyfd_forceConsole=1; at run time, forces dialogs into console mode.
|
||||
- On windows, console mode only make sense for console applications.
|
||||
- On windows, Console mode is not implemented for wchar_T UTF-16.
|
||||
- Mutiple selects are not allowed in console mode.
|
||||
- The package dialog must be installed to run in enhanced console mode.
|
||||
It is already installed on most unix systems.
|
||||
- On osx, the package dialog can be installed via
|
||||
http://macappstore.org/dialog or http://macports.org
|
||||
- On windows, for enhanced console mode,
|
||||
dialog.exe should be copied somewhere on your executable path.
|
||||
It can be found at the bottom of the following page:
|
||||
http://andrear.altervista.org/home/cdialog.php
|
||||
- If dialog is missing, it will switch to basic console input.
|
||||
- You can query the type of dialog that will be use.
|
||||
- MinGW needs gcc >= v4.9 otherwise some headers are incomplete.
|
||||
- The Hello World (and a bit more) is on the sourceforge site:
|
||||
*/
|
||||
@ -1,895 +0,0 @@
|
||||
/*******************************************************************************************
|
||||
*
|
||||
* rGuiStyler v2.1 - raygui Style Editor
|
||||
*
|
||||
* Compile this program using:
|
||||
* gcc -o rguistyler.exe rguistyler.c external/tinyfiledialogs.c -I..\.. \
|
||||
* -lraylib -lopengl32 -lgdi32 -lcomdlg32 -lole32 -std=c99 -Wall
|
||||
*
|
||||
* CONTRIBUTORS:
|
||||
* Ramon Santamaria: Supervision, review, redesign, update and maintenance...
|
||||
* Adria Arranz: Reimplementation and new features v2.0 (2018)
|
||||
* Jordi Jorba: Reimplementation and new features v2.0 (2018)
|
||||
* Sergio Martinez: Implementation and testing v1.0 (2015..2017)
|
||||
*
|
||||
* LICENSE: zlib/libpng
|
||||
*
|
||||
* Copyright (c) 2014-2018 raylib technologies (@raysan5)
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose, including commercial
|
||||
* applications, and to alter it and redistribute it freely, subject to the following restrictions:
|
||||
*
|
||||
* 1. The origin of this software must not be misrepresented; you must not claim that you
|
||||
* wrote the original software. If you use this software in a product, an acknowledgment
|
||||
* in the product documentation would be appreciated but is not required.
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and must not be misrepresented
|
||||
* as being the original software.
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
*
|
||||
**********************************************************************************************/
|
||||
|
||||
#include "raylib.h"
|
||||
|
||||
#define RAYGUI_IMPLEMENTATION
|
||||
#define RAYGUI_STYLE_SAVE_LOAD
|
||||
#define RAYGUI_STYLE_DEFAULT_LIGHT 1
|
||||
#include "raygui.h"
|
||||
|
||||
#include "external/tinyfiledialogs.h" // Open/Save file dialogs
|
||||
|
||||
#include "raygui_style_table_light.h" // Image table data
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <direct.h>
|
||||
#define GetCurrentDir _getcwd
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#define GetCurrentDir getcwd
|
||||
#endif
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Defines and Macros
|
||||
//----------------------------------------------------------------------------------
|
||||
#define NUM_CONTROLS 13
|
||||
#define NUM_STYLES_A 4
|
||||
#define NUM_STYLES_B 8
|
||||
#define NUM_STYLES_C 14
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Types and Structures Definition
|
||||
//----------------------------------------------------------------------------------
|
||||
typedef enum {
|
||||
DEFAULT = 0,
|
||||
LABELBUTTON,
|
||||
BUTTON,
|
||||
//IMAGEBUTTON,
|
||||
TOGGLE,
|
||||
//TOGGLEGROUP,
|
||||
SLIDER,
|
||||
SLIDERBAR,
|
||||
PROGRESSBAR,
|
||||
CHECKBOX,
|
||||
SPINNER,
|
||||
COMBOBOX,
|
||||
TEXTBOX,
|
||||
LISTVIEW,
|
||||
COLORPICKER
|
||||
} GuiControlType;
|
||||
|
||||
typedef enum {
|
||||
BORDER_COLOR_NORMAL = 0,
|
||||
BASE_COLOR_NORMAL,
|
||||
TEXT_COLOR_NORMAL,
|
||||
BORDER_COLOR_FOCUSED,
|
||||
BASE_COLOR_FOCUSED,
|
||||
TEXT_COLOR_FOCUSED,
|
||||
BORDER_COLOR_PRESSED,
|
||||
BASE_COLOR_PRESSED,
|
||||
TEXT_COLOR_PRESSED,
|
||||
BORDER_COLOR_DISABLED,
|
||||
BASE_COLOR_DISABLED,
|
||||
TEXT_COLOR_DISABLED
|
||||
} GuiStyleType;
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Global Variables Definition
|
||||
//----------------------------------------------------------------------------------
|
||||
static char currentPath[256]; // Path to current working folder
|
||||
|
||||
static int styleBackup[NUM_PROPERTIES] = { 0 };
|
||||
|
||||
// NOTE: Some styles are shared by multiple controls:
|
||||
// LABEL = LABELBUTTON
|
||||
// BUTTON = IMAGEBUTTON
|
||||
// TOGGLE = TOGGLEGROUP
|
||||
const char *guiControlText[NUM_CONTROLS] = {
|
||||
"DEFAULT",
|
||||
"LABELBUTTON",
|
||||
"BUTTON",
|
||||
//"IMAGEBUTTON",
|
||||
"TOGGLE",
|
||||
//"TOGGLEGROUP",
|
||||
"SLIDER",
|
||||
"SLIDERBAR",
|
||||
"PROGRESSBAR",
|
||||
"CHECKBOX",
|
||||
"SPINNER",
|
||||
"COMBOBOX",
|
||||
"TEXTBOX",
|
||||
"LISTVIEW",
|
||||
"COLORPICKER"
|
||||
};
|
||||
|
||||
// NOTE: Used by controls: Label, LabelButton
|
||||
const char *guiStylesTextA[NUM_STYLES_A] = {
|
||||
"TEXT_COLOR_NORMAL",
|
||||
"TEXT_COLOR_FOCUSED",
|
||||
"TEXT_COLOR_PRESSED",
|
||||
"TEXT_COLOR_DISABLED"
|
||||
};
|
||||
|
||||
//Note: Used by controls: Slider, SliderBar, ProgressBar, Checkbox, ColorPicker
|
||||
const char *guiStylesTextB[NUM_STYLES_B] = {
|
||||
"BORDER_COLOR_NORMAL",
|
||||
"BASE_COLOR_NORMAL",
|
||||
"BORDER_COLOR_FOCUSED",
|
||||
"BASE_COLOR_FOCUSED",
|
||||
"BORDER_COLOR_PRESSED",
|
||||
"BASE_COLOR_PRESSED",
|
||||
"BORDER_COLOR_DISABLED",
|
||||
"BASE_COLOR_DISABLED",
|
||||
};
|
||||
|
||||
//Note: Used by controls: Button, ImageButton, Toggle, ToggleGroup, Spinner, ComboBox, TextBox, ListView
|
||||
const char *guiStylesTextC[NUM_STYLES_C] = {
|
||||
"BORDER_COLOR_NORMAL",
|
||||
"BASE_COLOR_NORMAL",
|
||||
"TEXT_COLOR_NORMAL",
|
||||
"BORDER_COLOR_FOCUSED",
|
||||
"BASE_COLOR_FOCUSED",
|
||||
"TEXT_COLOR_FOCUSED",
|
||||
"BORDER_COLOR_PRESSED",
|
||||
"BASE_COLOR_PRESSED",
|
||||
"TEXT_COLOR_PRESSED",
|
||||
"BORDER_COLOR_DISABLED",
|
||||
"BASE_COLOR_DISABLED",
|
||||
"TEXT_COLOR_DISABLED",
|
||||
"BACKGROUND_COLOR",
|
||||
"LINES_COLOR"
|
||||
};
|
||||
|
||||
const char *guiPropertyText[NUM_PROPERTIES] = {
|
||||
"DEFAULT_BACKGROUND_COLOR",
|
||||
"DEFAULT_LINES_COLOR",
|
||||
"DEFAULT_TEXT_FONT",
|
||||
"DEFAULT_TEXT_SIZE",
|
||||
"DEFAULT_BORDER_WIDTH",
|
||||
"DEFAULT_BORDER_COLOR_NORMAL",
|
||||
"DEFAULT_BASE_COLOR_NORMAL",
|
||||
"DEFAULT_TEXT_COLOR_NORMAL",
|
||||
"DEFAULT_BORDER_COLOR_FOCUSED",
|
||||
"DEFAULT_BASE_COLOR_FOCUSED",
|
||||
"DEFAULT_TEXT_COLOR_FOCUSED",
|
||||
"DEFAULT_BORDER_COLOR_PRESSED",
|
||||
"DEFAULT_BASE_COLOR_PRESSED",
|
||||
"DEFAULT_TEXT_COLOR_PRESSED",
|
||||
"DEFAULT_BORDER_COLOR_DISABLED",
|
||||
"DEFAULT_BASE_COLOR_DISABLED",
|
||||
"DEFAULT_TEXT_COLOR_DISABLED",
|
||||
"LABEL_TEXT_COLOR_NORMAL",
|
||||
"LABEL_TEXT_COLOR_FOCUSED",
|
||||
"LABEL_TEXT_COLOR_PRESSED",
|
||||
"LABEL_TEXT_COLOR_DISABLED",
|
||||
"BUTTON_BORDER_WIDTH",
|
||||
"BUTTON_BORDER_COLOR_NORMAL",
|
||||
"BUTTON_BASE_COLOR_NORMAL",
|
||||
"BUTTON_TEXT_COLOR_NORMAL",
|
||||
"BUTTON_BORDER_COLOR_FOCUSED",
|
||||
"BUTTON_BASE_COLOR_FOCUSED",
|
||||
"BUTTON_TEXT_COLOR_FOCUSED",
|
||||
"BUTTON_BORDER_COLOR_PRESSED",
|
||||
"BUTTON_BASE_COLOR_PRESSED",
|
||||
"BUTTON_TEXT_COLOR_PRESSED",
|
||||
"BUTTON_BORDER_COLOR_DISABLED",
|
||||
"BUTTON_BASE_COLOR_DISABLED",
|
||||
"BUTTON_TEXT_COLOR_DISABLED",
|
||||
"TOGGLE_BORDER_WIDTH",
|
||||
"TOGGLE_BORDER_COLOR_NORMAL",
|
||||
"TOGGLE_BASE_COLOR_NORMAL",
|
||||
"TOGGLE_TEXT_COLOR_NORMAL",
|
||||
"TOGGLE_BORDER_COLOR_FOCUSED",
|
||||
"TOGGLE_BASE_COLOR_FOCUSED",
|
||||
"TOGGLE_TEXT_COLOR_FOCUSED",
|
||||
"TOGGLE_BORDER_COLOR_PRESSED",
|
||||
"TOGGLE_BASE_COLOR_PRESSED",
|
||||
"TOGGLE_TEXT_COLOR_PRESSED",
|
||||
"TOGGLE_BORDER_COLOR_DISABLED",
|
||||
"TOGGLE_BASE_COLOR_DISABLED",
|
||||
"TOGGLE_TEXT_COLOR_DISABLED",
|
||||
"TOGGLEGROUP_PADDING",
|
||||
"SLIDER_BORDER_WIDTH",
|
||||
"SLIDER_SLIDER_WIDTH",
|
||||
"SLIDER_BORDER_COLOR_NORMAL",
|
||||
"SLIDER_BASE_COLOR_NORMAL",
|
||||
"SLIDER_BORDER_COLOR_FOCUSED",
|
||||
"SLIDER_BASE_COLOR_FOCUSED",
|
||||
"SLIDER_BORDER_COLOR_PRESSED",
|
||||
"SLIDER_BASE_COLOR_PRESSED",
|
||||
"SLIDER_BORDER_COLOR_DISABLED",
|
||||
"SLIDER_BASE_COLOR_DISABLED",
|
||||
"SLIDERBAR_INNER_PADDING",
|
||||
"SLIDERBAR_BORDER_WIDTH",
|
||||
"SLIDERBAR_BORDER_COLOR_NORMAL",
|
||||
"SLIDERBAR_BASE_COLOR_NORMAL",
|
||||
"SLIDERBAR_BORDER_COLOR_FOCUSED",
|
||||
"SLIDERBAR_BASE_COLOR_FOCUSED",
|
||||
"SLIDERBAR_BORDER_COLOR_PRESSED",
|
||||
"SLIDERBAR_BASE_COLOR_PRESSED",
|
||||
"SLIDERBAR_BORDER_COLOR_DISABLED",
|
||||
"SLIDERBAR_BASE_COLOR_DISABLED",
|
||||
"PROGRESSBAR_INNER_PADDING",
|
||||
"PROGRESSBAR_BORDER_WIDTH",
|
||||
"PROGRESSBAR_BORDER_COLOR_NORMAL",
|
||||
"PROGRESSBAR_BASE_COLOR_NORMAL",
|
||||
"PROGRESSBAR_BORDER_COLOR_FOCUSED",
|
||||
"PROGRESSBAR_BASE_COLOR_FOCUSED",
|
||||
"PROGRESSBAR_BORDER_COLOR_PRESSED",
|
||||
"PROGRESSBAR_BASE_COLOR_PRESSED",
|
||||
"PROGRESSBAR_BORDER_COLOR_DISABLED",
|
||||
"PROGRESSBAR_BASE_COLOR_DISABLED",
|
||||
"SPINNER_BUTTON_PADDING",
|
||||
"SPINNER_BUTTONS_WIDTH",
|
||||
"SPINNER_BORDER_COLOR_NORMAL",
|
||||
"SPINNER_BASE_COLOR_NORMAL",
|
||||
"SPINNER_TEXT_COLOR_NORMAL",
|
||||
"SPINNER_BORDER_COLOR_FOCUSED",
|
||||
"SPINNER_BASE_COLOR_FOCUSED",
|
||||
"SPINNER_TEXT_COLOR_FOCUSED",
|
||||
"SPINNER_BORDER_COLOR_PRESSED",
|
||||
"SPINNER_BASE_COLOR_PRESSED",
|
||||
"SPINNER_TEXT_COLOR_PRESSED",
|
||||
"SPINNER_BORDER_COLOR_DISABLED",
|
||||
"SPINNER_BASE_COLOR_DISABLED",
|
||||
"SPINNER_TEXT_COLOR_DISABLED",
|
||||
"COMBOBOX_BORDER_WIDTH",
|
||||
"COMBOBOX_BUTTON_PADDING",
|
||||
"COMBOBOX_SELECTOR_WIDTH",
|
||||
"COMBOBOX_BORDER_COLOR_NORMAL",
|
||||
"COMBOBOX_BASE_COLOR_NORMAL",
|
||||
"COMBOBOX_TEXT_COLOR_NORMAL",
|
||||
"COMBOBOX_BORDER_COLOR_FOCUSED",
|
||||
"COMBOBOX_BASE_COLOR_FOCUSED",
|
||||
"COMBOBOX_TEXT_COLOR_FOCUSED",
|
||||
"COMBOBOX_BORDER_COLOR_PRESSED",
|
||||
"COMBOBOX_BASE_COLOR_PRESSED",
|
||||
"COMBOBOX_TEXT_COLOR_PRESSED",
|
||||
"COMBOBOX_BORDER_COLOR_DISABLED",
|
||||
"COMBOBOX_BASE_COLOR_DISABLED",
|
||||
"COMBOBOX_TEXT_COLOR_DISABLED",
|
||||
"CHECKBOX_BORDER_WIDTH",
|
||||
"CHECKBOX_INNER_PADDING",
|
||||
"CHECKBOX_BORDER_COLOR_NORMAL",
|
||||
"CHECKBOX_BASE_COLOR_NORMAL",
|
||||
"CHECKBOX_BORDER_COLOR_FOCUSED",
|
||||
"CHECKBOX_BASE_COLOR_FOCUSED",
|
||||
"CHECKBOX_BORDER_COLOR_PRESSED",
|
||||
"CHECKBOX_BASE_COLOR_PRESSED",
|
||||
"CHECKBOX_BORDER_COLOR_DISABLED",
|
||||
"CHECKBOX_BASE_COLOR_DISABLED",
|
||||
"TEXTBOX_BORDER_WIDTH",
|
||||
"TEXTBOX_BORDER_COLOR_NORMAL",
|
||||
"TEXTBOX_BASE_COLOR_NORMAL",
|
||||
"TEXTBOX_TEXT_COLOR_NORMAL",
|
||||
"TEXTBOX_BORDER_COLOR_FOCUSED",
|
||||
"TEXTBOX_BASE_COLOR_FOCUSED",
|
||||
"TEXTBOX_TEXT_COLOR_FOCUSED",
|
||||
"TEXTBOX_BORDER_COLOR_PRESSED",
|
||||
"TEXTBOX_BASE_COLOR_PRESSED",
|
||||
"TEXTBOX_TEXT_COLOR_PRESSED",
|
||||
"TEXTBOX_BORDER_COLOR_DISABLED",
|
||||
"TEXTBOX_BASE_COLOR_DISABLED",
|
||||
"TEXTBOX_TEXT_COLOR_DISABLED",
|
||||
"COLORPICKER_BARS_THICK",
|
||||
"COLORPICKER_BARS_PADDING",
|
||||
"COLORPICKER_BORDER_COLOR_NORMAL",
|
||||
"COLORPICKER_BASE_COLOR_NORMAL",
|
||||
"COLORPICKER_BORDER_COLOR_FOCUSED",
|
||||
"COLORPICKER_BASE_COLOR_FOCUSED",
|
||||
"COLORPICKER_BORDER_COLOR_PRESSED",
|
||||
"COLORPICKER_BASE_COLOR_PRESSED",
|
||||
"COLORPICKER_BORDER_COLOR_DISABLED",
|
||||
"COLORPICKER_BASE_COLOR_DISABLED",
|
||||
"LISTVIEW_ELEMENTS_HEIGHT",
|
||||
"LISTVIEW_ELEMENTS_PADDING",
|
||||
"LISTVIEW_BAR_WIDTH",
|
||||
"LISTVIEW_BORDER_COLOR_NORMAL",
|
||||
"LISTVIEW_BASE_COLOR_NORMAL",
|
||||
"LISTVIEW_TEXT_COLOR_NORMAL",
|
||||
"LISTVIEW_BORDER_COLOR_FOCUSED",
|
||||
"LISTVIEW_BASE_COLOR_FOCUSED",
|
||||
"LISTVIEW_TEXT_COLOR_FOCUSED",
|
||||
"LISTVIEW_BORDER_COLOR_PRESSED",
|
||||
"LISTVIEW_BASE_COLOR_PRESSED",
|
||||
"LISTVIEW_TEXT_COLOR_PRESSED",
|
||||
"LISTVIEW_BORDER_COLOR_DISABLED",
|
||||
"LISTVIEW_BASE_COLOR_DISABLED",
|
||||
"LISTVIEW_TEXT_COLOR_DISABLED"
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Module Functions Declaration
|
||||
//----------------------------------------------------------------------------------
|
||||
static void BtnLoadStyle(void); // Button load style function
|
||||
static void BtnSaveStyle(const char *defaultName, bool binary); // Button save style function
|
||||
|
||||
static void SaveStyleRGS(const char *fileName, bool binary); // Save raygui style file (.rgs), text or binary
|
||||
static void GenImageControlsTable(void); // Generate controls table image
|
||||
|
||||
static int GetGuiStylePropertyIndex(int control, int property);
|
||||
static Color ColorBox(Rectangle bounds, Color *colorPicker, Color color);
|
||||
|
||||
static bool cancelSave = false; // Used for saving styles
|
||||
|
||||
//------------------------------------------------------------------------------------
|
||||
// Program main entry point
|
||||
//------------------------------------------------------------------------------------
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
// Initialization
|
||||
//--------------------------------------------------------------------------------------
|
||||
const int screenWidth = 720;
|
||||
const int screenHeight = 640;
|
||||
|
||||
//SetConfigFlags(FLAG_WINDOW_RESIZABLE);
|
||||
InitWindow(screenWidth, screenHeight, "rGuiStyler v2.1 - raygui style editor");
|
||||
SetExitKey(0);
|
||||
|
||||
int dropsCount = 0;
|
||||
char **droppedFiles;
|
||||
|
||||
int framesCounter = 0;
|
||||
|
||||
int guiPosX = 336;
|
||||
int guiPosY = 36;
|
||||
Vector2 anchor01 = { 0, 0 };
|
||||
Vector2 anchor02 = { 345, 40 };
|
||||
bool saveColor = false;
|
||||
|
||||
int changedControlsCounter = 0;
|
||||
|
||||
// Define gui controls rectangles
|
||||
Rectangle bounds[NUM_CONTROLS] = {
|
||||
(Rectangle){ 0 }, // DEFAULT
|
||||
(Rectangle){ anchor02.x + 85, anchor02.y + 35, 145, 25 }, // LABELBUTTON
|
||||
(Rectangle){ anchor02.x + 195, anchor02.y + 240, 160, 30 }, // BUTTON
|
||||
//(Rectangle){ guiPosX + 251, guiPosY + 5, 113, 32 }, // IMAGEBUTTON
|
||||
(Rectangle){ anchor02.x + 10, anchor02.y + 70, 65, 30 }, // TOGGLE
|
||||
//(Rectangle){ guiPosX + 98, guiPosY + 54, 65, 30 }, // TOGGLEGROUP
|
||||
(Rectangle){ anchor02.x + 75, anchor02.y + 115, 250, 15 }, // SLIDER
|
||||
(Rectangle){ anchor02.x + 75, anchor02.y + 140, 250, 15 }, // SLIDERBAR
|
||||
(Rectangle){ anchor02.x + 10, anchor02.y + 165, 315, 15 }, // PROGRESSBAR
|
||||
(Rectangle){ anchor02.x + 270, anchor02.y + 38, 20, 20 }, // CHECKBOX
|
||||
(Rectangle){ anchor02.x + 240, anchor02.y + 195, 115, 30 }, // SPINNER
|
||||
(Rectangle){ anchor02.x + 10, anchor02.y + 195, 110, 30 }, // COMBOBOX
|
||||
(Rectangle){ anchor02.x + 10, anchor02.y + 240, 180, 30 }, // TEXTBOX
|
||||
(Rectangle){ anchor01.x + 10, anchor01.y + 40, 140, 560 }, // LISTVIEW
|
||||
(Rectangle){ anchor02.x + 10, anchor02.y + 300, 240, 240 } // COLORPICKER
|
||||
};
|
||||
|
||||
// Keep a backup for style
|
||||
memcpy(styleBackup, style, NUM_PROPERTIES*sizeof(int));
|
||||
|
||||
// Gui controls data
|
||||
//-----------------------------------------------------------
|
||||
bool toggle = false;
|
||||
bool toggleValue = false;
|
||||
const char *toggleGuiText[4] = { "toggle", "group", "selection", "options" };
|
||||
|
||||
int dropdownBoxActive = false;
|
||||
const char *dropdownBoxList[3] = { "dropdown", "selection", "options" };
|
||||
|
||||
float sliderValue = 50.0f;
|
||||
float sliderBarValue = 20.0f;
|
||||
float progressValue = 0.0f;
|
||||
|
||||
bool checked = false;
|
||||
|
||||
bool selectingColor = false;
|
||||
|
||||
int spinnerValue = 28;
|
||||
|
||||
Vector2 mousePos = { 0 };
|
||||
|
||||
int comboNum = 2;
|
||||
const char *comboText[2] = { "Text (.rgs)", "Binary (.rgs)" };
|
||||
int comboActive = 0;
|
||||
|
||||
char guiText[32] = "custom_style.rgs";
|
||||
|
||||
Color colorPickerValue = RED;
|
||||
|
||||
int currentSelectedControl = -1;
|
||||
int currentSelectedProperty = -1;
|
||||
int previousSelectedProperty = -1;
|
||||
int previousSelectedControl = -1;
|
||||
|
||||
Color colorBoxValue[12];
|
||||
|
||||
for (int i = 0; i < 12; i++) colorBoxValue[i] = GetColor(style[DEFAULT_BORDER_COLOR_NORMAL + i]);
|
||||
|
||||
char colorHex[9] = "00000000";
|
||||
|
||||
Vector3 colorHSV = { 0.0f, 0.0f, 0.0f };
|
||||
|
||||
bool editFilenameText = false;
|
||||
bool editHexColorText = false;
|
||||
|
||||
// Exit variables
|
||||
bool exitWindow = false;
|
||||
bool closingWindowActive = false;
|
||||
|
||||
SetTargetFPS(60);
|
||||
//------------------------------------------------------------
|
||||
|
||||
// Main game loop
|
||||
while (!exitWindow) // Detect window close button or ESC key
|
||||
{
|
||||
// Update
|
||||
//----------------------------------------------------------------------------------
|
||||
framesCounter++;
|
||||
|
||||
if (WindowShouldClose()) exitWindow = true;
|
||||
|
||||
// Check for changed controls
|
||||
if ((framesCounter%120) == 0)
|
||||
{
|
||||
changedControlsCounter = 0;
|
||||
for (int i = 0; i < NUM_PROPERTIES; i++) if (styleBackup[i] != style[i]) changedControlsCounter++;
|
||||
}
|
||||
|
||||
// Show save layout message window on ESC
|
||||
if (IsKeyPressed(KEY_ESCAPE))
|
||||
{
|
||||
if (changedControlsCounter <= 0) exitWindow = true;
|
||||
else
|
||||
{
|
||||
closingWindowActive = !closingWindowActive;
|
||||
}
|
||||
}
|
||||
|
||||
// Get mouse position each frame
|
||||
mousePos = GetMousePosition();
|
||||
|
||||
// Export controls table image
|
||||
if (IsKeyDown(KEY_LEFT_CONTROL) && IsKeyPressed(KEY_E)) GenImageControlsTable();
|
||||
|
||||
// Check for dropped files
|
||||
if (IsFileDropped())
|
||||
{
|
||||
currentSelectedControl = -1;
|
||||
droppedFiles = GetDroppedFiles(&dropsCount);
|
||||
|
||||
if (IsFileExtension(droppedFiles[0], ".rgs")) GuiLoadStyle(droppedFiles[0]);
|
||||
else if (IsFileExtension(droppedFiles[0], ".png")) GuiLoadStyleImage(droppedFiles[0]);
|
||||
|
||||
for (int i = 0; i < 12; i++) colorBoxValue[i] = GetColor(style[DEFAULT_BORDER_COLOR_NORMAL + i]);
|
||||
|
||||
ClearDroppedFiles();
|
||||
}
|
||||
|
||||
if ((previousSelectedControl != currentSelectedControl)) currentSelectedProperty = -1;
|
||||
|
||||
if ((currentSelectedControl == 0) && (currentSelectedProperty != -1))
|
||||
{
|
||||
if ((previousSelectedProperty != currentSelectedProperty) || (previousSelectedControl != currentSelectedControl)) saveColor = false;
|
||||
|
||||
if (!saveColor)
|
||||
{
|
||||
colorPickerValue = GetColor(style[GetGuiStylePropertyIndex(currentSelectedControl, currentSelectedProperty)]);
|
||||
saveColor = true;
|
||||
}
|
||||
|
||||
style[GetGuiStylePropertyIndex(currentSelectedControl, currentSelectedProperty)] = ColorToInt(colorPickerValue);
|
||||
|
||||
// TODO: REVIEW: Resets all updated controls!
|
||||
GuiUpdateStyleComplete();
|
||||
}
|
||||
else if ((currentSelectedControl != -1) && (currentSelectedProperty != -1))
|
||||
{
|
||||
if ((previousSelectedProperty != currentSelectedProperty) || (previousSelectedControl != currentSelectedControl)) saveColor = false;
|
||||
|
||||
if (!saveColor)
|
||||
{
|
||||
colorPickerValue = GetColor(GuiGetStyleProperty(GetGuiStylePropertyIndex(currentSelectedControl, currentSelectedProperty)));
|
||||
saveColor = true;
|
||||
}
|
||||
|
||||
GuiSetStyleProperty(GetGuiStylePropertyIndex(currentSelectedControl, currentSelectedProperty), ColorToInt(colorPickerValue));
|
||||
}
|
||||
|
||||
previousSelectedProperty = currentSelectedProperty;
|
||||
previousSelectedControl = currentSelectedControl;
|
||||
|
||||
// Update progress bar automatically
|
||||
progressValue += 0.0005f;
|
||||
if (progressValue > 1.0f) progressValue = 0.0f;
|
||||
|
||||
// Get edited color from text box
|
||||
if (!editHexColorText) sprintf(colorHex, "%02X%02X%02X%02X", colorPickerValue.r, colorPickerValue.g, colorPickerValue.b, colorPickerValue.a);
|
||||
|
||||
colorHSV = ColorToHSV(colorPickerValue);
|
||||
|
||||
if (CheckCollisionPointRec(mousePos, bounds[COLORPICKER]))
|
||||
{
|
||||
if (IsMouseButtonPressed(MOUSE_LEFT_BUTTON)) selectingColor = true;
|
||||
}
|
||||
|
||||
if (IsMouseButtonReleased(MOUSE_LEFT_BUTTON))
|
||||
{
|
||||
selectingColor = false;
|
||||
ShowCursor();
|
||||
}
|
||||
|
||||
if (selectingColor)
|
||||
{
|
||||
HideCursor();
|
||||
if (mousePos.x < bounds[COLORPICKER].x) SetMousePosition((Vector2){ bounds[COLORPICKER].x, mousePos.y });
|
||||
else if (mousePos.x > bounds[COLORPICKER].x + bounds[COLORPICKER].width) SetMousePosition((Vector2){ bounds[COLORPICKER].x + bounds[COLORPICKER].width, mousePos.y });
|
||||
|
||||
if (mousePos.y < bounds[COLORPICKER].y) SetMousePosition((Vector2){ mousePos.x, bounds[COLORPICKER].y });
|
||||
else if (mousePos.y > bounds[COLORPICKER].y + bounds[COLORPICKER].height) SetMousePosition((Vector2){ mousePos.x, bounds[COLORPICKER].y + bounds[COLORPICKER].height });
|
||||
|
||||
}
|
||||
|
||||
// Control TextBox edit mode
|
||||
if (CheckCollisionPointRec(GetMousePosition(), bounds[TEXTBOX]) && (IsKeyPressed(KEY_ENTER) || IsMouseButtonPressed(MOUSE_LEFT_BUTTON))) editFilenameText = !editFilenameText;
|
||||
if (CheckCollisionPointRec(GetMousePosition(), (Rectangle){ anchor02.x + 290, anchor02.y + 530, 65, 20 }) && (IsKeyPressed(KEY_ENTER) || IsMouseButtonPressed(MOUSE_LEFT_BUTTON))) editHexColorText = !editHexColorText;
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
// Draw
|
||||
//----------------------------------------------------------------------------------
|
||||
BeginDrawing();
|
||||
|
||||
ClearBackground(RAYWHITE);
|
||||
|
||||
// Draw background rectangle
|
||||
DrawRectangle(0, 0, GetScreenWidth(), GetScreenHeight(), GetColor(GuiGetStyleProperty(DEFAULT_BACKGROUND_COLOR)));
|
||||
|
||||
// Draw info bar top
|
||||
GuiStatusBar((Rectangle){ anchor01.x + 0, anchor01.y + 0, 720, 24 }, "CHOOSE CONTROL > CHOOSE PROPERTY STYLE > STYLE VIEWER", 35);
|
||||
|
||||
// Draw status bar bottom
|
||||
//GuiStatusBar((Rectangle){ anchor01.x + 334, anchor01.y + 616, 386, 24 }, FormatText("EDITION TIME: %02i:%02i:%02i", (framesCounter/60)/(60*60), ((framesCounter/60)/60)%60, (framesCounter/60)%60), 10);
|
||||
#if defined(RAYGUI_STYLE_DEFAULT_LIGHT)
|
||||
GuiStatusBar((Rectangle){ anchor01.x + 0, anchor01.y + 616, 150, 24 }, "BASE STYLE: LIGHT", 10);
|
||||
#elif defined(RAYGUI_STYLE_DEFAULT_DARK)
|
||||
GuiStatusBar((Rectangle){ anchor01.x + 0, anchor01.y + 616, 150, 24 }, "BASE STYLE: DARK", 10);
|
||||
#else
|
||||
GuiStatusBar((Rectangle){ anchor01.x + 0, anchor01.y + 616, 150, 24 }, "BASE STYLE: UNKNOWN", 10);
|
||||
#endif
|
||||
GuiStatusBar((Rectangle){ anchor01.x + 149, anchor01.y + 616, 186, 24 }, FormatText("CHANGED PROPERTIES: %03i", changedControlsCounter), 10);
|
||||
GuiStatusBar((Rectangle){ anchor01.x + 334, anchor01.y + 616, 386, 24 }, "powered by raylib and raygui", 226);
|
||||
|
||||
// Draw Gui controls
|
||||
currentSelectedControl = GuiListView(bounds[LISTVIEW], guiControlText, NUM_CONTROLS, currentSelectedControl);
|
||||
|
||||
if (currentSelectedControl < 0) GuiDisable();
|
||||
|
||||
switch (currentSelectedControl)
|
||||
{
|
||||
case DEFAULT: currentSelectedProperty = GuiListView((Rectangle){ anchor01.x + 155, anchor01.y + 40, 180, 560 }, guiStylesTextC, NUM_STYLES_C, currentSelectedProperty); break;
|
||||
case LABELBUTTON: currentSelectedProperty = GuiListView((Rectangle){ anchor01.x + 155, anchor01.y + 40, 180, 560 }, guiStylesTextA, NUM_STYLES_A, currentSelectedProperty); break;
|
||||
case SLIDER: case SLIDERBAR: case PROGRESSBAR: case CHECKBOX:
|
||||
case COLORPICKER: currentSelectedProperty = GuiListView((Rectangle){ anchor01.x + 155, anchor01.y + 40, 180, 560 }, guiStylesTextB, NUM_STYLES_B, currentSelectedProperty); break;
|
||||
case BUTTON: case TOGGLE: case COMBOBOX: case TEXTBOX: case SPINNER: case LISTVIEW:
|
||||
default: currentSelectedProperty = GuiListView((Rectangle){ anchor01.x + 155, anchor01.y + 40, 180, 560 }, guiStylesTextC, NUM_STYLES_C - 2, currentSelectedProperty); break;
|
||||
}
|
||||
|
||||
GuiEnable();
|
||||
|
||||
GuiWindowBox((Rectangle){ anchor02.x + 0, anchor02.y + 0, 365, 560 }, "Sample raygui controls");
|
||||
|
||||
checked = GuiCheckBoxEx(bounds[CHECKBOX], checked, "DISABLED");
|
||||
|
||||
if (checked) GuiDisable();
|
||||
|
||||
GuiLabel((Rectangle){ anchor02.x + 11, anchor02.y + 35, 80, 25 }, "rGuiStyler");
|
||||
|
||||
if (GuiLabelButton(bounds[LABELBUTTON], "github.com/raysan5/raygui")) {}
|
||||
|
||||
// Draw load style button
|
||||
// if (GuiButton((Rectangle){ anchor02.x + 240, anchor02.y + 35, 115, 25 }, "Load Style"))
|
||||
// {
|
||||
// currentSelectedProperty = -1;
|
||||
// BtnLoadStyle();
|
||||
// for (int i = 0; i < 12; i++) colorBoxValue[i] = GetColor(style[DEFAULT_BORDER_COLOR_NORMAL + i]);
|
||||
// }
|
||||
|
||||
toggle = GuiToggleButton(bounds[TOGGLE], "toggle", toggle);
|
||||
|
||||
toggleValue = GuiToggleGroup((Rectangle){ anchor02.x + 90, anchor02.y + 70, 262, 30 }, toggleGuiText, 4, toggleValue);
|
||||
|
||||
sliderValue = GuiSliderEx(bounds[SLIDER], sliderValue, 0, 100, "SLIDER", true);
|
||||
|
||||
sliderBarValue = GuiSliderBarEx(bounds[SLIDERBAR], sliderBarValue, 0, 100, "SLIDERBAR", true);
|
||||
|
||||
progressValue = GuiProgressBarEx(bounds[PROGRESSBAR], progressValue, 0, 1, true);
|
||||
|
||||
spinnerValue = GuiSpinner(bounds[SPINNER], spinnerValue, 32, 24);
|
||||
|
||||
comboActive = GuiComboBox(bounds[COMBOBOX], comboText, comboNum, comboActive);
|
||||
|
||||
GuiTextBox(bounds[TEXTBOX], guiText, spinnerValue, editFilenameText);
|
||||
|
||||
GuiLine((Rectangle){ anchor02.x + 10, anchor02.y + 275, 345, 20 }, 1);
|
||||
|
||||
// Draw labels for GuiColorPicker information (RGBA)
|
||||
GuiGroupBox((Rectangle){ anchor02.x + 295, anchor02.y + 300, 60, 55 }, "RGBA");
|
||||
GuiLabel((Rectangle){ anchor02.x + 305, anchor02.y + 305, 15, 20 }, FormatText("R: %03i", colorPickerValue.r));
|
||||
GuiLabel((Rectangle){ anchor02.x + 305, anchor02.y + 320, 15, 20 }, FormatText("G: %03i", colorPickerValue.g));
|
||||
GuiLabel((Rectangle){ anchor02.x + 305, anchor02.y + 335, 15, 20 }, FormatText("B: %03i", colorPickerValue.b));
|
||||
|
||||
// Draw labels for GuiColorPicker information (HSV)
|
||||
GuiGroupBox((Rectangle){ anchor02.x + 295, anchor02.y + 365, 60, 55 }, "HSV");
|
||||
GuiLabel((Rectangle){ anchor02.x + 305, anchor02.y + 370, 15, 20 }, FormatText("H: %.0f", colorHSV.x));
|
||||
GuiLabel((Rectangle){ anchor02.x + 305, anchor02.y + 385, 15, 20 }, FormatText("S: %.0f%%", colorHSV.y*100));
|
||||
GuiLabel((Rectangle){ anchor02.x + 305, anchor02.y + 400, 15, 20 }, FormatText("V: %.0f%%", colorHSV.z*100));
|
||||
|
||||
if (GuiTextBox((Rectangle){ anchor02.x + 295, anchor02.y + 520, 60, 20 }, colorHex, 8, editHexColorText)) colorPickerValue = GetColor((int)strtoul(colorHex, NULL, 16));
|
||||
|
||||
for (int i = 0; i < 12; i++) colorBoxValue[i] = ColorBox((Rectangle){ anchor02.x + 295 + 20*(i%3), anchor02.y + 430 + 20*(i/3), 20, 20 }, &colorPickerValue, colorBoxValue[i]);
|
||||
DrawRectangleLinesEx((Rectangle){ anchor02.x + 295, anchor02.y + 430, 60, 80 }, 2, GetColor(style[DEFAULT_BORDER_COLOR_NORMAL]));
|
||||
|
||||
GuiEnable();
|
||||
|
||||
colorPickerValue = GuiColorPicker(bounds[COLORPICKER], colorPickerValue);
|
||||
|
||||
if (checked) GuiDisable();
|
||||
|
||||
// Draw save style button
|
||||
if (GuiButton(bounds[BUTTON], "Save Style")) BtnSaveStyle(guiText, comboActive);
|
||||
|
||||
dropdownBoxActive = GuiDropdownBox((Rectangle){ anchor02.x + 125, anchor02.y + 195, 110, 30 }, dropdownBoxList, 3, dropdownBoxActive);
|
||||
|
||||
GuiEnable();
|
||||
|
||||
// Draw selected control rectangles
|
||||
if (currentSelectedControl >= 0) DrawRectangleLinesEx((Rectangle){ bounds[currentSelectedControl].x - 2, bounds[currentSelectedControl].y -2, bounds[currentSelectedControl].width + 4, bounds[currentSelectedControl].height + 4 }, 1, RED);
|
||||
|
||||
// Draw ending message window (save)
|
||||
if (closingWindowActive)
|
||||
{
|
||||
DrawRectangle(0, 0, GetScreenWidth(), GetScreenHeight(), Fade(WHITE, 0.7f));
|
||||
closingWindowActive = !GuiWindowBox((Rectangle){ GetScreenWidth()/2 - 125, GetScreenHeight()/2 - 50, 250, 100 }, "Closing rGuiStyler");
|
||||
|
||||
GuiLabel((Rectangle){ GetScreenWidth()/2 - 95, GetScreenHeight()/2 - 60, 200, 100 }, "Do you want to save before quitting?");
|
||||
|
||||
if (GuiButton((Rectangle){ GetScreenWidth()/2 - 94, GetScreenHeight()/2 + 10, 85, 25 }, "Yes"))
|
||||
{
|
||||
cancelSave = false;
|
||||
BtnSaveStyle(guiText, comboActive);
|
||||
if (cancelSave) exitWindow = true;
|
||||
}
|
||||
else if (GuiButton((Rectangle){ GetScreenWidth()/2 + 10, GetScreenHeight()/2 + 10, 85, 25 }, "No")) { exitWindow = true; }
|
||||
}
|
||||
|
||||
EndDrawing();
|
||||
//----------------------------------------------------------------------------------
|
||||
}
|
||||
// De-Initialization
|
||||
//--------------------------------------------------------------------------------------
|
||||
ClearDroppedFiles(); // Clear internal buffers
|
||||
|
||||
CloseWindow(); // Close window and OpenGL context
|
||||
//--------------------------------------------------------------------------------------
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------
|
||||
// Module functions
|
||||
//--------------------------------------------------------------------------------------------
|
||||
|
||||
// Button load style function
|
||||
static void BtnLoadStyle(void)
|
||||
{
|
||||
char currentPath[256];
|
||||
|
||||
// Add sample file name to currentPath
|
||||
strcpy(currentPath, GetWorkingDirectory());
|
||||
strcat(currentPath, "\\\0");
|
||||
|
||||
// Open file dialog
|
||||
const char *filters[] = { "*.rgs" };
|
||||
const char *fileName = tinyfd_openFileDialog("Load raygui style file", currentPath, 1, filters, "raygui Style Files (*.rgs)", 0);
|
||||
|
||||
if (fileName != NULL) GuiLoadStyle(fileName);
|
||||
}
|
||||
|
||||
// Button save style function
|
||||
static void BtnSaveStyle(const char *defaultName, bool binary)
|
||||
{
|
||||
char currentPathFile[256];
|
||||
|
||||
// Add sample file name to currentPath
|
||||
strcpy(currentPathFile, GetWorkingDirectory());
|
||||
strcat(currentPathFile, "\\style.rgs\0");
|
||||
|
||||
// Save file dialog
|
||||
const char *filters[] = { "*.rgs" };
|
||||
const char *fileName = tinyfd_saveFileDialog("Save raygui style text file", currentPathFile, 1, filters, "raygui Style Files (*.rgs)");
|
||||
|
||||
if (fileName != NULL)
|
||||
{
|
||||
char outFileName[64] = { 0 };
|
||||
strcpy(outFileName, fileName);
|
||||
if (GetExtension(outFileName) == NULL) strcat(outFileName, ".rgs\0"); // No extension provided
|
||||
if (outFileName != NULL) SaveStyleRGS(outFileName, binary); // Save style file (text or binary)
|
||||
cancelSave = true;
|
||||
}
|
||||
}
|
||||
|
||||
static int GetGuiStylePropertyIndex(int control, int property)
|
||||
{
|
||||
int guiProp = -1;
|
||||
|
||||
switch (control)
|
||||
{
|
||||
case DEFAULT:
|
||||
{
|
||||
if (property == 12) guiProp = 0;
|
||||
else if (property == 13) guiProp = 1;
|
||||
else guiProp = DEFAULT_BORDER_COLOR_NORMAL + property;
|
||||
|
||||
} break;
|
||||
case LABELBUTTON: guiProp = LABEL_TEXT_COLOR_NORMAL + property; break;
|
||||
case BUTTON: guiProp = BUTTON_BORDER_COLOR_NORMAL + property; break;
|
||||
//case IMAGEBUTTON: guiProp = BUTTON_BORDER_COLOR_NORMAL + property; break;
|
||||
case TOGGLE: guiProp = TOGGLE_BORDER_COLOR_NORMAL + property; break;
|
||||
//case TOGGLEGROUP: guiProp = TOGGLE_BORDER_COLOR_NORMAL + property; break;
|
||||
case SLIDER: guiProp = SLIDER_BORDER_COLOR_NORMAL + property; break;
|
||||
case SLIDERBAR: guiProp = SLIDERBAR_BORDER_COLOR_NORMAL + property; break;
|
||||
case PROGRESSBAR: guiProp = PROGRESSBAR_BORDER_COLOR_NORMAL + property; break;
|
||||
case CHECKBOX: guiProp = CHECKBOX_BORDER_COLOR_NORMAL + property; break;
|
||||
case SPINNER: guiProp = VALUEBOX_BORDER_COLOR_NORMAL + property; break;
|
||||
case COMBOBOX: guiProp = COMBOBOX_BORDER_COLOR_NORMAL + property; break;
|
||||
case TEXTBOX: guiProp = TEXTBOX_BORDER_COLOR_NORMAL + property; break;
|
||||
case LISTVIEW: guiProp = LISTVIEW_BORDER_COLOR_NORMAL + property; break;
|
||||
case COLORPICKER: guiProp = COLORPICKER_BORDER_COLOR_NORMAL + property; break;
|
||||
default: break;
|
||||
}
|
||||
|
||||
//guiProp = LABEL_TEXT_COLOR_NORMAL + property/3; // type A
|
||||
//guiProp = SLIDER_BORDER_COLOR_NORMAL + property + property/2; // type B
|
||||
//guiProp = TOGGLE_BORDER_COLOR_NORMAL + property; // type C
|
||||
|
||||
return guiProp;
|
||||
}
|
||||
|
||||
// Color box control to save color samples from color picker
|
||||
// NOTE: It requires colorPicker pointer for updating in case of selection
|
||||
static Color ColorBox(Rectangle bounds, Color *colorPicker, Color color)
|
||||
{
|
||||
Vector2 mousePoint = GetMousePosition();
|
||||
|
||||
// Update color box
|
||||
if (CheckCollisionPointRec(mousePoint, bounds))
|
||||
{
|
||||
if (IsMouseButtonPressed(MOUSE_LEFT_BUTTON)) *colorPicker = (Color){ color.r, color.g, color.b, color.a };
|
||||
else if (IsMouseButtonPressed(MOUSE_RIGHT_BUTTON)) color = *colorPicker;
|
||||
}
|
||||
|
||||
// Draw color box
|
||||
DrawRectangleRec(bounds, color);
|
||||
DrawRectangleLinesEx(bounds, 1, GetColor(style[DEFAULT_BORDER_COLOR_NORMAL]));
|
||||
|
||||
return color;
|
||||
}
|
||||
|
||||
// Save raygui style file (.rgs), text or binary
|
||||
static void SaveStyleRGS(const char *fileName, bool binary)
|
||||
{
|
||||
#define NUM_COLOR_PROPERTIES 130
|
||||
|
||||
if (binary)
|
||||
{
|
||||
#define RGS_FILE_VERSION_BINARY 200
|
||||
|
||||
FILE *rgsFile = fopen(fileName, "wb");
|
||||
|
||||
if (rgsFile != NULL)
|
||||
{
|
||||
// Write some header info (12 bytes)
|
||||
// id: "RGS " - 4 bytes
|
||||
// version: 200 - 2 bytes
|
||||
// reserved - 2 bytes
|
||||
// total properties - 2 bytes
|
||||
// changed properties - 2 bytes
|
||||
|
||||
char signature[5] = "RGS ";
|
||||
short version = RGS_FILE_VERSION_BINARY;
|
||||
short reserved = 0;
|
||||
short numProperties = NUM_COLOR_PROPERTIES;
|
||||
short changedProperties = 0;
|
||||
|
||||
for (int i = 0; i < NUM_PROPERTIES; i++) if (styleBackup[i] != style[i]) changedProperties++;
|
||||
|
||||
fwrite(signature, 1, 4, rgsFile);
|
||||
fwrite(&version, 1, sizeof(short), rgsFile);
|
||||
fwrite(&reserved, 1, sizeof(short), rgsFile);
|
||||
fwrite(&numProperties, 1, sizeof(short), rgsFile);
|
||||
fwrite(&changedProperties, 1, sizeof(short), rgsFile);
|
||||
|
||||
short id = 0;
|
||||
|
||||
for (int i = 0; i < NUM_PROPERTIES; i++)
|
||||
{
|
||||
if (styleBackup[i] != style[i])
|
||||
{
|
||||
id = (short)i;
|
||||
|
||||
fwrite(&id, 1, 2, rgsFile);
|
||||
fwrite(&style[i], 1, sizeof(int), rgsFile);
|
||||
}
|
||||
}
|
||||
|
||||
fclose(rgsFile);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
#define RGS_FILE_VERSION_TEXT "2.0"
|
||||
|
||||
int counter = 0;
|
||||
FILE *rgsFile = fopen(fileName, "wt");
|
||||
|
||||
if (rgsFile != NULL)
|
||||
{
|
||||
for (int i = 0; i < NUM_PROPERTIES; i++) if (styleBackup[i] != style[i]) counter++;
|
||||
|
||||
// Write some description comments
|
||||
fprintf(rgsFile, "#\n# rgst file (v%s) - raygui style text file generated using rGuiStyler\n#\n", RGS_FILE_VERSION_TEXT);
|
||||
fprintf(rgsFile, "# Total number of properties: %i\n", NUM_COLOR_PROPERTIES);
|
||||
fprintf(rgsFile, "# Number of properties changed: %i\n", counter);
|
||||
fprintf(rgsFile, "# Required base default style: %s\n#\n", "LIGHT"); // TODO: check base style
|
||||
|
||||
for (int i = 0; i < NUM_PROPERTIES; i++)
|
||||
{
|
||||
if (styleBackup[i] != style[i]) fprintf(rgsFile, "%03i 0x%08x // %s\n", i, style[i], guiPropertyText[i]);
|
||||
}
|
||||
|
||||
fclose(rgsFile);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Generate controls table image
|
||||
// NOTE: We use embedded image raygui_style_table_light
|
||||
static void GenImageControlsTable(void)
|
||||
{
|
||||
ImageColorReplace(&image_raygui_style_table_light, GetColor(styleBackup[DEFAULT_BACKGROUND_COLOR]), GetColor(style[DEFAULT_BACKGROUND_COLOR]));
|
||||
ImageColorReplace(&image_raygui_style_table_light, GetColor(styleBackup[DEFAULT_LINES_COLOR]), GetColor(style[DEFAULT_LINES_COLOR]));
|
||||
ImageColorReplace(&image_raygui_style_table_light, GetColor(styleBackup[DEFAULT_BORDER_COLOR_NORMAL]), GetColor(style[DEFAULT_BORDER_COLOR_NORMAL]));
|
||||
ImageColorReplace(&image_raygui_style_table_light, GetColor(styleBackup[DEFAULT_BASE_COLOR_NORMAL]), GetColor(style[DEFAULT_BASE_COLOR_NORMAL]));
|
||||
ImageColorReplace(&image_raygui_style_table_light, GetColor(styleBackup[DEFAULT_TEXT_COLOR_NORMAL]), GetColor(style[DEFAULT_TEXT_COLOR_NORMAL]));
|
||||
ImageColorReplace(&image_raygui_style_table_light, GetColor(styleBackup[DEFAULT_BORDER_COLOR_FOCUSED]), GetColor(style[DEFAULT_BORDER_COLOR_FOCUSED]));
|
||||
ImageColorReplace(&image_raygui_style_table_light, GetColor(styleBackup[DEFAULT_BASE_COLOR_FOCUSED]), GetColor(style[DEFAULT_BASE_COLOR_FOCUSED]));
|
||||
ImageColorReplace(&image_raygui_style_table_light, GetColor(styleBackup[DEFAULT_TEXT_COLOR_FOCUSED]), GetColor(style[DEFAULT_TEXT_COLOR_FOCUSED]));
|
||||
ImageColorReplace(&image_raygui_style_table_light, GetColor(styleBackup[DEFAULT_BORDER_COLOR_PRESSED]), GetColor(style[DEFAULT_BORDER_COLOR_PRESSED]));
|
||||
ImageColorReplace(&image_raygui_style_table_light, GetColor(styleBackup[DEFAULT_BASE_COLOR_PRESSED]), GetColor(style[DEFAULT_BASE_COLOR_PRESSED]));
|
||||
ImageColorReplace(&image_raygui_style_table_light, GetColor(styleBackup[DEFAULT_TEXT_COLOR_PRESSED]), GetColor(style[DEFAULT_TEXT_COLOR_PRESSED]));
|
||||
ImageColorReplace(&image_raygui_style_table_light, GetColor(styleBackup[DEFAULT_BORDER_COLOR_DISABLED]), GetColor(style[DEFAULT_BORDER_COLOR_DISABLED]));
|
||||
ImageColorReplace(&image_raygui_style_table_light, GetColor(styleBackup[DEFAULT_BASE_COLOR_DISABLED]), GetColor(style[DEFAULT_BASE_COLOR_DISABLED]));
|
||||
ImageColorReplace(&image_raygui_style_table_light, GetColor(styleBackup[DEFAULT_TEXT_COLOR_DISABLED]), GetColor(style[DEFAULT_TEXT_COLOR_DISABLED]));
|
||||
|
||||
ExportImage("raygui_style_table.png", image_raygui_style_table_light);
|
||||
}
|
||||
|
Before Width: | Height: | Size: 102 KiB |
@ -1,27 +0,0 @@
|
||||
GLFW_ICON ICON "rguistyler.ico"
|
||||
|
||||
1 VERSIONINFO
|
||||
FILEVERSION 2,0,0,0
|
||||
PRODUCTVERSION 2,0,0,0
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
//BLOCK "080904E4" // English UK
|
||||
BLOCK "040904E4" // English US
|
||||
BEGIN
|
||||
//VALUE "CompanyName", "My Company Name"
|
||||
VALUE "FileDescription", "rGuiStyler - raygui styles editor"
|
||||
VALUE "FileVersion", "2.0"
|
||||
VALUE "InternalName", "rguistyler"
|
||||
VALUE "LegalCopyright", "(c) 2018 raylib technologies (@raysan5)"
|
||||
//VALUE "OriginalFilename", "raylib_app.exe"
|
||||
VALUE "ProductName", "rGuiStyler"
|
||||
VALUE "ProductVersion", "2.0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
//VALUE "Translation", 0x809, 1252 // English UK
|
||||
VALUE "Translation", 0x409, 1252 // English US
|
||||
END
|
||||
END
|
||||
@ -1,117 +0,0 @@
|
||||
#
|
||||
# rgst file (v2.0) - raygui style text file generated using rGuiStyler
|
||||
#
|
||||
# Total number of properties: 155
|
||||
# Number of properties changed: 110
|
||||
# Required base default style: LIGHT
|
||||
#
|
||||
000 0x6c6b6bff // DEFAULT_BACKGROUND_COLOR
|
||||
001 0xc9c5c3ff // DEFAULT_LINES_COLOR
|
||||
005 0xfbf7f7ff // DEFAULT_BORDER_COLOR_NORMAL
|
||||
006 0x878686ff // DEFAULT_BASE_COLOR_NORMAL
|
||||
007 0xeeededff // DEFAULT_TEXT_COLOR_NORMAL
|
||||
008 0xf7faf7ff // DEFAULT_BORDER_COLOR_FOCUSED
|
||||
009 0xb1d7ecff // DEFAULT_BASE_COLOR_FOCUSED
|
||||
010 0x4c9edaff // DEFAULT_TEXT_COLOR_FOCUSED
|
||||
011 0x030000fc // DEFAULT_BORDER_COLOR_PRESSED
|
||||
012 0xf6f6f6ff // DEFAULT_BASE_COLOR_PRESSED
|
||||
013 0x040404ff // DEFAULT_TEXT_COLOR_PRESSED
|
||||
014 0x2d9ccfff // DEFAULT_BORDER_COLOR_DISABLED
|
||||
017 0xeeededff // LABEL_TEXT_COLOR_NORMAL
|
||||
018 0x4c9edaff // LABEL_TEXT_COLOR_FOCUSED
|
||||
019 0x040404ff // LABEL_TEXT_COLOR_PRESSED
|
||||
022 0xfbf7f7ff // BUTTON_BORDER_COLOR_NORMAL
|
||||
023 0x878686ff // BUTTON_BASE_COLOR_NORMAL
|
||||
024 0xeeededff // BUTTON_TEXT_COLOR_NORMAL
|
||||
025 0xf7faf7ff // BUTTON_BORDER_COLOR_FOCUSED
|
||||
026 0xb1d7ecff // BUTTON_BASE_COLOR_FOCUSED
|
||||
027 0x4c9edaff // BUTTON_TEXT_COLOR_FOCUSED
|
||||
028 0x030000fc // BUTTON_BORDER_COLOR_PRESSED
|
||||
029 0xf6f6f6ff // BUTTON_BASE_COLOR_PRESSED
|
||||
030 0x040404ff // BUTTON_TEXT_COLOR_PRESSED
|
||||
031 0x2d9ccfff // BUTTON_BORDER_COLOR_DISABLED
|
||||
035 0xfbf7f7ff // TOGGLE_BORDER_COLOR_NORMAL
|
||||
036 0x878686ff // TOGGLE_BASE_COLOR_NORMAL
|
||||
037 0xeeededff // TOGGLE_TEXT_COLOR_NORMAL
|
||||
038 0xf7faf7ff // TOGGLE_BORDER_COLOR_FOCUSED
|
||||
039 0xb1d7ecff // TOGGLE_BASE_COLOR_FOCUSED
|
||||
040 0x4c9edaff // TOGGLE_TEXT_COLOR_FOCUSED
|
||||
041 0x030000fc // TOGGLE_BORDER_COLOR_PRESSED
|
||||
042 0xf6f6f6ff // TOGGLE_BASE_COLOR_PRESSED
|
||||
043 0x040404ff // TOGGLE_TEXT_COLOR_PRESSED
|
||||
044 0x2d9ccfff // TOGGLE_BORDER_COLOR_DISABLED
|
||||
050 0xfbf7f7ff // SLIDER_BORDER_COLOR_NORMAL
|
||||
051 0x878686ff // SLIDER_BASE_COLOR_NORMAL
|
||||
052 0xf7faf7ff // SLIDER_BORDER_COLOR_FOCUSED
|
||||
053 0xb1d7ecff // SLIDER_BASE_COLOR_FOCUSED
|
||||
054 0x030000fc // SLIDER_BORDER_COLOR_PRESSED
|
||||
055 0xf6f6f6ff // SLIDER_BASE_COLOR_PRESSED
|
||||
056 0x2d9ccfff // SLIDER_BORDER_COLOR_DISABLED
|
||||
060 0xfbf7f7ff // SLIDERBAR_BORDER_COLOR_NORMAL
|
||||
061 0x878686ff // SLIDERBAR_BASE_COLOR_NORMAL
|
||||
062 0xf7faf7ff // SLIDERBAR_BORDER_COLOR_FOCUSED
|
||||
063 0xb1d7ecff // SLIDERBAR_BASE_COLOR_FOCUSED
|
||||
064 0x030000fc // SLIDERBAR_BORDER_COLOR_PRESSED
|
||||
065 0xf6f6f6ff // SLIDERBAR_BASE_COLOR_PRESSED
|
||||
066 0x2d9ccfff // SLIDERBAR_BORDER_COLOR_DISABLED
|
||||
070 0xfbf7f7ff // PROGRESSBAR_BORDER_COLOR_NORMAL
|
||||
071 0xf6f6f6ff // PROGRESSBAR_BASE_COLOR_NORMAL
|
||||
072 0xf7faf7ff // PROGRESSBAR_BORDER_COLOR_FOCUSED
|
||||
073 0xb1d7ecff // PROGRESSBAR_BASE_COLOR_FOCUSED
|
||||
074 0x030000fc // PROGRESSBAR_BORDER_COLOR_PRESSED
|
||||
075 0xf6f6f6ff // PROGRESSBAR_BASE_COLOR_PRESSED
|
||||
076 0x2d9ccfff // PROGRESSBAR_BORDER_COLOR_DISABLED
|
||||
080 0xfbf7f7ff // SPINNER_BORDER_COLOR_NORMAL
|
||||
081 0x878686ff // SPINNER_BASE_COLOR_NORMAL
|
||||
082 0xeeededff // SPINNER_TEXT_COLOR_NORMAL
|
||||
083 0xf7faf7ff // SPINNER_BORDER_COLOR_FOCUSED
|
||||
084 0xb1d7ecff // SPINNER_BASE_COLOR_FOCUSED
|
||||
085 0x4c9edaff // SPINNER_TEXT_COLOR_FOCUSED
|
||||
086 0x030000fc // SPINNER_BORDER_COLOR_PRESSED
|
||||
087 0xf6f6f6ff // SPINNER_BASE_COLOR_PRESSED
|
||||
088 0x040404ff // SPINNER_TEXT_COLOR_PRESSED
|
||||
089 0x2d9ccfff // SPINNER_BORDER_COLOR_DISABLED
|
||||
095 0xfbf7f7ff // COMBOBOX_BORDER_COLOR_NORMAL
|
||||
096 0x878686ff // COMBOBOX_BASE_COLOR_NORMAL
|
||||
097 0xeeededff // COMBOBOX_TEXT_COLOR_NORMAL
|
||||
098 0xf7faf7ff // COMBOBOX_BORDER_COLOR_FOCUSED
|
||||
099 0xb1d7ecff // COMBOBOX_BASE_COLOR_FOCUSED
|
||||
100 0x4c9edaff // COMBOBOX_TEXT_COLOR_FOCUSED
|
||||
101 0x030000fc // COMBOBOX_BORDER_COLOR_PRESSED
|
||||
102 0xf6f6f6ff // COMBOBOX_BASE_COLOR_PRESSED
|
||||
103 0x040404ff // COMBOBOX_TEXT_COLOR_PRESSED
|
||||
104 0x2d9ccfff // COMBOBOX_BORDER_COLOR_DISABLED
|
||||
109 0xfbf7f7ff // CHECKBOX_BORDER_COLOR_NORMAL
|
||||
110 0x6c6b6bff // CHECKBOX_BASE_COLOR_NORMAL
|
||||
111 0xf7faf7ff // CHECKBOX_BORDER_COLOR_FOCUSED
|
||||
112 0x4c9edaff // CHECKBOX_BASE_COLOR_FOCUSED
|
||||
113 0x030000fc // CHECKBOX_BORDER_COLOR_PRESSED
|
||||
114 0x040404ff // CHECKBOX_BASE_COLOR_PRESSED
|
||||
115 0x2d9ccfff // CHECKBOX_BORDER_COLOR_DISABLED
|
||||
118 0xfbf7f7ff // TEXTBOX_BORDER_COLOR_NORMAL
|
||||
119 0x6c6b6bff // TEXTBOX_BASE_COLOR_NORMAL
|
||||
120 0xeeededff // TEXTBOX_TEXT_COLOR_NORMAL
|
||||
121 0xf7faf7ff // TEXTBOX_BORDER_COLOR_FOCUSED
|
||||
122 0xb1d7ecff // TEXTBOX_BASE_COLOR_FOCUSED
|
||||
123 0x4c9edaff // TEXTBOX_TEXT_COLOR_FOCUSED
|
||||
124 0x030000fc // TEXTBOX_BORDER_COLOR_PRESSED
|
||||
125 0xf6f6f6ff // TEXTBOX_BASE_COLOR_PRESSED
|
||||
126 0x040404ff // TEXTBOX_TEXT_COLOR_PRESSED
|
||||
127 0x2d9ccfff // TEXTBOX_BORDER_COLOR_DISABLED
|
||||
132 0xfbf7f7ff // COLORPICKER_BORDER_COLOR_NORMAL
|
||||
133 0x6c6b6bff // COLORPICKER_BASE_COLOR_NORMAL
|
||||
134 0xf7faf7ff // COLORPICKER_BORDER_COLOR_FOCUSED
|
||||
135 0x4c9edaff // COLORPICKER_BASE_COLOR_FOCUSED
|
||||
136 0x030000fc // COLORPICKER_BORDER_COLOR_PRESSED
|
||||
137 0x040404ff // COLORPICKER_BASE_COLOR_PRESSED
|
||||
138 0x2d9ccfff // COLORPICKER_BORDER_COLOR_DISABLED
|
||||
143 0xfbf7f7ff // LISTVIEW_BORDER_COLOR_NORMAL
|
||||
144 0x6c6b6bff // LISTVIEW_BASE_COLOR_NORMAL
|
||||
145 0xeeededff // LISTVIEW_TEXT_COLOR_NORMAL
|
||||
146 0xf7faf7ff // LISTVIEW_BORDER_COLOR_FOCUSED
|
||||
147 0xb1d7ecff // LISTVIEW_BASE_COLOR_FOCUSED
|
||||
148 0x4c9edaff // LISTVIEW_TEXT_COLOR_FOCUSED
|
||||
149 0x030000fc // LISTVIEW_BORDER_COLOR_PRESSED
|
||||
150 0xf6f6f6ff // LISTVIEW_BASE_COLOR_PRESSED
|
||||
151 0x040404ff // LISTVIEW_TEXT_COLOR_PRESSED
|
||||
152 0x2d9ccfff // LISTVIEW_BORDER_COLOR_DISABLED
|
||||
@ -1,137 +0,0 @@
|
||||
#
|
||||
# rgst file (v2.0) - raygui style text file generated using rGuiStyler
|
||||
#
|
||||
# Total number of properties: 155
|
||||
# Number of properties changed: 130
|
||||
# Required base default style: LIGHT
|
||||
#
|
||||
000 0x5b5b81ff // DEFAULT_BACKGROUND_COLOR
|
||||
001 0xc5a3b1ff // DEFAULT_LINES_COLOR
|
||||
005 0xab9bd3ff // DEFAULT_BORDER_COLOR_NORMAL
|
||||
006 0x3e4350ff // DEFAULT_BASE_COLOR_NORMAL
|
||||
007 0xdadaf4ff // DEFAULT_TEXT_COLOR_NORMAL
|
||||
008 0xe1b6baff // DEFAULT_BORDER_COLOR_FOCUSED
|
||||
009 0xd7aeb9ff // DEFAULT_BASE_COLOR_FOCUSED
|
||||
010 0x050505ff // DEFAULT_TEXT_COLOR_FOCUSED
|
||||
011 0xdbc8c8ff // DEFAULT_BORDER_COLOR_PRESSED
|
||||
012 0xbca4d5ff // DEFAULT_BASE_COLOR_PRESSED
|
||||
013 0x03020201 // DEFAULT_TEXT_COLOR_PRESSED
|
||||
014 0xad6530ff // DEFAULT_BORDER_COLOR_DISABLED
|
||||
015 0x706060ff // DEFAULT_BASE_COLOR_DISABLED
|
||||
016 0x9e8585ff // DEFAULT_TEXT_COLOR_DISABLED
|
||||
017 0xdadaf4ff // LABEL_TEXT_COLOR_NORMAL
|
||||
018 0x050505ff // LABEL_TEXT_COLOR_FOCUSED
|
||||
019 0x03020201 // LABEL_TEXT_COLOR_PRESSED
|
||||
020 0x9e8585ff // LABEL_TEXT_COLOR_DISABLED
|
||||
022 0xab9bd3ff // BUTTON_BORDER_COLOR_NORMAL
|
||||
023 0x3e4350ff // BUTTON_BASE_COLOR_NORMAL
|
||||
024 0xdadaf4ff // BUTTON_TEXT_COLOR_NORMAL
|
||||
025 0xe1b6baff // BUTTON_BORDER_COLOR_FOCUSED
|
||||
026 0xd7aeb9ff // BUTTON_BASE_COLOR_FOCUSED
|
||||
027 0x050505ff // BUTTON_TEXT_COLOR_FOCUSED
|
||||
028 0xdbc8c8ff // BUTTON_BORDER_COLOR_PRESSED
|
||||
029 0xbca4d5ff // BUTTON_BASE_COLOR_PRESSED
|
||||
030 0x03020201 // BUTTON_TEXT_COLOR_PRESSED
|
||||
031 0xad6530ff // BUTTON_BORDER_COLOR_DISABLED
|
||||
032 0x706060ff // BUTTON_BASE_COLOR_DISABLED
|
||||
033 0x9e8585ff // BUTTON_TEXT_COLOR_DISABLED
|
||||
035 0xab9bd3ff // TOGGLE_BORDER_COLOR_NORMAL
|
||||
036 0x3e4350ff // TOGGLE_BASE_COLOR_NORMAL
|
||||
037 0xdadaf4ff // TOGGLE_TEXT_COLOR_NORMAL
|
||||
038 0xe1b6baff // TOGGLE_BORDER_COLOR_FOCUSED
|
||||
039 0xd7aeb9ff // TOGGLE_BASE_COLOR_FOCUSED
|
||||
040 0x050505ff // TOGGLE_TEXT_COLOR_FOCUSED
|
||||
041 0xdbc8c8ff // TOGGLE_BORDER_COLOR_PRESSED
|
||||
042 0xbca4d5ff // TOGGLE_BASE_COLOR_PRESSED
|
||||
043 0x03020201 // TOGGLE_TEXT_COLOR_PRESSED
|
||||
044 0xad6530ff // TOGGLE_BORDER_COLOR_DISABLED
|
||||
045 0x706060ff // TOGGLE_BASE_COLOR_DISABLED
|
||||
046 0x9e8585ff // TOGGLE_TEXT_COLOR_DISABLED
|
||||
050 0xab9bd3ff // SLIDER_BORDER_COLOR_NORMAL
|
||||
051 0x3e4350ff // SLIDER_BASE_COLOR_NORMAL
|
||||
052 0xe1b6baff // SLIDER_BORDER_COLOR_FOCUSED
|
||||
053 0xd7aeb9ff // SLIDER_BASE_COLOR_FOCUSED
|
||||
054 0xdbc8c8ff // SLIDER_BORDER_COLOR_PRESSED
|
||||
055 0xbca4d5ff // SLIDER_BASE_COLOR_PRESSED
|
||||
056 0xad6530ff // SLIDER_BORDER_COLOR_DISABLED
|
||||
057 0x706060ff // SLIDER_BASE_COLOR_DISABLED
|
||||
060 0xab9bd3ff // SLIDERBAR_BORDER_COLOR_NORMAL
|
||||
061 0x3e4350ff // SLIDERBAR_BASE_COLOR_NORMAL
|
||||
062 0xe1b6baff // SLIDERBAR_BORDER_COLOR_FOCUSED
|
||||
063 0xd7aeb9ff // SLIDERBAR_BASE_COLOR_FOCUSED
|
||||
064 0xdbc8c8ff // SLIDERBAR_BORDER_COLOR_PRESSED
|
||||
065 0xbca4d5ff // SLIDERBAR_BASE_COLOR_PRESSED
|
||||
066 0xad6530ff // SLIDERBAR_BORDER_COLOR_DISABLED
|
||||
067 0x706060ff // SLIDERBAR_BASE_COLOR_DISABLED
|
||||
070 0xab9bd3ff // PROGRESSBAR_BORDER_COLOR_NORMAL
|
||||
071 0xbca4d5ff // PROGRESSBAR_BASE_COLOR_NORMAL
|
||||
072 0xe1b6baff // PROGRESSBAR_BORDER_COLOR_FOCUSED
|
||||
073 0xd7aeb9ff // PROGRESSBAR_BASE_COLOR_FOCUSED
|
||||
074 0xdbc8c8ff // PROGRESSBAR_BORDER_COLOR_PRESSED
|
||||
075 0xbca4d5ff // PROGRESSBAR_BASE_COLOR_PRESSED
|
||||
076 0xad6530ff // PROGRESSBAR_BORDER_COLOR_DISABLED
|
||||
077 0x706060ff // PROGRESSBAR_BASE_COLOR_DISABLED
|
||||
080 0xab9bd3ff // SPINNER_BORDER_COLOR_NORMAL
|
||||
081 0x3e4350ff // SPINNER_BASE_COLOR_NORMAL
|
||||
082 0xdadaf4ff // SPINNER_TEXT_COLOR_NORMAL
|
||||
083 0xe1b6baff // SPINNER_BORDER_COLOR_FOCUSED
|
||||
084 0xd7aeb9ff // SPINNER_BASE_COLOR_FOCUSED
|
||||
085 0x050505ff // SPINNER_TEXT_COLOR_FOCUSED
|
||||
086 0xdbc8c8ff // SPINNER_BORDER_COLOR_PRESSED
|
||||
087 0xbca4d5ff // SPINNER_BASE_COLOR_PRESSED
|
||||
088 0x03020201 // SPINNER_TEXT_COLOR_PRESSED
|
||||
089 0xad6530ff // SPINNER_BORDER_COLOR_DISABLED
|
||||
090 0x706060ff // SPINNER_BASE_COLOR_DISABLED
|
||||
091 0x9e8585ff // SPINNER_TEXT_COLOR_DISABLED
|
||||
095 0xab9bd3ff // COMBOBOX_BORDER_COLOR_NORMAL
|
||||
096 0x3e4350ff // COMBOBOX_BASE_COLOR_NORMAL
|
||||
097 0xdadaf4ff // COMBOBOX_TEXT_COLOR_NORMAL
|
||||
098 0xe1b6baff // COMBOBOX_BORDER_COLOR_FOCUSED
|
||||
099 0xd7aeb9ff // COMBOBOX_BASE_COLOR_FOCUSED
|
||||
100 0x050505ff // COMBOBOX_TEXT_COLOR_FOCUSED
|
||||
101 0xdbc8c8ff // COMBOBOX_BORDER_COLOR_PRESSED
|
||||
102 0xbca4d5ff // COMBOBOX_BASE_COLOR_PRESSED
|
||||
103 0x03020201 // COMBOBOX_TEXT_COLOR_PRESSED
|
||||
104 0xad6530ff // COMBOBOX_BORDER_COLOR_DISABLED
|
||||
105 0x706060ff // COMBOBOX_BASE_COLOR_DISABLED
|
||||
106 0x9e8585ff // COMBOBOX_TEXT_COLOR_DISABLED
|
||||
109 0xab9bd3ff // CHECKBOX_BORDER_COLOR_NORMAL
|
||||
110 0x5b5b81ff // CHECKBOX_BASE_COLOR_NORMAL
|
||||
111 0xe1b6baff // CHECKBOX_BORDER_COLOR_FOCUSED
|
||||
112 0x050505ff // CHECKBOX_BASE_COLOR_FOCUSED
|
||||
113 0xdbc8c8ff // CHECKBOX_BORDER_COLOR_PRESSED
|
||||
114 0x03020201 // CHECKBOX_BASE_COLOR_PRESSED
|
||||
115 0xad6530ff // CHECKBOX_BORDER_COLOR_DISABLED
|
||||
116 0x706060ff // CHECKBOX_BASE_COLOR_DISABLED
|
||||
118 0xab9bd3ff // TEXTBOX_BORDER_COLOR_NORMAL
|
||||
119 0x5b5b81ff // TEXTBOX_BASE_COLOR_NORMAL
|
||||
120 0xdadaf4ff // TEXTBOX_TEXT_COLOR_NORMAL
|
||||
121 0xe1b6baff // TEXTBOX_BORDER_COLOR_FOCUSED
|
||||
122 0xd7aeb9ff // TEXTBOX_BASE_COLOR_FOCUSED
|
||||
123 0x050505ff // TEXTBOX_TEXT_COLOR_FOCUSED
|
||||
124 0xdbc8c8ff // TEXTBOX_BORDER_COLOR_PRESSED
|
||||
125 0xbca4d5ff // TEXTBOX_BASE_COLOR_PRESSED
|
||||
126 0x03020201 // TEXTBOX_TEXT_COLOR_PRESSED
|
||||
127 0xad6530ff // TEXTBOX_BORDER_COLOR_DISABLED
|
||||
128 0x706060ff // TEXTBOX_BASE_COLOR_DISABLED
|
||||
129 0x9e8585ff // TEXTBOX_TEXT_COLOR_DISABLED
|
||||
132 0xab9bd3ff // COLORPICKER_BORDER_COLOR_NORMAL
|
||||
133 0x5b5b81ff // COLORPICKER_BASE_COLOR_NORMAL
|
||||
134 0xe1b6baff // COLORPICKER_BORDER_COLOR_FOCUSED
|
||||
135 0x050505ff // COLORPICKER_BASE_COLOR_FOCUSED
|
||||
136 0xdbc8c8ff // COLORPICKER_BORDER_COLOR_PRESSED
|
||||
137 0x03020201 // COLORPICKER_BASE_COLOR_PRESSED
|
||||
138 0xad6530ff // COLORPICKER_BORDER_COLOR_DISABLED
|
||||
139 0x706060ff // COLORPICKER_BASE_COLOR_DISABLED
|
||||
143 0xc4c4ddff // LISTVIEW_BORDER_COLOR_NORMAL
|
||||
144 0xbebef0ff // LISTVIEW_BASE_COLOR_NORMAL
|
||||
145 0xdadaf4ff // LISTVIEW_TEXT_COLOR_NORMAL
|
||||
146 0xcda9a9ff // LISTVIEW_BORDER_COLOR_FOCUSED
|
||||
147 0xc6a2a8ff // LISTVIEW_BASE_COLOR_FOCUSED
|
||||
148 0x050505ff // LISTVIEW_TEXT_COLOR_FOCUSED
|
||||
149 0xdbc8c8ff // LISTVIEW_BORDER_COLOR_PRESSED
|
||||
150 0xbca4d5ff // LISTVIEW_BASE_COLOR_PRESSED
|
||||
151 0x03020201 // LISTVIEW_TEXT_COLOR_PRESSED
|
||||
152 0xad6530ff // LISTVIEW_BORDER_COLOR_DISABLED
|
||||
153 0xab9bd3ff // LISTVIEW_BASE_COLOR_DISABLED
|
||||
154 0x9e8585ff // LISTVIEW_TEXT_COLOR_DISABLED
|
||||
@ -1,137 +0,0 @@
|
||||
#
|
||||
# rgst file (v2.0) - raygui style text file generated using rGuiStyler
|
||||
#
|
||||
# Total number of properties: 155
|
||||
# Number of properties changed: 130
|
||||
# Required base default style: LIGHT
|
||||
#
|
||||
000 0xf0f0f0ff // DEFAULT_BACKGROUND_COLOR
|
||||
001 0xa0d806ff // DEFAULT_LINES_COLOR
|
||||
005 0x9dcd26ff // DEFAULT_BORDER_COLOR_NORMAL
|
||||
006 0xe6fdbbff // DEFAULT_BASE_COLOR_NORMAL
|
||||
007 0x01701aff // DEFAULT_TEXT_COLOR_NORMAL
|
||||
008 0xa0ee00ff // DEFAULT_BORDER_COLOR_FOCUSED
|
||||
009 0xe3e28aff // DEFAULT_BASE_COLOR_FOCUSED
|
||||
010 0x5ea61eff // DEFAULT_TEXT_COLOR_FOCUSED
|
||||
011 0xdb5500ff // DEFAULT_BORDER_COLOR_PRESSED
|
||||
012 0xe68364ff // DEFAULT_BASE_COLOR_PRESSED
|
||||
013 0xfbf7f7ff // DEFAULT_TEXT_COLOR_PRESSED
|
||||
014 0x94795dff // DEFAULT_BORDER_COLOR_DISABLED
|
||||
015 0xc0a39bff // DEFAULT_BASE_COLOR_DISABLED
|
||||
016 0x7e4535ff // DEFAULT_TEXT_COLOR_DISABLED
|
||||
017 0x01701aff // LABEL_TEXT_COLOR_NORMAL
|
||||
018 0x5ea61eff // LABEL_TEXT_COLOR_FOCUSED
|
||||
019 0xfbf7f7ff // LABEL_TEXT_COLOR_PRESSED
|
||||
020 0x7e4535ff // LABEL_TEXT_COLOR_DISABLED
|
||||
022 0x9dcd26ff // BUTTON_BORDER_COLOR_NORMAL
|
||||
023 0xe6fdbbff // BUTTON_BASE_COLOR_NORMAL
|
||||
024 0x01701aff // BUTTON_TEXT_COLOR_NORMAL
|
||||
025 0xa0ee00ff // BUTTON_BORDER_COLOR_FOCUSED
|
||||
026 0xe3e28aff // BUTTON_BASE_COLOR_FOCUSED
|
||||
027 0x5ea61eff // BUTTON_TEXT_COLOR_FOCUSED
|
||||
028 0xdb5500ff // BUTTON_BORDER_COLOR_PRESSED
|
||||
029 0xe68364ff // BUTTON_BASE_COLOR_PRESSED
|
||||
030 0xfbf7f7ff // BUTTON_TEXT_COLOR_PRESSED
|
||||
031 0x94795dff // BUTTON_BORDER_COLOR_DISABLED
|
||||
032 0xc0a39bff // BUTTON_BASE_COLOR_DISABLED
|
||||
033 0x7e4535ff // BUTTON_TEXT_COLOR_DISABLED
|
||||
035 0x9dcd26ff // TOGGLE_BORDER_COLOR_NORMAL
|
||||
036 0xe6fdbbff // TOGGLE_BASE_COLOR_NORMAL
|
||||
037 0x01701aff // TOGGLE_TEXT_COLOR_NORMAL
|
||||
038 0xa0ee00ff // TOGGLE_BORDER_COLOR_FOCUSED
|
||||
039 0xe3e28aff // TOGGLE_BASE_COLOR_FOCUSED
|
||||
040 0x5ea61eff // TOGGLE_TEXT_COLOR_FOCUSED
|
||||
041 0xdb5500ff // TOGGLE_BORDER_COLOR_PRESSED
|
||||
042 0xe68364ff // TOGGLE_BASE_COLOR_PRESSED
|
||||
043 0xfbf7f7ff // TOGGLE_TEXT_COLOR_PRESSED
|
||||
044 0x94795dff // TOGGLE_BORDER_COLOR_DISABLED
|
||||
045 0xc0a39bff // TOGGLE_BASE_COLOR_DISABLED
|
||||
046 0x7e4535ff // TOGGLE_TEXT_COLOR_DISABLED
|
||||
050 0x9dcd26ff // SLIDER_BORDER_COLOR_NORMAL
|
||||
051 0xe6fdbbff // SLIDER_BASE_COLOR_NORMAL
|
||||
052 0xa0ee00ff // SLIDER_BORDER_COLOR_FOCUSED
|
||||
053 0xe3e28aff // SLIDER_BASE_COLOR_FOCUSED
|
||||
054 0xdb5500ff // SLIDER_BORDER_COLOR_PRESSED
|
||||
055 0xe68364ff // SLIDER_BASE_COLOR_PRESSED
|
||||
056 0x94795dff // SLIDER_BORDER_COLOR_DISABLED
|
||||
057 0xc0a39bff // SLIDER_BASE_COLOR_DISABLED
|
||||
060 0x9dcd26ff // SLIDERBAR_BORDER_COLOR_NORMAL
|
||||
061 0xe6fdbbff // SLIDERBAR_BASE_COLOR_NORMAL
|
||||
062 0xa0ee00ff // SLIDERBAR_BORDER_COLOR_FOCUSED
|
||||
063 0xe3e28aff // SLIDERBAR_BASE_COLOR_FOCUSED
|
||||
064 0xdb5500ff // SLIDERBAR_BORDER_COLOR_PRESSED
|
||||
065 0xe68364ff // SLIDERBAR_BASE_COLOR_PRESSED
|
||||
066 0x94795dff // SLIDERBAR_BORDER_COLOR_DISABLED
|
||||
067 0xc0a39bff // SLIDERBAR_BASE_COLOR_DISABLED
|
||||
070 0x9dcd26ff // PROGRESSBAR_BORDER_COLOR_NORMAL
|
||||
071 0xe68364ff // PROGRESSBAR_BASE_COLOR_NORMAL
|
||||
072 0xa0ee00ff // PROGRESSBAR_BORDER_COLOR_FOCUSED
|
||||
073 0xe3e28aff // PROGRESSBAR_BASE_COLOR_FOCUSED
|
||||
074 0xdb5500ff // PROGRESSBAR_BORDER_COLOR_PRESSED
|
||||
075 0xe68364ff // PROGRESSBAR_BASE_COLOR_PRESSED
|
||||
076 0x94795dff // PROGRESSBAR_BORDER_COLOR_DISABLED
|
||||
077 0xc0a39bff // PROGRESSBAR_BASE_COLOR_DISABLED
|
||||
080 0x9dcd26ff // SPINNER_BORDER_COLOR_NORMAL
|
||||
081 0xe6fdbbff // SPINNER_BASE_COLOR_NORMAL
|
||||
082 0x01701aff // SPINNER_TEXT_COLOR_NORMAL
|
||||
083 0xa0ee00ff // SPINNER_BORDER_COLOR_FOCUSED
|
||||
084 0xe3e28aff // SPINNER_BASE_COLOR_FOCUSED
|
||||
085 0x5ea61eff // SPINNER_TEXT_COLOR_FOCUSED
|
||||
086 0xdb5500ff // SPINNER_BORDER_COLOR_PRESSED
|
||||
087 0xe68364ff // SPINNER_BASE_COLOR_PRESSED
|
||||
088 0xfbf7f7ff // SPINNER_TEXT_COLOR_PRESSED
|
||||
089 0x94795dff // SPINNER_BORDER_COLOR_DISABLED
|
||||
090 0xc0a39bff // SPINNER_BASE_COLOR_DISABLED
|
||||
091 0x7e4535ff // SPINNER_TEXT_COLOR_DISABLED
|
||||
095 0x9dcd26ff // COMBOBOX_BORDER_COLOR_NORMAL
|
||||
096 0xe6fdbbff // COMBOBOX_BASE_COLOR_NORMAL
|
||||
097 0x01701aff // COMBOBOX_TEXT_COLOR_NORMAL
|
||||
098 0xa0ee00ff // COMBOBOX_BORDER_COLOR_FOCUSED
|
||||
099 0xe3e28aff // COMBOBOX_BASE_COLOR_FOCUSED
|
||||
100 0x5ea61eff // COMBOBOX_TEXT_COLOR_FOCUSED
|
||||
101 0xdb5500ff // COMBOBOX_BORDER_COLOR_PRESSED
|
||||
102 0xe68364ff // COMBOBOX_BASE_COLOR_PRESSED
|
||||
103 0xfbf7f7ff // COMBOBOX_TEXT_COLOR_PRESSED
|
||||
104 0x94795dff // COMBOBOX_BORDER_COLOR_DISABLED
|
||||
105 0xc0a39bff // COMBOBOX_BASE_COLOR_DISABLED
|
||||
106 0x7e4535ff // COMBOBOX_TEXT_COLOR_DISABLED
|
||||
109 0x9dcd26ff // CHECKBOX_BORDER_COLOR_NORMAL
|
||||
110 0xf0f0f0ff // CHECKBOX_BASE_COLOR_NORMAL
|
||||
111 0xa0ee00ff // CHECKBOX_BORDER_COLOR_FOCUSED
|
||||
112 0x5ea61eff // CHECKBOX_BASE_COLOR_FOCUSED
|
||||
113 0xdb5500ff // CHECKBOX_BORDER_COLOR_PRESSED
|
||||
114 0xfbf7f7ff // CHECKBOX_BASE_COLOR_PRESSED
|
||||
115 0x94795dff // CHECKBOX_BORDER_COLOR_DISABLED
|
||||
116 0xc0a39bff // CHECKBOX_BASE_COLOR_DISABLED
|
||||
118 0x9dcd26ff // TEXTBOX_BORDER_COLOR_NORMAL
|
||||
119 0xf0f0f0ff // TEXTBOX_BASE_COLOR_NORMAL
|
||||
120 0x01701aff // TEXTBOX_TEXT_COLOR_NORMAL
|
||||
121 0xa0ee00ff // TEXTBOX_BORDER_COLOR_FOCUSED
|
||||
122 0xe3e28aff // TEXTBOX_BASE_COLOR_FOCUSED
|
||||
123 0x5ea61eff // TEXTBOX_TEXT_COLOR_FOCUSED
|
||||
124 0xdb5500ff // TEXTBOX_BORDER_COLOR_PRESSED
|
||||
125 0xe68364ff // TEXTBOX_BASE_COLOR_PRESSED
|
||||
126 0xfbf7f7ff // TEXTBOX_TEXT_COLOR_PRESSED
|
||||
127 0x94795dff // TEXTBOX_BORDER_COLOR_DISABLED
|
||||
128 0xc0a39bff // TEXTBOX_BASE_COLOR_DISABLED
|
||||
129 0x7e4535ff // TEXTBOX_TEXT_COLOR_DISABLED
|
||||
132 0x9dcd26ff // COLORPICKER_BORDER_COLOR_NORMAL
|
||||
133 0xf0f0f0ff // COLORPICKER_BASE_COLOR_NORMAL
|
||||
134 0xa0ee00ff // COLORPICKER_BORDER_COLOR_FOCUSED
|
||||
135 0x5ea61eff // COLORPICKER_BASE_COLOR_FOCUSED
|
||||
136 0xdb5500ff // COLORPICKER_BORDER_COLOR_PRESSED
|
||||
137 0xfbf7f7ff // COLORPICKER_BASE_COLOR_PRESSED
|
||||
138 0x94795dff // COLORPICKER_BORDER_COLOR_DISABLED
|
||||
139 0xc0a39bff // COLORPICKER_BASE_COLOR_DISABLED
|
||||
143 0x9dcd26ff // LISTVIEW_BORDER_COLOR_NORMAL
|
||||
144 0xf0f0f0ff // LISTVIEW_BASE_COLOR_NORMAL
|
||||
145 0x01701aff // LISTVIEW_TEXT_COLOR_NORMAL
|
||||
146 0xa0ee00ff // LISTVIEW_BORDER_COLOR_FOCUSED
|
||||
147 0xe3e28aff // LISTVIEW_BASE_COLOR_FOCUSED
|
||||
148 0x5ea61eff // LISTVIEW_TEXT_COLOR_FOCUSED
|
||||
149 0xdb5500ff // LISTVIEW_BORDER_COLOR_PRESSED
|
||||
150 0xe68364ff // LISTVIEW_BASE_COLOR_PRESSED
|
||||
151 0xfbf7f7ff // LISTVIEW_TEXT_COLOR_PRESSED
|
||||
152 0x94795dff // LISTVIEW_BORDER_COLOR_DISABLED
|
||||
153 0xc0a39bff // LISTVIEW_BASE_COLOR_DISABLED
|
||||
154 0x7e4535ff // LISTVIEW_TEXT_COLOR_DISABLED
|
||||
@ -1,81 +0,0 @@
|
||||
#
|
||||
# rgst file (v2.0) - raygui style text file generated using rGuiStyler
|
||||
#
|
||||
# Total number of properties: 155
|
||||
# Number of properties changed: 74
|
||||
# Required base default style: LIGHT
|
||||
#
|
||||
000 0xf7b8e3ff // DEFAULT_BACKGROUND_COLOR
|
||||
001 0x0c0c0cff // DEFAULT_LINES_COLOR
|
||||
006 0xd771ecff // DEFAULT_BASE_COLOR_NORMAL
|
||||
007 0x101010ff // DEFAULT_TEXT_COLOR_NORMAL
|
||||
009 0xa93ce9ff // DEFAULT_BASE_COLOR_FOCUSED
|
||||
010 0x00aeffff // DEFAULT_TEXT_COLOR_FOCUSED
|
||||
012 0xd2aeddff // DEFAULT_BASE_COLOR_PRESSED
|
||||
013 0xf9fbfbff // DEFAULT_TEXT_COLOR_PRESSED
|
||||
015 0xcb9ff3ff // DEFAULT_BASE_COLOR_DISABLED
|
||||
017 0x101010ff // LABEL_TEXT_COLOR_NORMAL
|
||||
018 0x00aeffff // LABEL_TEXT_COLOR_FOCUSED
|
||||
019 0xf9fbfbff // LABEL_TEXT_COLOR_PRESSED
|
||||
023 0xd771ecff // BUTTON_BASE_COLOR_NORMAL
|
||||
024 0x101010ff // BUTTON_TEXT_COLOR_NORMAL
|
||||
026 0xa93ce9ff // BUTTON_BASE_COLOR_FOCUSED
|
||||
027 0x00aeffff // BUTTON_TEXT_COLOR_FOCUSED
|
||||
029 0xd2aeddff // BUTTON_BASE_COLOR_PRESSED
|
||||
030 0xf9fbfbff // BUTTON_TEXT_COLOR_PRESSED
|
||||
032 0xcb9ff3ff // BUTTON_BASE_COLOR_DISABLED
|
||||
036 0xd771ecff // TOGGLE_BASE_COLOR_NORMAL
|
||||
037 0x101010ff // TOGGLE_TEXT_COLOR_NORMAL
|
||||
039 0xa93ce9ff // TOGGLE_BASE_COLOR_FOCUSED
|
||||
040 0x00aeffff // TOGGLE_TEXT_COLOR_FOCUSED
|
||||
042 0xd2aeddff // TOGGLE_BASE_COLOR_PRESSED
|
||||
043 0xf9fbfbff // TOGGLE_TEXT_COLOR_PRESSED
|
||||
045 0xcb9ff3ff // TOGGLE_BASE_COLOR_DISABLED
|
||||
051 0xd771ecff // SLIDER_BASE_COLOR_NORMAL
|
||||
053 0xa93ce9ff // SLIDER_BASE_COLOR_FOCUSED
|
||||
055 0xd2aeddff // SLIDER_BASE_COLOR_PRESSED
|
||||
057 0xcb9ff3ff // SLIDER_BASE_COLOR_DISABLED
|
||||
061 0xd771ecff // SLIDERBAR_BASE_COLOR_NORMAL
|
||||
063 0xa93ce9ff // SLIDERBAR_BASE_COLOR_FOCUSED
|
||||
065 0xd2aeddff // SLIDERBAR_BASE_COLOR_PRESSED
|
||||
067 0xcb9ff3ff // SLIDERBAR_BASE_COLOR_DISABLED
|
||||
071 0xd2aeddff // PROGRESSBAR_BASE_COLOR_NORMAL
|
||||
073 0xa93ce9ff // PROGRESSBAR_BASE_COLOR_FOCUSED
|
||||
075 0xd2aeddff // PROGRESSBAR_BASE_COLOR_PRESSED
|
||||
077 0xcb9ff3ff // PROGRESSBAR_BASE_COLOR_DISABLED
|
||||
081 0xd771ecff // SPINNER_BASE_COLOR_NORMAL
|
||||
082 0x101010ff // SPINNER_TEXT_COLOR_NORMAL
|
||||
084 0xa93ce9ff // SPINNER_BASE_COLOR_FOCUSED
|
||||
085 0x00aeffff // SPINNER_TEXT_COLOR_FOCUSED
|
||||
087 0xd2aeddff // SPINNER_BASE_COLOR_PRESSED
|
||||
088 0xf9fbfbff // SPINNER_TEXT_COLOR_PRESSED
|
||||
090 0xcb9ff3ff // SPINNER_BASE_COLOR_DISABLED
|
||||
096 0xd771ecff // COMBOBOX_BASE_COLOR_NORMAL
|
||||
097 0x101010ff // COMBOBOX_TEXT_COLOR_NORMAL
|
||||
099 0xa93ce9ff // COMBOBOX_BASE_COLOR_FOCUSED
|
||||
100 0x00aeffff // COMBOBOX_TEXT_COLOR_FOCUSED
|
||||
102 0xd2aeddff // COMBOBOX_BASE_COLOR_PRESSED
|
||||
103 0xf9fbfbff // COMBOBOX_TEXT_COLOR_PRESSED
|
||||
105 0xcb9ff3ff // COMBOBOX_BASE_COLOR_DISABLED
|
||||
110 0xf7b8e3ff // CHECKBOX_BASE_COLOR_NORMAL
|
||||
112 0x00aeffff // CHECKBOX_BASE_COLOR_FOCUSED
|
||||
114 0xf9fbfbff // CHECKBOX_BASE_COLOR_PRESSED
|
||||
116 0xcb9ff3ff // CHECKBOX_BASE_COLOR_DISABLED
|
||||
119 0xf7b8e3ff // TEXTBOX_BASE_COLOR_NORMAL
|
||||
120 0x101010ff // TEXTBOX_TEXT_COLOR_NORMAL
|
||||
122 0xa93ce9ff // TEXTBOX_BASE_COLOR_FOCUSED
|
||||
123 0x00aeffff // TEXTBOX_TEXT_COLOR_FOCUSED
|
||||
125 0xd2aeddff // TEXTBOX_BASE_COLOR_PRESSED
|
||||
126 0xf9fbfbff // TEXTBOX_TEXT_COLOR_PRESSED
|
||||
128 0xcb9ff3ff // TEXTBOX_BASE_COLOR_DISABLED
|
||||
133 0xf7b8e3ff // COLORPICKER_BASE_COLOR_NORMAL
|
||||
135 0x00aeffff // COLORPICKER_BASE_COLOR_FOCUSED
|
||||
137 0xf9fbfbff // COLORPICKER_BASE_COLOR_PRESSED
|
||||
139 0xcb9ff3ff // COLORPICKER_BASE_COLOR_DISABLED
|
||||
144 0xf7b8e3ff // LISTVIEW_BASE_COLOR_NORMAL
|
||||
145 0x101010ff // LISTVIEW_TEXT_COLOR_NORMAL
|
||||
147 0xa93ce9ff // LISTVIEW_BASE_COLOR_FOCUSED
|
||||
148 0x00aeffff // LISTVIEW_TEXT_COLOR_FOCUSED
|
||||
150 0xd2aeddff // LISTVIEW_BASE_COLOR_PRESSED
|
||||
151 0xf9fbfbff // LISTVIEW_TEXT_COLOR_PRESSED
|
||||
153 0xcb9ff3ff // LISTVIEW_BASE_COLOR_DISABLED
|
||||
@ -1,137 +0,0 @@
|
||||
#
|
||||
# rgst file (v2.0) - raygui style text file generated using rGuiStyler
|
||||
#
|
||||
# Total number of properties: 155
|
||||
# Number of properties changed: 130
|
||||
# Required base default style: LIGHT
|
||||
#
|
||||
000 0x173a19ff // DEFAULT_BACKGROUND_COLOR
|
||||
001 0x7dfb6fff // DEFAULT_LINES_COLOR
|
||||
005 0x5fda56ff // DEFAULT_BORDER_COLOR_NORMAL
|
||||
006 0x41ab41ff // DEFAULT_BASE_COLOR_NORMAL
|
||||
007 0x80e173ff // DEFAULT_TEXT_COLOR_NORMAL
|
||||
008 0x97faf0ff // DEFAULT_BORDER_COLOR_FOCUSED
|
||||
009 0x62e0dcff // DEFAULT_BASE_COLOR_FOCUSED
|
||||
010 0xaafdfaff // DEFAULT_TEXT_COLOR_FOCUSED
|
||||
011 0x3c66e0ff // DEFAULT_BORDER_COLOR_PRESSED
|
||||
012 0x005b57ff // DEFAULT_BASE_COLOR_PRESSED
|
||||
013 0x4784c2ff // DEFAULT_TEXT_COLOR_PRESSED
|
||||
014 0xa19292ff // DEFAULT_BORDER_COLOR_DISABLED
|
||||
015 0x706060ff // DEFAULT_BASE_COLOR_DISABLED
|
||||
016 0x9e8585ff // DEFAULT_TEXT_COLOR_DISABLED
|
||||
017 0x80e173ff // LABEL_TEXT_COLOR_NORMAL
|
||||
018 0xaafdfaff // LABEL_TEXT_COLOR_FOCUSED
|
||||
019 0x4784c2ff // LABEL_TEXT_COLOR_PRESSED
|
||||
020 0x9e8585ff // LABEL_TEXT_COLOR_DISABLED
|
||||
022 0x5fda56ff // BUTTON_BORDER_COLOR_NORMAL
|
||||
023 0x41ab41ff // BUTTON_BASE_COLOR_NORMAL
|
||||
024 0x80e173ff // BUTTON_TEXT_COLOR_NORMAL
|
||||
025 0x97faf0ff // BUTTON_BORDER_COLOR_FOCUSED
|
||||
026 0x62e0dcff // BUTTON_BASE_COLOR_FOCUSED
|
||||
027 0xaafdfaff // BUTTON_TEXT_COLOR_FOCUSED
|
||||
028 0x3c66e0ff // BUTTON_BORDER_COLOR_PRESSED
|
||||
029 0x005b57ff // BUTTON_BASE_COLOR_PRESSED
|
||||
030 0x4784c2ff // BUTTON_TEXT_COLOR_PRESSED
|
||||
031 0xa19292ff // BUTTON_BORDER_COLOR_DISABLED
|
||||
032 0x706060ff // BUTTON_BASE_COLOR_DISABLED
|
||||
033 0x9e8585ff // BUTTON_TEXT_COLOR_DISABLED
|
||||
035 0x5fda56ff // TOGGLE_BORDER_COLOR_NORMAL
|
||||
036 0x41ab41ff // TOGGLE_BASE_COLOR_NORMAL
|
||||
037 0x80e173ff // TOGGLE_TEXT_COLOR_NORMAL
|
||||
038 0x97faf0ff // TOGGLE_BORDER_COLOR_FOCUSED
|
||||
039 0x62e0dcff // TOGGLE_BASE_COLOR_FOCUSED
|
||||
040 0xaafdfaff // TOGGLE_TEXT_COLOR_FOCUSED
|
||||
041 0x3c66e0ff // TOGGLE_BORDER_COLOR_PRESSED
|
||||
042 0x005b57ff // TOGGLE_BASE_COLOR_PRESSED
|
||||
043 0x4784c2ff // TOGGLE_TEXT_COLOR_PRESSED
|
||||
044 0xa19292ff // TOGGLE_BORDER_COLOR_DISABLED
|
||||
045 0x706060ff // TOGGLE_BASE_COLOR_DISABLED
|
||||
046 0x9e8585ff // TOGGLE_TEXT_COLOR_DISABLED
|
||||
050 0x5fda56ff // SLIDER_BORDER_COLOR_NORMAL
|
||||
051 0x41ab41ff // SLIDER_BASE_COLOR_NORMAL
|
||||
052 0x97faf0ff // SLIDER_BORDER_COLOR_FOCUSED
|
||||
053 0x62e0dcff // SLIDER_BASE_COLOR_FOCUSED
|
||||
054 0x3c66e0ff // SLIDER_BORDER_COLOR_PRESSED
|
||||
055 0x005b57ff // SLIDER_BASE_COLOR_PRESSED
|
||||
056 0xa19292ff // SLIDER_BORDER_COLOR_DISABLED
|
||||
057 0x706060ff // SLIDER_BASE_COLOR_DISABLED
|
||||
060 0x5fda56ff // SLIDERBAR_BORDER_COLOR_NORMAL
|
||||
061 0x41ab41ff // SLIDERBAR_BASE_COLOR_NORMAL
|
||||
062 0x97faf0ff // SLIDERBAR_BORDER_COLOR_FOCUSED
|
||||
063 0x62e0dcff // SLIDERBAR_BASE_COLOR_FOCUSED
|
||||
064 0x3c66e0ff // SLIDERBAR_BORDER_COLOR_PRESSED
|
||||
065 0x005b57ff // SLIDERBAR_BASE_COLOR_PRESSED
|
||||
066 0xa19292ff // SLIDERBAR_BORDER_COLOR_DISABLED
|
||||
067 0x706060ff // SLIDERBAR_BASE_COLOR_DISABLED
|
||||
070 0x5fda56ff // PROGRESSBAR_BORDER_COLOR_NORMAL
|
||||
071 0x005b57ff // PROGRESSBAR_BASE_COLOR_NORMAL
|
||||
072 0x97faf0ff // PROGRESSBAR_BORDER_COLOR_FOCUSED
|
||||
073 0x62e0dcff // PROGRESSBAR_BASE_COLOR_FOCUSED
|
||||
074 0x3c66e0ff // PROGRESSBAR_BORDER_COLOR_PRESSED
|
||||
075 0x005b57ff // PROGRESSBAR_BASE_COLOR_PRESSED
|
||||
076 0xa19292ff // PROGRESSBAR_BORDER_COLOR_DISABLED
|
||||
077 0x706060ff // PROGRESSBAR_BASE_COLOR_DISABLED
|
||||
080 0x5fda56ff // SPINNER_BORDER_COLOR_NORMAL
|
||||
081 0x41ab41ff // SPINNER_BASE_COLOR_NORMAL
|
||||
082 0x80e173ff // SPINNER_TEXT_COLOR_NORMAL
|
||||
083 0x97faf0ff // SPINNER_BORDER_COLOR_FOCUSED
|
||||
084 0x62e0dcff // SPINNER_BASE_COLOR_FOCUSED
|
||||
085 0xaafdfaff // SPINNER_TEXT_COLOR_FOCUSED
|
||||
086 0x3c66e0ff // SPINNER_BORDER_COLOR_PRESSED
|
||||
087 0x005b57ff // SPINNER_BASE_COLOR_PRESSED
|
||||
088 0x4784c2ff // SPINNER_TEXT_COLOR_PRESSED
|
||||
089 0xa19292ff // SPINNER_BORDER_COLOR_DISABLED
|
||||
090 0x706060ff // SPINNER_BASE_COLOR_DISABLED
|
||||
091 0x9e8585ff // SPINNER_TEXT_COLOR_DISABLED
|
||||
095 0x5fda56ff // COMBOBOX_BORDER_COLOR_NORMAL
|
||||
096 0x41ab41ff // COMBOBOX_BASE_COLOR_NORMAL
|
||||
097 0x80e173ff // COMBOBOX_TEXT_COLOR_NORMAL
|
||||
098 0x97faf0ff // COMBOBOX_BORDER_COLOR_FOCUSED
|
||||
099 0x62e0dcff // COMBOBOX_BASE_COLOR_FOCUSED
|
||||
100 0xaafdfaff // COMBOBOX_TEXT_COLOR_FOCUSED
|
||||
101 0x3c66e0ff // COMBOBOX_BORDER_COLOR_PRESSED
|
||||
102 0x005b57ff // COMBOBOX_BASE_COLOR_PRESSED
|
||||
103 0x4784c2ff // COMBOBOX_TEXT_COLOR_PRESSED
|
||||
104 0xa19292ff // COMBOBOX_BORDER_COLOR_DISABLED
|
||||
105 0x706060ff // COMBOBOX_BASE_COLOR_DISABLED
|
||||
106 0x9e8585ff // COMBOBOX_TEXT_COLOR_DISABLED
|
||||
109 0x5fda56ff // CHECKBOX_BORDER_COLOR_NORMAL
|
||||
110 0x173a19ff // CHECKBOX_BASE_COLOR_NORMAL
|
||||
111 0x97faf0ff // CHECKBOX_BORDER_COLOR_FOCUSED
|
||||
112 0xaafdfaff // CHECKBOX_BASE_COLOR_FOCUSED
|
||||
113 0x3c66e0ff // CHECKBOX_BORDER_COLOR_PRESSED
|
||||
114 0x4784c2ff // CHECKBOX_BASE_COLOR_PRESSED
|
||||
115 0xa19292ff // CHECKBOX_BORDER_COLOR_DISABLED
|
||||
116 0x706060ff // CHECKBOX_BASE_COLOR_DISABLED
|
||||
118 0x5fda56ff // TEXTBOX_BORDER_COLOR_NORMAL
|
||||
119 0x173a19ff // TEXTBOX_BASE_COLOR_NORMAL
|
||||
120 0x80e173ff // TEXTBOX_TEXT_COLOR_NORMAL
|
||||
121 0x97faf0ff // TEXTBOX_BORDER_COLOR_FOCUSED
|
||||
122 0x62e0dcff // TEXTBOX_BASE_COLOR_FOCUSED
|
||||
123 0xaafdfaff // TEXTBOX_TEXT_COLOR_FOCUSED
|
||||
124 0x3c66e0ff // TEXTBOX_BORDER_COLOR_PRESSED
|
||||
125 0x005b57ff // TEXTBOX_BASE_COLOR_PRESSED
|
||||
126 0x4784c2ff // TEXTBOX_TEXT_COLOR_PRESSED
|
||||
127 0xa19292ff // TEXTBOX_BORDER_COLOR_DISABLED
|
||||
128 0x706060ff // TEXTBOX_BASE_COLOR_DISABLED
|
||||
129 0x9e8585ff // TEXTBOX_TEXT_COLOR_DISABLED
|
||||
132 0x5fda56ff // COLORPICKER_BORDER_COLOR_NORMAL
|
||||
133 0x173a19ff // COLORPICKER_BASE_COLOR_NORMAL
|
||||
134 0x97faf0ff // COLORPICKER_BORDER_COLOR_FOCUSED
|
||||
135 0xaafdfaff // COLORPICKER_BASE_COLOR_FOCUSED
|
||||
136 0x3c66e0ff // COLORPICKER_BORDER_COLOR_PRESSED
|
||||
137 0x4784c2ff // COLORPICKER_BASE_COLOR_PRESSED
|
||||
138 0xa19292ff // COLORPICKER_BORDER_COLOR_DISABLED
|
||||
139 0x706060ff // COLORPICKER_BASE_COLOR_DISABLED
|
||||
143 0x5fda56ff // LISTVIEW_BORDER_COLOR_NORMAL
|
||||
144 0x173a19ff // LISTVIEW_BASE_COLOR_NORMAL
|
||||
145 0x80e173ff // LISTVIEW_TEXT_COLOR_NORMAL
|
||||
146 0x97faf0ff // LISTVIEW_BORDER_COLOR_FOCUSED
|
||||
147 0x62e0dcff // LISTVIEW_BASE_COLOR_FOCUSED
|
||||
148 0xaafdfaff // LISTVIEW_TEXT_COLOR_FOCUSED
|
||||
149 0x3c66e0ff // LISTVIEW_BORDER_COLOR_PRESSED
|
||||
150 0x005b57ff // LISTVIEW_BASE_COLOR_PRESSED
|
||||
151 0x4784c2ff // LISTVIEW_TEXT_COLOR_PRESSED
|
||||
152 0xa19292ff // LISTVIEW_BORDER_COLOR_DISABLED
|
||||
153 0x706060ff // LISTVIEW_BASE_COLOR_DISABLED
|
||||
154 0x9e8585ff // LISTVIEW_TEXT_COLOR_DISABLED
|
||||
@ -1,137 +0,0 @@
|
||||
#
|
||||
# rgst file (v2.0) - raygui style text file generated using rGuiStyler
|
||||
#
|
||||
# Total number of properties: 155
|
||||
# Number of properties changed: 130
|
||||
# Required base default style: LIGHT
|
||||
#
|
||||
000 0xb7d8c0e8 // DEFAULT_BACKGROUND_COLOR
|
||||
001 0xe6cdb0ff // DEFAULT_LINES_COLOR
|
||||
005 0x80d5c1ff // DEFAULT_BORDER_COLOR_NORMAL
|
||||
006 0xbef3fdff // DEFAULT_BASE_COLOR_NORMAL
|
||||
007 0x4f3a28ff // DEFAULT_TEXT_COLOR_NORMAL
|
||||
008 0xcbe83aff // DEFAULT_BORDER_COLOR_FOCUSED
|
||||
009 0xddefa5ff // DEFAULT_BASE_COLOR_FOCUSED
|
||||
010 0x97661cff // DEFAULT_TEXT_COLOR_FOCUSED
|
||||
011 0x9a5100ff // DEFAULT_BORDER_COLOR_PRESSED
|
||||
012 0xeededdff // DEFAULT_BASE_COLOR_PRESSED
|
||||
013 0xbd4a4aff // DEFAULT_TEXT_COLOR_PRESSED
|
||||
014 0x94795dff // DEFAULT_BORDER_COLOR_DISABLED
|
||||
015 0xc2a37aff // DEFAULT_BASE_COLOR_DISABLED
|
||||
016 0x9c8369ff // DEFAULT_TEXT_COLOR_DISABLED
|
||||
017 0x4f3a28ff // LABEL_TEXT_COLOR_NORMAL
|
||||
018 0x97661cff // LABEL_TEXT_COLOR_FOCUSED
|
||||
019 0xbd4a4aff // LABEL_TEXT_COLOR_PRESSED
|
||||
020 0x9c8369ff // LABEL_TEXT_COLOR_DISABLED
|
||||
022 0x80d5c1ff // BUTTON_BORDER_COLOR_NORMAL
|
||||
023 0xbef3fdff // BUTTON_BASE_COLOR_NORMAL
|
||||
024 0x4f3a28ff // BUTTON_TEXT_COLOR_NORMAL
|
||||
025 0xcbe83aff // BUTTON_BORDER_COLOR_FOCUSED
|
||||
026 0xddefa5ff // BUTTON_BASE_COLOR_FOCUSED
|
||||
027 0x97661cff // BUTTON_TEXT_COLOR_FOCUSED
|
||||
028 0x9a5100ff // BUTTON_BORDER_COLOR_PRESSED
|
||||
029 0xeededdff // BUTTON_BASE_COLOR_PRESSED
|
||||
030 0xbd4a4aff // BUTTON_TEXT_COLOR_PRESSED
|
||||
031 0x94795dff // BUTTON_BORDER_COLOR_DISABLED
|
||||
032 0xc2a37aff // BUTTON_BASE_COLOR_DISABLED
|
||||
033 0x9c8369ff // BUTTON_TEXT_COLOR_DISABLED
|
||||
035 0x80d5c1ff // TOGGLE_BORDER_COLOR_NORMAL
|
||||
036 0xbef3fdff // TOGGLE_BASE_COLOR_NORMAL
|
||||
037 0x4f3a28ff // TOGGLE_TEXT_COLOR_NORMAL
|
||||
038 0xcbe83aff // TOGGLE_BORDER_COLOR_FOCUSED
|
||||
039 0xddefa5ff // TOGGLE_BASE_COLOR_FOCUSED
|
||||
040 0x97661cff // TOGGLE_TEXT_COLOR_FOCUSED
|
||||
041 0x9a5100ff // TOGGLE_BORDER_COLOR_PRESSED
|
||||
042 0xeededdff // TOGGLE_BASE_COLOR_PRESSED
|
||||
043 0xbd4a4aff // TOGGLE_TEXT_COLOR_PRESSED
|
||||
044 0x94795dff // TOGGLE_BORDER_COLOR_DISABLED
|
||||
045 0xc2a37aff // TOGGLE_BASE_COLOR_DISABLED
|
||||
046 0x9c8369ff // TOGGLE_TEXT_COLOR_DISABLED
|
||||
050 0x80d5c1ff // SLIDER_BORDER_COLOR_NORMAL
|
||||
051 0xbef3fdff // SLIDER_BASE_COLOR_NORMAL
|
||||
052 0xcbe83aff // SLIDER_BORDER_COLOR_FOCUSED
|
||||
053 0xddefa5ff // SLIDER_BASE_COLOR_FOCUSED
|
||||
054 0x9a5100ff // SLIDER_BORDER_COLOR_PRESSED
|
||||
055 0xeededdff // SLIDER_BASE_COLOR_PRESSED
|
||||
056 0x94795dff // SLIDER_BORDER_COLOR_DISABLED
|
||||
057 0xc2a37aff // SLIDER_BASE_COLOR_DISABLED
|
||||
060 0x80d5c1ff // SLIDERBAR_BORDER_COLOR_NORMAL
|
||||
061 0xbef3fdff // SLIDERBAR_BASE_COLOR_NORMAL
|
||||
062 0xcbe83aff // SLIDERBAR_BORDER_COLOR_FOCUSED
|
||||
063 0xddefa5ff // SLIDERBAR_BASE_COLOR_FOCUSED
|
||||
064 0x9a5100ff // SLIDERBAR_BORDER_COLOR_PRESSED
|
||||
065 0xeededdff // SLIDERBAR_BASE_COLOR_PRESSED
|
||||
066 0x94795dff // SLIDERBAR_BORDER_COLOR_DISABLED
|
||||
067 0xc2a37aff // SLIDERBAR_BASE_COLOR_DISABLED
|
||||
070 0x80d5c1ff // PROGRESSBAR_BORDER_COLOR_NORMAL
|
||||
071 0xeededdff // PROGRESSBAR_BASE_COLOR_NORMAL
|
||||
072 0xcbe83aff // PROGRESSBAR_BORDER_COLOR_FOCUSED
|
||||
073 0xddefa5ff // PROGRESSBAR_BASE_COLOR_FOCUSED
|
||||
074 0x9a5100ff // PROGRESSBAR_BORDER_COLOR_PRESSED
|
||||
075 0xeededdff // PROGRESSBAR_BASE_COLOR_PRESSED
|
||||
076 0x94795dff // PROGRESSBAR_BORDER_COLOR_DISABLED
|
||||
077 0xc2a37aff // PROGRESSBAR_BASE_COLOR_DISABLED
|
||||
080 0x80d5c1ff // SPINNER_BORDER_COLOR_NORMAL
|
||||
081 0xbef3fdff // SPINNER_BASE_COLOR_NORMAL
|
||||
082 0x4f3a28ff // SPINNER_TEXT_COLOR_NORMAL
|
||||
083 0xcbe83aff // SPINNER_BORDER_COLOR_FOCUSED
|
||||
084 0xddefa5ff // SPINNER_BASE_COLOR_FOCUSED
|
||||
085 0x97661cff // SPINNER_TEXT_COLOR_FOCUSED
|
||||
086 0x9a5100ff // SPINNER_BORDER_COLOR_PRESSED
|
||||
087 0xeededdff // SPINNER_BASE_COLOR_PRESSED
|
||||
088 0xbd4a4aff // SPINNER_TEXT_COLOR_PRESSED
|
||||
089 0x94795dff // SPINNER_BORDER_COLOR_DISABLED
|
||||
090 0xc2a37aff // SPINNER_BASE_COLOR_DISABLED
|
||||
091 0x9c8369ff // SPINNER_TEXT_COLOR_DISABLED
|
||||
095 0x80d5c1ff // COMBOBOX_BORDER_COLOR_NORMAL
|
||||
096 0xbef3fdff // COMBOBOX_BASE_COLOR_NORMAL
|
||||
097 0x4f3a28ff // COMBOBOX_TEXT_COLOR_NORMAL
|
||||
098 0xcbe83aff // COMBOBOX_BORDER_COLOR_FOCUSED
|
||||
099 0xddefa5ff // COMBOBOX_BASE_COLOR_FOCUSED
|
||||
100 0x97661cff // COMBOBOX_TEXT_COLOR_FOCUSED
|
||||
101 0x9a5100ff // COMBOBOX_BORDER_COLOR_PRESSED
|
||||
102 0xeededdff // COMBOBOX_BASE_COLOR_PRESSED
|
||||
103 0xbd4a4aff // COMBOBOX_TEXT_COLOR_PRESSED
|
||||
104 0x94795dff // COMBOBOX_BORDER_COLOR_DISABLED
|
||||
105 0xc2a37aff // COMBOBOX_BASE_COLOR_DISABLED
|
||||
106 0x9c8369ff // COMBOBOX_TEXT_COLOR_DISABLED
|
||||
109 0x80d5c1ff // CHECKBOX_BORDER_COLOR_NORMAL
|
||||
110 0xb7d8c0e8 // CHECKBOX_BASE_COLOR_NORMAL
|
||||
111 0xcbe83aff // CHECKBOX_BORDER_COLOR_FOCUSED
|
||||
112 0x97661cff // CHECKBOX_BASE_COLOR_FOCUSED
|
||||
113 0x9a5100ff // CHECKBOX_BORDER_COLOR_PRESSED
|
||||
114 0xbd4a4aff // CHECKBOX_BASE_COLOR_PRESSED
|
||||
115 0x94795dff // CHECKBOX_BORDER_COLOR_DISABLED
|
||||
116 0xc2a37aff // CHECKBOX_BASE_COLOR_DISABLED
|
||||
118 0x80d5c1ff // TEXTBOX_BORDER_COLOR_NORMAL
|
||||
119 0xb7d8c0e8 // TEXTBOX_BASE_COLOR_NORMAL
|
||||
120 0x4f3a28ff // TEXTBOX_TEXT_COLOR_NORMAL
|
||||
121 0xcbe83aff // TEXTBOX_BORDER_COLOR_FOCUSED
|
||||
122 0xddefa5ff // TEXTBOX_BASE_COLOR_FOCUSED
|
||||
123 0x97661cff // TEXTBOX_TEXT_COLOR_FOCUSED
|
||||
124 0x9a5100ff // TEXTBOX_BORDER_COLOR_PRESSED
|
||||
125 0xeededdff // TEXTBOX_BASE_COLOR_PRESSED
|
||||
126 0xbd4a4aff // TEXTBOX_TEXT_COLOR_PRESSED
|
||||
127 0x94795dff // TEXTBOX_BORDER_COLOR_DISABLED
|
||||
128 0xc2a37aff // TEXTBOX_BASE_COLOR_DISABLED
|
||||
129 0x9c8369ff // TEXTBOX_TEXT_COLOR_DISABLED
|
||||
132 0x80d5c1ff // COLORPICKER_BORDER_COLOR_NORMAL
|
||||
133 0xb7d8c0e8 // COLORPICKER_BASE_COLOR_NORMAL
|
||||
134 0xcbe83aff // COLORPICKER_BORDER_COLOR_FOCUSED
|
||||
135 0x97661cff // COLORPICKER_BASE_COLOR_FOCUSED
|
||||
136 0x9a5100ff // COLORPICKER_BORDER_COLOR_PRESSED
|
||||
137 0xbd4a4aff // COLORPICKER_BASE_COLOR_PRESSED
|
||||
138 0x94795dff // COLORPICKER_BORDER_COLOR_DISABLED
|
||||
139 0xc2a37aff // COLORPICKER_BASE_COLOR_DISABLED
|
||||
143 0x80d5c1ff // LISTVIEW_BORDER_COLOR_NORMAL
|
||||
144 0xb7d8c0e8 // LISTVIEW_BASE_COLOR_NORMAL
|
||||
145 0x4f3a28ff // LISTVIEW_TEXT_COLOR_NORMAL
|
||||
146 0xcbe83aff // LISTVIEW_BORDER_COLOR_FOCUSED
|
||||
147 0xddefa5ff // LISTVIEW_BASE_COLOR_FOCUSED
|
||||
148 0x97661cff // LISTVIEW_TEXT_COLOR_FOCUSED
|
||||
149 0x9a5100ff // LISTVIEW_BORDER_COLOR_PRESSED
|
||||
150 0xeededdff // LISTVIEW_BASE_COLOR_PRESSED
|
||||
151 0xbd4a4aff // LISTVIEW_TEXT_COLOR_PRESSED
|
||||
152 0x94795dff // LISTVIEW_BORDER_COLOR_DISABLED
|
||||
153 0xfbf3e6ff // LISTVIEW_BASE_COLOR_DISABLED
|
||||
154 0x9c8369ff // LISTVIEW_TEXT_COLOR_DISABLED
|
||||
@ -1,137 +0,0 @@
|
||||
#
|
||||
# rgst file (v2.0) - raygui style text file generated using rGuiStyler
|
||||
#
|
||||
# Total number of properties: 155
|
||||
# Number of properties changed: 130
|
||||
# Required base default style: LIGHT
|
||||
#
|
||||
000 0x050505ff // DEFAULT_BACKGROUND_COLOR
|
||||
001 0xfbfbfbff // DEFAULT_LINES_COLOR
|
||||
005 0x1c8d00ff // DEFAULT_BORDER_COLOR_NORMAL
|
||||
006 0x00000004 // DEFAULT_BASE_COLOR_NORMAL
|
||||
007 0x27a617ff // DEFAULT_TEXT_COLOR_NORMAL
|
||||
008 0xffecec64 // DEFAULT_BORDER_COLOR_FOCUSED
|
||||
009 0x27f705ff // DEFAULT_BASE_COLOR_FOCUSED
|
||||
010 0x060606ff // DEFAULT_TEXT_COLOR_FOCUSED
|
||||
011 0x00f600ff // DEFAULT_BORDER_COLOR_PRESSED
|
||||
012 0x378b022d // DEFAULT_BASE_COLOR_PRESSED
|
||||
013 0xfffdfdff // DEFAULT_TEXT_COLOR_PRESSED
|
||||
014 0x22a80df1 // DEFAULT_BORDER_COLOR_DISABLED
|
||||
015 0x0ec20a11 // DEFAULT_BASE_COLOR_DISABLED
|
||||
016 0xfffafaff // DEFAULT_TEXT_COLOR_DISABLED
|
||||
017 0x27a617ff // LABEL_TEXT_COLOR_NORMAL
|
||||
018 0x060606ff // LABEL_TEXT_COLOR_FOCUSED
|
||||
019 0xfffdfdff // LABEL_TEXT_COLOR_PRESSED
|
||||
020 0xfffafaff // LABEL_TEXT_COLOR_DISABLED
|
||||
022 0x1c8d00ff // BUTTON_BORDER_COLOR_NORMAL
|
||||
023 0x00000004 // BUTTON_BASE_COLOR_NORMAL
|
||||
024 0x27a617ff // BUTTON_TEXT_COLOR_NORMAL
|
||||
025 0xffecec64 // BUTTON_BORDER_COLOR_FOCUSED
|
||||
026 0x27f705ff // BUTTON_BASE_COLOR_FOCUSED
|
||||
027 0x060606ff // BUTTON_TEXT_COLOR_FOCUSED
|
||||
028 0x00f600ff // BUTTON_BORDER_COLOR_PRESSED
|
||||
029 0x378b022d // BUTTON_BASE_COLOR_PRESSED
|
||||
030 0xfffdfdff // BUTTON_TEXT_COLOR_PRESSED
|
||||
031 0x22a80df1 // BUTTON_BORDER_COLOR_DISABLED
|
||||
032 0x0ec20a11 // BUTTON_BASE_COLOR_DISABLED
|
||||
033 0xfffafaff // BUTTON_TEXT_COLOR_DISABLED
|
||||
035 0x1c8d00ff // TOGGLE_BORDER_COLOR_NORMAL
|
||||
036 0x00000004 // TOGGLE_BASE_COLOR_NORMAL
|
||||
037 0x27a617ff // TOGGLE_TEXT_COLOR_NORMAL
|
||||
038 0xffecec64 // TOGGLE_BORDER_COLOR_FOCUSED
|
||||
039 0x27f705ff // TOGGLE_BASE_COLOR_FOCUSED
|
||||
040 0x060606ff // TOGGLE_TEXT_COLOR_FOCUSED
|
||||
041 0x00f600ff // TOGGLE_BORDER_COLOR_PRESSED
|
||||
042 0x378b022d // TOGGLE_BASE_COLOR_PRESSED
|
||||
043 0xfffdfdff // TOGGLE_TEXT_COLOR_PRESSED
|
||||
044 0x22a80df1 // TOGGLE_BORDER_COLOR_DISABLED
|
||||
045 0x0ec20a11 // TOGGLE_BASE_COLOR_DISABLED
|
||||
046 0xfffafaff // TOGGLE_TEXT_COLOR_DISABLED
|
||||
050 0x1c8d00ff // SLIDER_BORDER_COLOR_NORMAL
|
||||
051 0x00000004 // SLIDER_BASE_COLOR_NORMAL
|
||||
052 0xffecec64 // SLIDER_BORDER_COLOR_FOCUSED
|
||||
053 0x27f705ff // SLIDER_BASE_COLOR_FOCUSED
|
||||
054 0x00f600ff // SLIDER_BORDER_COLOR_PRESSED
|
||||
055 0x378b022d // SLIDER_BASE_COLOR_PRESSED
|
||||
056 0x22a80df1 // SLIDER_BORDER_COLOR_DISABLED
|
||||
057 0x0ec20a11 // SLIDER_BASE_COLOR_DISABLED
|
||||
060 0x1c8d00ff // SLIDERBAR_BORDER_COLOR_NORMAL
|
||||
061 0x00000004 // SLIDERBAR_BASE_COLOR_NORMAL
|
||||
062 0xffecec64 // SLIDERBAR_BORDER_COLOR_FOCUSED
|
||||
063 0x27f705ff // SLIDERBAR_BASE_COLOR_FOCUSED
|
||||
064 0x00f600ff // SLIDERBAR_BORDER_COLOR_PRESSED
|
||||
065 0x378b022d // SLIDERBAR_BASE_COLOR_PRESSED
|
||||
066 0x22a80df1 // SLIDERBAR_BORDER_COLOR_DISABLED
|
||||
067 0x0ec20a11 // SLIDERBAR_BASE_COLOR_DISABLED
|
||||
070 0x1c8d00ff // PROGRESSBAR_BORDER_COLOR_NORMAL
|
||||
071 0x378b022d // PROGRESSBAR_BASE_COLOR_NORMAL
|
||||
072 0xffecec64 // PROGRESSBAR_BORDER_COLOR_FOCUSED
|
||||
073 0x27f705ff // PROGRESSBAR_BASE_COLOR_FOCUSED
|
||||
074 0x00f600ff // PROGRESSBAR_BORDER_COLOR_PRESSED
|
||||
075 0x378b022d // PROGRESSBAR_BASE_COLOR_PRESSED
|
||||
076 0x22a80df1 // PROGRESSBAR_BORDER_COLOR_DISABLED
|
||||
077 0x0ec20a11 // PROGRESSBAR_BASE_COLOR_DISABLED
|
||||
080 0x1c8d00ff // SPINNER_BORDER_COLOR_NORMAL
|
||||
081 0x00000004 // SPINNER_BASE_COLOR_NORMAL
|
||||
082 0x27a617ff // SPINNER_TEXT_COLOR_NORMAL
|
||||
083 0xffecec64 // SPINNER_BORDER_COLOR_FOCUSED
|
||||
084 0x27f705ff // SPINNER_BASE_COLOR_FOCUSED
|
||||
085 0x060606ff // SPINNER_TEXT_COLOR_FOCUSED
|
||||
086 0x00f600ff // SPINNER_BORDER_COLOR_PRESSED
|
||||
087 0x378b022d // SPINNER_BASE_COLOR_PRESSED
|
||||
088 0xfffdfdff // SPINNER_TEXT_COLOR_PRESSED
|
||||
089 0x22a80df1 // SPINNER_BORDER_COLOR_DISABLED
|
||||
090 0x0ec20a11 // SPINNER_BASE_COLOR_DISABLED
|
||||
091 0xfffafaff // SPINNER_TEXT_COLOR_DISABLED
|
||||
095 0x1c8d00ff // COMBOBOX_BORDER_COLOR_NORMAL
|
||||
096 0x00000004 // COMBOBOX_BASE_COLOR_NORMAL
|
||||
097 0x27a617ff // COMBOBOX_TEXT_COLOR_NORMAL
|
||||
098 0xffecec64 // COMBOBOX_BORDER_COLOR_FOCUSED
|
||||
099 0x27f705ff // COMBOBOX_BASE_COLOR_FOCUSED
|
||||
100 0x060606ff // COMBOBOX_TEXT_COLOR_FOCUSED
|
||||
101 0x00f600ff // COMBOBOX_BORDER_COLOR_PRESSED
|
||||
102 0x378b022d // COMBOBOX_BASE_COLOR_PRESSED
|
||||
103 0xfffdfdff // COMBOBOX_TEXT_COLOR_PRESSED
|
||||
104 0x22a80df1 // COMBOBOX_BORDER_COLOR_DISABLED
|
||||
105 0x0ec20a11 // COMBOBOX_BASE_COLOR_DISABLED
|
||||
106 0xfffafaff // COMBOBOX_TEXT_COLOR_DISABLED
|
||||
109 0x1c8d00ff // CHECKBOX_BORDER_COLOR_NORMAL
|
||||
110 0x050505ff // CHECKBOX_BASE_COLOR_NORMAL
|
||||
111 0xffecec64 // CHECKBOX_BORDER_COLOR_FOCUSED
|
||||
112 0x060606ff // CHECKBOX_BASE_COLOR_FOCUSED
|
||||
113 0x00f600ff // CHECKBOX_BORDER_COLOR_PRESSED
|
||||
114 0xfffdfdff // CHECKBOX_BASE_COLOR_PRESSED
|
||||
115 0x22a80df1 // CHECKBOX_BORDER_COLOR_DISABLED
|
||||
116 0x0ec20a11 // CHECKBOX_BASE_COLOR_DISABLED
|
||||
118 0x1c8d00ff // TEXTBOX_BORDER_COLOR_NORMAL
|
||||
119 0x050505ff // TEXTBOX_BASE_COLOR_NORMAL
|
||||
120 0x27a617ff // TEXTBOX_TEXT_COLOR_NORMAL
|
||||
121 0xe6131364 // TEXTBOX_BORDER_COLOR_FOCUSED
|
||||
122 0x232429ff // TEXTBOX_BASE_COLOR_FOCUSED
|
||||
123 0x060606ff // TEXTBOX_TEXT_COLOR_FOCUSED
|
||||
124 0x00f600ff // TEXTBOX_BORDER_COLOR_PRESSED
|
||||
125 0x1414132d // TEXTBOX_BASE_COLOR_PRESSED
|
||||
126 0xfffdfdff // TEXTBOX_TEXT_COLOR_PRESSED
|
||||
127 0x22a80df1 // TEXTBOX_BORDER_COLOR_DISABLED
|
||||
128 0x2f342f11 // TEXTBOX_BASE_COLOR_DISABLED
|
||||
129 0x242323ff // TEXTBOX_TEXT_COLOR_DISABLED
|
||||
132 0x1c8d00ff // COLORPICKER_BORDER_COLOR_NORMAL
|
||||
133 0x050505ff // COLORPICKER_BASE_COLOR_NORMAL
|
||||
134 0xffecec64 // COLORPICKER_BORDER_COLOR_FOCUSED
|
||||
135 0x060606ff // COLORPICKER_BASE_COLOR_FOCUSED
|
||||
136 0x00f600ff // COLORPICKER_BORDER_COLOR_PRESSED
|
||||
137 0xfffdfdff // COLORPICKER_BASE_COLOR_PRESSED
|
||||
138 0x22a80df1 // COLORPICKER_BORDER_COLOR_DISABLED
|
||||
139 0x0ec20a11 // COLORPICKER_BASE_COLOR_DISABLED
|
||||
143 0x1c8d00ff // LISTVIEW_BORDER_COLOR_NORMAL
|
||||
144 0x050505ff // LISTVIEW_BASE_COLOR_NORMAL
|
||||
145 0x27a617ff // LISTVIEW_TEXT_COLOR_NORMAL
|
||||
146 0xffecec64 // LISTVIEW_BORDER_COLOR_FOCUSED
|
||||
147 0x27f705ff // LISTVIEW_BASE_COLOR_FOCUSED
|
||||
148 0x060606ff // LISTVIEW_TEXT_COLOR_FOCUSED
|
||||
149 0x00f600ff // LISTVIEW_BORDER_COLOR_PRESSED
|
||||
150 0x378b022d // LISTVIEW_BASE_COLOR_PRESSED
|
||||
151 0xfffdfdff // LISTVIEW_TEXT_COLOR_PRESSED
|
||||
152 0x22a80df1 // LISTVIEW_BORDER_COLOR_DISABLED
|
||||
153 0x0ec20a11 // LISTVIEW_BASE_COLOR_DISABLED
|
||||
154 0xfffafaff // LISTVIEW_TEXT_COLOR_DISABLED
|
||||
@ -1,117 +0,0 @@
|
||||
#
|
||||
# rgst file (v2.0) - raygui style text file generated using rGuiStyler
|
||||
#
|
||||
# Total number of properties: 155
|
||||
# Number of properties changed: 110
|
||||
# Required base default style: LIGHT
|
||||
#
|
||||
000 0xf9e0b0ff // DEFAULT_BACKGROUND_COLOR
|
||||
001 0xd56728ff // DEFAULT_LINES_COLOR
|
||||
005 0xf7af03ff // DEFAULT_BORDER_COLOR_NORMAL
|
||||
006 0xb5681aff // DEFAULT_BASE_COLOR_NORMAL
|
||||
007 0xee9800ff // DEFAULT_TEXT_COLOR_NORMAL
|
||||
008 0x4d7c4dff // DEFAULT_BORDER_COLOR_FOCUSED
|
||||
009 0xb1d7ecff // DEFAULT_BASE_COLOR_FOCUSED
|
||||
010 0x4c9edaff // DEFAULT_TEXT_COLOR_FOCUSED
|
||||
011 0xf5a822fc // DEFAULT_BORDER_COLOR_PRESSED
|
||||
012 0xfbfac4ff // DEFAULT_BASE_COLOR_PRESSED
|
||||
013 0xf18f59ff // DEFAULT_TEXT_COLOR_PRESSED
|
||||
014 0x2d9ccfff // DEFAULT_BORDER_COLOR_DISABLED
|
||||
017 0xee9800ff // LABEL_TEXT_COLOR_NORMAL
|
||||
018 0x4c9edaff // LABEL_TEXT_COLOR_FOCUSED
|
||||
019 0xf18f59ff // LABEL_TEXT_COLOR_PRESSED
|
||||
022 0xf7af03ff // BUTTON_BORDER_COLOR_NORMAL
|
||||
023 0xb5681aff // BUTTON_BASE_COLOR_NORMAL
|
||||
024 0xee9800ff // BUTTON_TEXT_COLOR_NORMAL
|
||||
025 0x4d7c4dff // BUTTON_BORDER_COLOR_FOCUSED
|
||||
026 0xb1d7ecff // BUTTON_BASE_COLOR_FOCUSED
|
||||
027 0x4c9edaff // BUTTON_TEXT_COLOR_FOCUSED
|
||||
028 0xf5a822fc // BUTTON_BORDER_COLOR_PRESSED
|
||||
029 0xfbfac4ff // BUTTON_BASE_COLOR_PRESSED
|
||||
030 0xf18f59ff // BUTTON_TEXT_COLOR_PRESSED
|
||||
031 0x2d9ccfff // BUTTON_BORDER_COLOR_DISABLED
|
||||
035 0xf7af03ff // TOGGLE_BORDER_COLOR_NORMAL
|
||||
036 0xb5681aff // TOGGLE_BASE_COLOR_NORMAL
|
||||
037 0xee9800ff // TOGGLE_TEXT_COLOR_NORMAL
|
||||
038 0x4d7c4dff // TOGGLE_BORDER_COLOR_FOCUSED
|
||||
039 0xb1d7ecff // TOGGLE_BASE_COLOR_FOCUSED
|
||||
040 0x4c9edaff // TOGGLE_TEXT_COLOR_FOCUSED
|
||||
041 0xf5a822fc // TOGGLE_BORDER_COLOR_PRESSED
|
||||
042 0xfbfac4ff // TOGGLE_BASE_COLOR_PRESSED
|
||||
043 0xf18f59ff // TOGGLE_TEXT_COLOR_PRESSED
|
||||
044 0x2d9ccfff // TOGGLE_BORDER_COLOR_DISABLED
|
||||
050 0xf7af03ff // SLIDER_BORDER_COLOR_NORMAL
|
||||
051 0xb5681aff // SLIDER_BASE_COLOR_NORMAL
|
||||
052 0x4d7c4dff // SLIDER_BORDER_COLOR_FOCUSED
|
||||
053 0xb1d7ecff // SLIDER_BASE_COLOR_FOCUSED
|
||||
054 0xf5a822fc // SLIDER_BORDER_COLOR_PRESSED
|
||||
055 0xfbfac4ff // SLIDER_BASE_COLOR_PRESSED
|
||||
056 0x2d9ccfff // SLIDER_BORDER_COLOR_DISABLED
|
||||
060 0xf7af03ff // SLIDERBAR_BORDER_COLOR_NORMAL
|
||||
061 0xb5681aff // SLIDERBAR_BASE_COLOR_NORMAL
|
||||
062 0x4d7c4dff // SLIDERBAR_BORDER_COLOR_FOCUSED
|
||||
063 0xb1d7ecff // SLIDERBAR_BASE_COLOR_FOCUSED
|
||||
064 0xf5a822fc // SLIDERBAR_BORDER_COLOR_PRESSED
|
||||
065 0xfbfac4ff // SLIDERBAR_BASE_COLOR_PRESSED
|
||||
066 0x2d9ccfff // SLIDERBAR_BORDER_COLOR_DISABLED
|
||||
070 0xf7af03ff // PROGRESSBAR_BORDER_COLOR_NORMAL
|
||||
071 0xfbfac4ff // PROGRESSBAR_BASE_COLOR_NORMAL
|
||||
072 0x4d7c4dff // PROGRESSBAR_BORDER_COLOR_FOCUSED
|
||||
073 0xb1d7ecff // PROGRESSBAR_BASE_COLOR_FOCUSED
|
||||
074 0xf5a822fc // PROGRESSBAR_BORDER_COLOR_PRESSED
|
||||
075 0xfbfac4ff // PROGRESSBAR_BASE_COLOR_PRESSED
|
||||
076 0x2d9ccfff // PROGRESSBAR_BORDER_COLOR_DISABLED
|
||||
080 0xf7af03ff // SPINNER_BORDER_COLOR_NORMAL
|
||||
081 0xb5681aff // SPINNER_BASE_COLOR_NORMAL
|
||||
082 0xee9800ff // SPINNER_TEXT_COLOR_NORMAL
|
||||
083 0x4d7c4dff // SPINNER_BORDER_COLOR_FOCUSED
|
||||
084 0xb1d7ecff // SPINNER_BASE_COLOR_FOCUSED
|
||||
085 0x4c9edaff // SPINNER_TEXT_COLOR_FOCUSED
|
||||
086 0xf5a822fc // SPINNER_BORDER_COLOR_PRESSED
|
||||
087 0xfbfac4ff // SPINNER_BASE_COLOR_PRESSED
|
||||
088 0xf18f59ff // SPINNER_TEXT_COLOR_PRESSED
|
||||
089 0x2d9ccfff // SPINNER_BORDER_COLOR_DISABLED
|
||||
095 0xf7af03ff // COMBOBOX_BORDER_COLOR_NORMAL
|
||||
096 0xb5681aff // COMBOBOX_BASE_COLOR_NORMAL
|
||||
097 0xee9800ff // COMBOBOX_TEXT_COLOR_NORMAL
|
||||
098 0x4d7c4dff // COMBOBOX_BORDER_COLOR_FOCUSED
|
||||
099 0xb1d7ecff // COMBOBOX_BASE_COLOR_FOCUSED
|
||||
100 0x4c9edaff // COMBOBOX_TEXT_COLOR_FOCUSED
|
||||
101 0xf5a822fc // COMBOBOX_BORDER_COLOR_PRESSED
|
||||
102 0xfbfac4ff // COMBOBOX_BASE_COLOR_PRESSED
|
||||
103 0xf18f59ff // COMBOBOX_TEXT_COLOR_PRESSED
|
||||
104 0x2d9ccfff // COMBOBOX_BORDER_COLOR_DISABLED
|
||||
109 0xf7af03ff // CHECKBOX_BORDER_COLOR_NORMAL
|
||||
110 0xf9e0b0ff // CHECKBOX_BASE_COLOR_NORMAL
|
||||
111 0x4d7c4dff // CHECKBOX_BORDER_COLOR_FOCUSED
|
||||
112 0x4c9edaff // CHECKBOX_BASE_COLOR_FOCUSED
|
||||
113 0xf5a822fc // CHECKBOX_BORDER_COLOR_PRESSED
|
||||
114 0xf18f59ff // CHECKBOX_BASE_COLOR_PRESSED
|
||||
115 0x2d9ccfff // CHECKBOX_BORDER_COLOR_DISABLED
|
||||
118 0xf7af03ff // TEXTBOX_BORDER_COLOR_NORMAL
|
||||
119 0xf9e0b0ff // TEXTBOX_BASE_COLOR_NORMAL
|
||||
120 0xee9800ff // TEXTBOX_TEXT_COLOR_NORMAL
|
||||
121 0x4d7c4dff // TEXTBOX_BORDER_COLOR_FOCUSED
|
||||
122 0xb1d7ecff // TEXTBOX_BASE_COLOR_FOCUSED
|
||||
123 0x4c9edaff // TEXTBOX_TEXT_COLOR_FOCUSED
|
||||
124 0xf5a822fc // TEXTBOX_BORDER_COLOR_PRESSED
|
||||
125 0xfbfac4ff // TEXTBOX_BASE_COLOR_PRESSED
|
||||
126 0xf18f59ff // TEXTBOX_TEXT_COLOR_PRESSED
|
||||
127 0x2d9ccfff // TEXTBOX_BORDER_COLOR_DISABLED
|
||||
132 0xf7af03ff // COLORPICKER_BORDER_COLOR_NORMAL
|
||||
133 0xf9e0b0ff // COLORPICKER_BASE_COLOR_NORMAL
|
||||
134 0x4d7c4dff // COLORPICKER_BORDER_COLOR_FOCUSED
|
||||
135 0x4c9edaff // COLORPICKER_BASE_COLOR_FOCUSED
|
||||
136 0xf5a822fc // COLORPICKER_BORDER_COLOR_PRESSED
|
||||
137 0xf18f59ff // COLORPICKER_BASE_COLOR_PRESSED
|
||||
138 0x2d9ccfff // COLORPICKER_BORDER_COLOR_DISABLED
|
||||
143 0xf7af03ff // LISTVIEW_BORDER_COLOR_NORMAL
|
||||
144 0xf9e0b0ff // LISTVIEW_BASE_COLOR_NORMAL
|
||||
145 0xee9800ff // LISTVIEW_TEXT_COLOR_NORMAL
|
||||
146 0x4d7c4dff // LISTVIEW_BORDER_COLOR_FOCUSED
|
||||
147 0xb1d7ecff // LISTVIEW_BASE_COLOR_FOCUSED
|
||||
148 0x4c9edaff // LISTVIEW_TEXT_COLOR_FOCUSED
|
||||
149 0xf5a822fc // LISTVIEW_BORDER_COLOR_PRESSED
|
||||
150 0xfbfac4ff // LISTVIEW_BASE_COLOR_PRESSED
|
||||
151 0xf18f59ff // LISTVIEW_TEXT_COLOR_PRESSED
|
||||
152 0x2d9ccfff // LISTVIEW_BORDER_COLOR_DISABLED
|
||||