diff --git a/FL/Fl_Native_File_Chooser_FLTK.H b/FL/Fl_Native_File_Chooser_FLTK.H index db40523f6..9be891c56 100644 --- a/FL/Fl_Native_File_Chooser_FLTK.H +++ b/FL/Fl_Native_File_Chooser_FLTK.H @@ -37,10 +37,10 @@ the operating system's native file chooser. Some operating systems have very complex and specific file choosers that many users want access to specifically, instead of FLTK's default file chooser(s). -

+ In cases where there is no native file browser, FLTK's own file browser is used instead. -

+ \code // Create and post the local native file chooser #include @@ -58,13 +58,17 @@ default: printf("PICKED: %s\n", fnfc.filename()); break; // FILE CHOSEN } \endcode -

+ Platform Specific Caveats -

+ - Under X windows, it's best if you call Fl_File_Icon::load_system_icons() at the start of main(), to enable the nicer looking file browser widgets. - Some operating systems support certain OS specific options; see Fl_Native_File_Chooser::options() for a list. + + \image html Fl_Native_File_Chooser.png "The Fl_Native_File_Chooser on different platforms." + \image latex Fl_Native_File_Chooser.png "The Fl_Native_File_Chooser on different platforms" width=8cm + */ class FL_EXPORT Fl_Native_File_Chooser { public: diff --git a/documentation/src/Fl_Native_File_Chooser.png b/documentation/src/Fl_Native_File_Chooser.png new file mode 100644 index 000000000..e1f0e3e10 Binary files /dev/null and b/documentation/src/Fl_Native_File_Chooser.png differ