From 336996c7abb716844d3389df7bd7779298af3dcf Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 6 May 2001 16:25:05 +0000 Subject: Update documentation files to eliminate most of the warnings and errors reported by HTML Tidy. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1454 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/functions.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'documentation/functions.html') diff --git a/documentation/functions.html b/documentation/functions.html index 591f4edba..98f965500 100644 --- a/documentation/functions.html +++ b/documentation/functions.html @@ -10,13 +10,13 @@ href=widgets.html#widgets> Appendix A.

int fl_color_chooser(const char *title, double &r, double &g, double &b) -
int fl_color_chooser(const char *title, uchar &r, uchar &g, uchar &b)

+
int fl_color_chooser(const char *title, uchar &r, uchar &g, uchar &b) 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. The title argument specifies the label (title) for the window. -

+

The fl_color_chooser dialog.

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 @@ -43,7 +43,7 @@ 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. -

+

The fl_show_colormap dialog

void fl_message(const char *, ...)

@@ -51,12 +51,12 @@ 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. -

+

The fl_message window.

void fl_alert(const char *, ...)

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

+

The fl_alert window

int fl_ask(const char *, ...)

@@ -66,7 +66,7 @@ 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. -

+

The fl_ask window.

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

@@ -78,7 +78,7 @@ the enter key is a shortcut for button 1. Notice the buttons are positioned "backwards" You can hide buttons by passing NULL as their labels. -

+

The fl_choice window.

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

@@ -89,7 +89,7 @@ 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. -

+

The fl_input window.

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

@@ -97,7 +97,7 @@ const char *deflt = 0, ...) Same as fl_input() except an Fl_Secret_Input field is used. -

+

The fl_password window.

void fl_message_font(Fl_Font fontid, uchar size)

@@ -119,7 +119,7 @@ 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. -

+

The fl_file_chooser window. 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 @@ -663,7 +663,7 @@ it is the most recent window to get an event. Returns the next top-level window in the list of shown() windows. You can use this call to iterate through all the windows that are shown(). -

static void Fl::first_window(Fl_Window*)

+

static void Fl::first_window(Fl_Window*)

Sets the window that is returned by first_window. The window is removed from wherever it is in the list and inserted at the top. This @@ -706,11 +706,11 @@ colormap. Returns the color index or RGB value for the given FLTK color index. -

static const char *Fl::get_font(int face)

+

static const char *Fl::get_font(int face)

Get the string for this face. This string is different for each face. Under X this value is passed to XListFonts to get all the sizes -of this face. +of this face.

static const char *Fl::get_font_name(int face, int *attributes = 0)

-- cgit v1.2.3