The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
nanogui fork with SDL2
dalerank


Joined: 27 Apr 2015
Posts: 6
Hi, what do you think about this fork?
nanogui fork with SDL2
M. Gerhardy
Guest

Quite nice - does it use the sdl renderers?

Can you provide code and more information about this?


On Fri, Dec 18, 2015 at 4:41 PM, dalerank wrote:
Quote:
Hi, what do you think about this fork?



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org




--
http://www.caveproductions.org
nanogui fork with SDL2
Jonny D


Joined: 12 Sep 2009
Posts: 932
Nanogui is built on NanoVG, which uses OpenGL directly.  This would be quite an extensive fork if it used SDL_Renderer.  It might be possible, though, to hook it up to a 2D API.

Jonny D






On Fri, Dec 18, 2015 at 2:49 PM, M. Gerhardy wrote:
Quote:
Quite nice - does it use the sdl renderers?

Can you provide code and more information about this?


On Fri, Dec 18, 2015 at 4:41 PM, dalerank wrote:
Quote:
Hi, what do you think about this fork?



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org




--
http://www.caveproductions.org





_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

dalerank


Joined: 27 Apr 2015
Posts: 6
For start I created workaround for SDL (OpenGL renderer), because it wont work natively with SDL, ofcourse all sources will be upload to github soon.
dalerank


Joined: 27 Apr 2015
Posts: 6
I start examples here https://github.com/dalerank/nanogui-sdl/network
dalerank


Joined: 27 Apr 2015
Posts: 6
I added fork of nanogui-sdl without depenccies here https://github.com/dalerank/nngui , it work with sdl2/glfw3 also i want ask you some questions?
1. do you think nngui good for develop, or continues nanogui-sdl with stuff?
2. what do you think about js binding for nanogui/nngui?
3. which widgets you want to see in library?

Thanks
actsl


Joined: 09 Feb 2016
Posts: 83
dalerank wrote:
I added fork of nanogui-sdl without depenccies here https://github.com/dalerank/nngui , it work with sdl2/glfw3 also i want ask you some questions?
1. do you think nngui good for develop, or continues nanogui-sdl with stuff?

This is a GUI for OpenGL that works together with SDL2, it is not directly for SDL2. I'm sorry, i didn't try it and don't know how well it works. I counted 20525 lines of code, but got an error about nngui_resources.cpp "Sorry about that, but we can’t show files that are this big right now", i understand this is only a C file for resources though. But kiss_sdl is only 2437 lines of code. I think it is more advanced than mine, not sure though whether in every respect, like in the example i see no scrollbars.

I think it is a great work done and great that it is made available for people for free. Please don't understand me wrongly though, but i think it's very important to describe the features well, so that the users know better what the different widget toolkits are. It is said to be "minimalistic" in GitHub, but it is much more complex than mine, so not sure whether or how it is minimalistic. I mean, because the widget toolkits used to be complex, for advanced users it may be not difficult to see what one or another is about, but for beginners who should decide what widget toolkit they would start to use, this may be an impossible task, when the features are not well described.

So again, please don't understand me wrongly, i really appreciate your work, and thank you for posting this. And good luck to you in open source development, i really hope that this would give you at least some benefit, even if you cannot get for it a single piece of bread, and spread a butter on it. This is in what we are together i think, and god help us this will not cause us to be against each other.
nanogui fork with SDL2
Stuart Axon
Guest

js bindings sound interesting, would you be building nngui using emscripten ?


S++



On Tuesday, September 6, 2016 9:22 AM, dalerank wrote:

Quote:


I added fork of nanogui-sdl without depenccies here https://github.com/dalerank/nngui , it work with sdl2/glfw3 also i want ask you some questions?
1. do you think nngui good for develop, or continues nanogui-sdl with stuff?
2. what do you think about js binding for nanogui/nngui?
3. which widgets you want to see in library?

Thanks



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org