SFML community forums

General => SFML projects => Topic started by: mtvee on September 29, 2017, 06:11:34 pm

Title: yet another GUI (aka nanosfml)
Post by: mtvee on September 29, 2017, 06:11:34 pm
Hi folks. I've been fooling around with https://github.com/wjakob/nanogui (https://github.com/wjakob/nanogui) and ended up porting a large chunk of it to SFML, that is, the underlying drawing routines (replacing nanovg). I am posting because I don't know if I should clean this up and make it available on github, as in, would there be any interest in this from you guys?

If you don't know nanogui (https://github.com/wjakob/nanogui (https://github.com/wjakob/nanogui)) I suggest going and checking it out. I find it's nice and light and easy to deal with so it made some sense for me to replace the guts with SFML for the stuff I do. I have no idea how you folks would feel about that. I've tried somewhat to keep the gui creation process the same as nano. I have not ported every widget as some of them I have no use for but at this point it wouldn't be too hard to port the last few over. Currently the widgets are: windows, layouts, text input, slider, checkbox, labels, buttons, messagedialog and a textview for readonly text blobs. I have also added a way to theme it from json which I find handy.

All that said, the project is a bit messy at this point because it's just me messing around, and a few things don't work they way the should. Text input being the thorn in my side at the moment. So I have two questions for you and "you're nuts" is totally a valid answer :)


Thanks for reading!
 
Title: Re: yet another GUI (aka nanosfml)
Post by: eXpl0it3r on September 29, 2017, 08:00:51 pm
It's certainly a nice looking library and I'm sure if you get it into a stable state that one or the other will use it.
Title: Re: yet another GUI (aka nanosfml)
Post by: dabbertorres on September 30, 2017, 02:50:42 am
I would be interested in it!

And yes I'd be willing to help out a bit! Give us a github link and I'll be sure to check it out!