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_ask.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_Color_Chooser.cxx b/src/Fl_Color_Chooser.cxx
index 6bfa70cc4..9a49e5caf 100644
--- a/src/Fl_Color_Chooser.cxx
+++ b/src/Fl_Color_Chooser.cxx
@@ -531,7 +531,7 @@ extern const char* fl_cancel;
/**
\brief Pops up a window to let the user pick an arbitrary RGB color.
\image html fl_color_chooser.jpg
- \param[in,out] name title label for the window
+ \param[in] name title label for the window
\param[in,out] r, g, b color components in the range 0.0 to 1.0.
\retval 1 if user confirms the selection
\retval 0 if user cancels the dialog
@@ -574,7 +574,7 @@ 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.
\image html fl_color_chooser.jpg
- \param[in,out] name title label for the window
+ \param[in] name title label for the window
\param[in,out] r, g, b color components in the range 0 to 255.
\retval 1 if user confirms the selection
\retval 0 if user cancels the dialog
diff --git a/src/fl_ask.cxx b/src/fl_ask.cxx
index ef4b84cfa..f57462673 100644
--- a/src/fl_ask.cxx
+++ b/src/fl_ask.cxx
@@ -379,7 +379,7 @@ static const char* input_innards(const char* fmt, va_list ap,
/** Shows an input dialog displaying the \a fmt message
\param[in] fmt can be used as an sprintf-like format and variables for the message text
\param[in] defstr defines the default returned string if no text is entered
- \return the user string input
+ \return the user string input if OK was pushed, NULL if Cancel was pushed
*/
const char* fl_input(const char *fmt, const char *defstr, ...) {
fl_beep(FL_BEEP_QUESTION);
@@ -396,7 +396,7 @@ const char* fl_input(const char *fmt, const char *defstr, ...) {
'*' characters are displayed instead
\param[in] fmt can be used as an sprintf-like format and variables for the message text
\param[in] defstr defines the default returned string if no text is entered
- \return the user string input
+ \return the user string input if OK was pushed, NULL if Cancel was pushed
*/
const char *fl_password(const char *fmt, const char *defstr, ...) {
fl_beep(FL_BEEP_PASSWORD);