summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Color_Chooser.cxx4
-rw-r--r--src/fl_file_dir.cxx23
2 files changed, 14 insertions, 13 deletions
diff --git a/src/Fl_Color_Chooser.cxx b/src/Fl_Color_Chooser.cxx
index c57700025..dad84c312 100644
--- a/src/Fl_Color_Chooser.cxx
+++ b/src/Fl_Color_Chooser.cxx
@@ -535,7 +535,7 @@ extern const char* fl_cancel;
color using dithering.
*/
-/**
+/** \relatesalso Fl_Color_Chooser
\ingroup fl_color_chooser_group
\fn int fl_color_chooser(const char* name, double& r, double& g, double& b)
\brief Pops up a window to let the user pick an arbitrary RGB color.
@@ -577,7 +577,7 @@ int fl_color_chooser(const char* name, double& r, double& g, double& b) {
return 0;
}
-/**
+/** \relatesalso Fl_Color_Chooser
\ingroup fl_color_chooser_group
\fn int fl_color_chooser(const char* name, uchar& r, uchar& g, uchar& b)
\brief Pops up a window to let the user pick an arbitrary RGB color.
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