raylib » Forums » raygui - a simple and easy-to-use IMGUI module for raylib
raysan5
Ray
18 posts
1 project

I teach videogames programming.

#12263 raygui - a simple and easy-to-use IMGUI module for raylib
3 months ago Edited by Ray on June 23, 2017, 12:04 p.m.

Some years ago I started developing a simple IMGUI module for raylib, inspired by Unity IMGUI, it was raygui. Despite the efforts invested and getting a functional implementation, it was stopped for almost a year... my main concern was style, I didn't get a consitent style (controls states, colors...).

Lately, I started developing some tools for raylib (with raylib and raygui) and I decided to completely review raygui module and its styling system. Two default styles have been defined and library has been completely rewritten from scratch with better consistency. Old styling system has been improved and simplified, now it only requires a basic set of values to define a complete new style (specially in color theming).

Here there are two proposed default styles (light and dark) and the available controls:





Here there are some screenshots of rFXGen tool using those styles:





Despite doing several style tests, I'm not completely happy with default styles, specially with slider/sliderbar colors.

If anyone can give me some feedback it would be very appreciated. Thanks! :)
ChronalDragon
Andrew Chronister
184 posts
2 projects

Developer, administrator, and style wrangler

#12264 raygui - a simple and easy-to-use IMGUI module for raylib
3 months ago

That default font is a little too thin and blocky IMO, for a default style you might want to go with a generic sans-serif (there are several free-as-in-freedom ones you can probably distribute with your lib like Open Sans) for better readability (especially at small sizes).

The colors seem pretty good, although the dark green style reminds me of old VST plugins or something, I can't quite put my finger on it...
Kelimion
Jeroen van Rijn
235 posts
3 projects

A big ball of Wibbly-Wobbly, Timey-Wimey _stuff_

#12265 raygui - a simple and easy-to-use IMGUI module for raylib
3 months ago

Nice to see that raylib's joining the imgui bandwagon :)

I really enjoy the dark theme's choice of colours as well. This looks like a really promising addition to the project.
raysan5
Ray
18 posts
1 project

I teach videogames programming.

#12276 raygui - a simple and easy-to-use IMGUI module for raylib
2 months, 4 weeks ago

Thank you very much for your feedback! :D

About the font, I use the default font that comes embedded with raylib, that way I don't need any external resource but you're right, it's not the most legible one.

About the dark theme, I like that retro VST plugin feeling but I'm still playing with colors in both styles. In light style I don't like colors for slider and in dark style background color is confused with buttons base color...

As said, I'm using raygui to develop some simple tools. :)