From fae4b6ae7e035a78b518049dd521004ecba87cf1 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 13 Jan 1999 20:55:40 +0000 Subject: Final changes for next beta release - typos and more updated images. git-svn-id: file:///fltk/svn/fltk/trunk@224 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/functions.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'documentation/functions.html') diff --git a/documentation/functions.html b/documentation/functions.html index 815d11dd0..964bcea84 100644 --- a/documentation/functions.html +++ b/documentation/functions.html @@ -10,7 +10,7 @@ Appendix A. The double version takes RGB values in the range 0.0 to 1.0. The uchar version takes RGB values in the range 0 to 255. -
+

fl_color_chooser() pops up a window to let the user pick an arbitrary RGB color. They can pick the hue and saturation in the "hue box" on the left (hold down CTRL to just change the saturation), and @@ -32,22 +32,22 @@ dithering.

access with fl_color() and lets the user pick one of them. It returns the new color index, or the old one if the user types ESC or clicks outside the window. -
+

void fl_message(const char *, ...)

Displays a printf-style message in a pop-up box with an "OK" button, waits for the user to hit the button. The message will wrap to fit the window, or may be many lines by putting \n characters into it. The enter key is a shortcut for the OK button. -
+

void fl_alert(const char *, ...)

Same as fl_message() except for the "!" symbol. -
+

int fl_ask(const char *, ...)

Displays a printf-style message in a pop-up box with an "Yes" and "No" button and waits for the user to hit a button. The return value is 1 if the user hits Yes, 0 if they pick No. The enter key is a shortcut for Yes and ESC is a shortcut for No. -
+

int fl_choice(const char *q, const char *b0, const char *b1, const char *b2, ...)

Shows the message with three buttons below it marked with the strings @@ -56,7 +56,7 @@ which button is hit. ESC is a shortcut for button 0 and the enter key is a shortcut for button 1. Notice the "misordered" position of the buttons. You can hide buttons by passing NULL as their labels. -
+

const char *fl_input(const char *label, const char *deflt = 0, ...)

Pops up a window displaying a string, lets the user edit it, and @@ -64,12 +64,12 @@ return the new value. The cancel button returns NULL. The returned pointer is only valid until the next time fl_input() is called. Due to back-compatability, the arguments to any printf commands in the label are after the default value. -
+

const char *fl_password(const char *label, const char *deflt = 0, ...)

Same as fl_input() except an Fl_Secret_Input field is used. -
+

void fl_message_font(Fl_Font fontid, uchar size)

Change the font and font size used for the messages in all the popups. @@ -84,7 +84,7 @@ choose files from large directories. This file chooser has several unique features, the major one being that the Tab key completes filenames like it does in Emacs or tcsh, and the list always shows all possible completions. -
+

fl_file_chooser() pops up the file chooser, waits for the user to pick a file or Cancel, and then returns a pointer to that filename or NULL if Cancel is chosen. @@ -802,4 +802,4 @@ user can continue (very little calls this now). Fl::fatal must not return, as FLTK is in an unusable state, however your version may be able to use longjmp or an exception to continue, as long as it does not call FLTK again.

- \ No newline at end of file + -- cgit v1.2.3