A cross platform wrapper for OS dialogs like file save, open, message boxes, inputs, color picking, etc.
osdialog currently supports macOS, Windows, and GTK 2, GTK 3, and Zenity on Linux.
This software is released into the public domain (CC0). If you decide to use osdialog in your project, feel free to let me know.
The Makefile is only for building the osdialog test binary.
You don't need to use it for your application, but it might be helpful for suggesting compiler flags.
Simply add osdialog.h
to your include directory, and add osdialog.c
and the appropriate osdialog_*.c/.m
file to your application's sources.