Updated tinyfiledialogs library

This commit is contained in:
Ray San
2018-02-19 14:05:56 +01:00
parent 21c7d3fb26
commit 40be028c52
2 changed files with 5814 additions and 5688 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,10 @@
/*_________
/ \ tinyfiledialogs.h v3.2.3 [Nov 2, 2017] zlib licence
/ \ tinyfiledialogs.h v3.3.1 [Feb 16, 2018] zlib licence
|tiny file| Unique header file created [November 9, 2014]
| dialogs | Copyright (c) 2014 - 2017 Guillaume Vareille http://ysengrin.com
| dialogs | Copyright (c) 2014 - 2018 Guillaume Vareille http://ysengrin.com
\____ ___/ http://tinyfiledialogs.sourceforge.net
\|
git://git.code.sf.net/p/tinyfiledialogs/code
____________________________________________
\| git clone http://git.code.sf.net/p/tinyfiledialogs/code tinyfd
____________________________________________
| |
| email: tinyfiledialogs at ysengrin.com |
|____________________________________________|
@ -14,11 +13,9 @@
| the windows only wchar_t UTF-16 prototypes are at the end of this file |
|________________________________________________________________________|
A big thank you to Don Heyse http://ldglite.sf.net for bug corrections & thorough testing!
Please 1) Let me know If you are using it on exotic hardware / OS / compiler
2) If yo have a sourceforge account, leave a 3-word review on Sourceforge.
It helps the ranking on google.
Please 1) let me know If you are using it on exotic hardware / OS / compiler
2) leave a 1-word review on Sourceforge.
3) upvote my stackoverflow answer/advert https://stackoverflow.com/a/47651444
tiny file dialogs (cross-platform C C++)
InputBox PasswordBox MessageBox ColorPicker
@ -26,7 +23,7 @@ OpenFileDialog SaveFileDialog SelectFolderDialog
Native dialog library for WINDOWS MAC OSX GTK+ QT CONSOLE & more
SSH supported via automatic switch to console mode or X11 forwarding
One C file (add it to your C or C++ project) with 8 functions:
a C file + a header (add them to your C or C++ project) with 8 functions:
- beep
- notify popup
- message & question
@ -60,12 +57,13 @@ Unix (command line calls) ASCII UTF-8
The same executable can run across desktops & distributions
C89 & C++98 compliant: tested with C & C++ compilers
on VisualStudio MinGW Mac Linux Bsd Solaris Minix Raspbian
VisualStudio MinGW-gcc GCC Clang TinyCC OpenWatcom-v2 BorlandC SunCC
on Windows Mac Linux Bsd Solaris Minix Raspbian
using Gnome Kde Enlightenment Mate Cinnamon Unity Lxde Lxqt Xfce
WindowMaker IceWm Cde Jds OpenBox Awesome Jwm Xdm
bindings for LUA and C# dll, Haskell
included in LWJGL(java), Rust, Allegrobasic
Bindings for LUA and C# dll, Haskell
Included in LWJGL(java), Rust, Allegrobasic
- License -
@ -105,8 +103,8 @@ extern "C" {
#endif
extern char tinyfd_version[8]; /* contains tinyfd current version number */
extern int tinyfd_verbose; /* 0 (default) or 1 : on unix, prints the command line calls */
extern char tinyfd_needs[]; /* info about requirements */
#ifdef _WIN32
/* for UTF-16 use the functions at the end of this files */
@ -284,7 +282,7 @@ char const * tinyfd_arrayDialog(
- the windows only wchar_t (utf-16) prototypes are in the header file
- windows is fully supported from XP to 10 (maybe even older versions)
- C# & LUA via dll, see example files
- OSX supported from 10.4 to 10.11 (maybe even older versions)
- OSX supported from 10.4 to latest (maybe even older versions)
- Avoid using " and ' in titles and messages.
- There's one file filter only, it may contain several patterns.
- If no filter description is provided,
@ -294,9 +292,10 @@ char const * tinyfd_arrayDialog(
- On windows link against Comdlg32.lib and Ole32.lib
This linking is not compulsary for console mode (see above).
- On unix: it tries command line calls, so no such need.
- On unix you need applescript, kdialog, zenity, matedialog, qarma,
python (2 or 3)/tkinter/python-dbus (optional),
Xdialog or dialog (opens terminal if running without console).
- On unix you need one of the following:
applescript, kdialog, zenity, matedialog, shellementary, qarma,
python (2 or 3)/tkinter/python-dbus (optional), Xdialog
or dialog (opens terminal if running without console) or xterm.
- One of those is already included on most (if not all) desktops.
- In the absence of those it will use gdialog, gxmessage or whiptail
with a textinputbox.
@ -313,7 +312,8 @@ char const * tinyfd_arrayDialog(
- Mutiple selects are not allowed in console mode.
- The package dialog must be installed to run in enhanced console mode.
It is already installed on most unix systems.
- On osx, the package dialog can be installed via http://macports.org
- On osx, the package dialog can be installed via
http://macappstore.org/dialog or http://macports.org
- On windows, for enhanced console mode,
dialog.exe should be copied somewhere on your executable path.
It can be found at the bottom of the following page: