From f0f5dd5c133a9ea608c65a585a33b251256febfb Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 21 Dec 2010 09:09:15 +0000 Subject: Added doc screenshot for Fl_Native_File_Chooser. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8091 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Native_File_Chooser_FLTK.H | 12 ++++++++---- documentation/src/Fl_Native_File_Chooser.png | Bin 0 -> 31767 bytes 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 documentation/src/Fl_Native_File_Chooser.png 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 -- cgit v1.2.3