Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: yet another GUI (aka nanosfml)  (Read 2935 times)

0 Members and 1 Guest are viewing this topic.

mtvee

  • Newbie
  • *
  • Posts: 7
    • View Profile
yet another GUI (aka nanosfml)
« on: September 29, 2017, 06:11:34 pm »
Hi folks. I've been fooling around with 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) 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 :)

  • Would you be interested in this for your projects?
  • Would you be willing to contribute some ports/widgets/fixes?

Thanks for reading!
 

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: yet another GUI (aka nanosfml)
« Reply #1 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

dabbertorres

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • website/blog
Re: yet another GUI (aka nanosfml)
« Reply #2 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!