Live data from Hacker News

Nuklear: A single-header ANSI C GUI library

github.com

1–10 of 186 posts

Re: Nuklear: A single-header ANSI C GUI library

#4
post #3

It looks quite nice also. Last time I saw it I wanted to port to to Go(not bindings) but could not find details docs about implementation. Anyone know how it is drawing OpenGL or native?

It is API agnostic, you have to provide the functionality. There are some examples using various APIs here: https://github.com/vurtun/nuklear/tree/master/demo

Re: Nuklear: A single-header ANSI C GUI library

#5
post #3

It looks quite nice also. Last time I saw it I wanted to port to to Go(not bindings) but could not find details docs about implementation. Anyone know how it is drawing OpenGL or native?

Nuklear isn't doing any actual rendering. It depends on other, platform-dependent code to do that. Look into the headers inside the demo folder to get an idea of how that works.

Re: Nuklear: A single-header ANSI C GUI library

#10
post #8

It's even got bindings for Chicken Scheme: http://wiki.call-cc.org/eggref/4/nuklear

Also some for Common Lisp:

https://github.com/borodust/bodge-nuklear

They are purpose-built for a particular engine though, so I'm not sure how generally usable they are.

Post reply on HN