I just open sourced, under the ZLib license, a small C library that lets you call native open and save dialogs. It has been tested and works well alongside SDL2 on each supported platform. It has minimal dependencies and compiles on Linux, Mac and Windows in 32 and 64-bits.
Cheers,
MartinOn 27.11.2014 04:18, Michael Labb? wrote:
I just open sourced, under the ZLib license, a small C library that lets
you call native open and save dialogs. It has been tested and works
well alongside SDL2 on each supported platform. It has minimal
dependencies and compiles on Linux, Mac and Windows in 32 and 64-bits.
I made something like this not long ago. I didn’t implement the Linux
parts, I probably got some of the other parts wrong, and I had a modal
color picker dialog too.
I took it to the point where it was useful enough for the project I was
working on. Maybe you can find some use in comparing with the approach I
took. For instance, I exposed common and platform-specific options via an
optional parameter.