summaryrefslogtreecommitdiff
path: root/src/fl_file_dir.cxx
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2008-09-18 10:34:22 +0000
committerFabien Costantini <fabien@onepost.net>2008-09-18 10:34:22 +0000
commit72ac77216d0331bdbe3fc2aba9bc6e3a7b384455 (patch)
treeeb7b040af10442ecb4009c425ecc30e7e8bec748 /src/fl_file_dir.cxx
parentdcb87bede12c75be3624ead49d8551825eccf0cb (diff)
Doxygen documentation
+ Added new \relatesalso dox command to attach fl_file_chooser(), fl_color_chooser() to their respective related classes + corrected copyright date and added lgpl with exceptions in preface + restored undocumented warnings, changed QUIET mode to yes, this way we get all warnings/errors and not the long verbose list treated files. Seems to be a bit faster to run too. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_file_dir.cxx')
-rw-r--r--src/fl_file_dir.cxx23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/fl_file_dir.cxx b/src/fl_file_dir.cxx
index b5fc90e4b..093a915cd 100644
--- a/src/fl_file_dir.cxx
+++ b/src/fl_file_dir.cxx
@@ -43,23 +43,25 @@ static void callback(Fl_File_Chooser *, void*) {
}
-// Set the file chooser callback
+/** \relatesalso Fl_File_Chooser
+ Set the file chooser callback
+*/
void fl_file_chooser_callback(void (*cb)(const char*)) {
current_callback = cb;
}
-// Set the "OK" button label
+/** \relatesalso Fl_File_Chooser
+ Set the "OK" button label
+*/
void fl_file_chooser_ok_label(const char *l) {
if (l) current_label = l;
else current_label = fl_ok;
}
-
-//
-// 'fl_file_chooser()' - Show a file chooser dialog and get a filename.
-//
-
+/** \relatesalso Fl_File_Chooser
+ Show a file chooser dialog and get a filename.
+*/
char * // O - Filename or NULL
fl_file_chooser(const char *message, // I - Message in titlebar
const char *pat, // I - Filename pattern
@@ -134,10 +136,9 @@ fl_file_chooser(const char *message, // I - Message in titlebar
else return 0;
}
-
-//
-// 'fl_dir_chooser()' - Show a file chooser dialog and get a directory.
-//
+/** \relatesalso Fl_File_Chooser
+ Show a file chooser dialog and get a directory.
+*/
char * // O - Directory or NULL
fl_dir_chooser(const char *message, // I - Message for titlebar