tiny file dialogs - cross-platform C / C++library |
yomgui
|
I've release a month ago a cross-platform C / C++library for files dialogs under a zlib license.
http://tinyfiledialogs.sourceforge.net It's a single C file (just add it to your project) with 5 function calls: - open file dialog (and multiple files) - save file dialog - select folder dialog - message / question dialog - color chooser It also compiles with C++ compilers. Conceived as a fully independent complement to GLUT or SDL, THERE IS NO MAIN LOOP. You can even use it with not graphic / console programs. From the old Windows 2000 to the latest Windows 8.1: - native code is used to create the dialogs. On UNIX, it tries successively: - zenity (part of the GTK+ desktops: Gnome, Xfce, Unity, Mate, Cinnamon, Lxde, Rox) - kdialog (part of the Qt desktops: Kde, Razor, Lxqt) - python 2 with tkinter (part of mac OSX and avalaible on many other platforms) Tested on Windows, OSX, Linux, Freebsd, Illumos, Solaris. Guillaume Vareille |
|||||||||||
|
yomgui
|
I've added more functionalities to
tiny file dialogs - tinyfd - http://tinyfiledialogs.sourceforge.net Cross-platform dialogs in C C++ WINDOWS OSX GNOME KDE SOLARIS CONSOLE A single C file (add it to your project) with 6 modal function calls for all platforms: - open file dialog (& multiple files) - save file dialog - select folder dialog - message box (& question box) - input box (& password box) - color picker. Conceived as a fully independent complement to GLUT, GLUI, SDL, UNITY3D or any GUI-less program, there is NO INIT & NO MAIN LOOP. On unix, you can force all the dialogs into CONSOLE mode. On Windows native code creates the dialogs (mostly). On UNIX it tries successive command line calls: - zenity - kdialog - applescript - python 2 / tkinter - dialog. The same executable can run across desktops and distributions. Tested with C & C++ compilers on Visual Studio 2013 OSX Linux Freebsd Illumos Solaris using Gnome Kde Enlightenment Mate Cinnamon Unity Lxde Lxqt Xfce WindowMaker IceWm Cde Jds. Version 1.7.3 [Febuary 7, 2015] zlib license. |
|||||||||||
|