From 2c61d60470b0583614437950066b2f63c4ac2782 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 30 Sep 2001 20:25:36 +0000 Subject: Documentation updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/functions.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'documentation/functions.html') diff --git a/documentation/functions.html b/documentation/functions.html index 98f965500..d6ff340e0 100644 --- a/documentation/functions.html +++ b/documentation/functions.html @@ -33,14 +33,14 @@ zero and leaves RGB unchanged.

If you use the color chooser on an 8-bit screen, it will allocate all the available colors, leaving you no space to exactly represent the -color the user picks! You can however use +color the user picks! You can however use fl_rectf() to fill a region with a simulated color using dithering.

int fl_show_colormap(int oldcol)

fl_show_colormap() pops up a panel of the 256 colors you can -access with fl_color() and lets the user +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 @@ -53,7 +53,7 @@ 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 *, ...)

+

void fl_alert(const char *, ...)

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

The fl_alert window @@ -585,7 +585,7 @@ FL_Left, FL_Up, FL_Right, FL_Down, FL_Shift_L, FL_Shift_R, FL_Control_L, FL_Control_R, FL_Caps_Lock, FL_Alt_L, FL_Alt_R, FL_Meta_L, FL_Meta_R, FL_Menu, FL_Num_Lock, FL_KP_Enter. Be careful not to confuse these with the very similar, but all-caps, -symbols used by Fl::event_state() +symbols used by Fl::event_state() . @@ -631,7 +631,7 @@ after the shift key is pressed or released.

char *Fl::event_text()

Returns the ASCII text (in the future this may be UTF-8) produced by -the last FL_KEYBOARD or FL_PASTEM or possibly other +the last FL_KEYBOARD or FL_PASTE or possibly other event. A zero-length string is returned for any keyboard function keys that do not produce text. This pointer points at a static buffer and is only valid until the next event is processed. @@ -831,7 +831,7 @@ However the colors may flash as you move the cursor between windows.

static void Fl::paste(Fl_Widget *receiver)

-Set things up so the receiver widget will be called with an +Set things up so the receiver widget will be called with an FL_PASTE event some time in the future. The reciever should be prepared to be called directly by this, or for it to happen later, or possibly not at all. This allows the @@ -1001,7 +1001,7 @@ specific labeltype. Test the current event, which must be an FL_KEYBOARD or FL_SHORTCUT, against a shortcut value (described in Fl_Button). Returns non-zero if there is a match. Not to -be confused with +be confused with Fl_Widget::test_shortcut().

static int Fl::visual(int)

@@ -1017,7 +1017,7 @@ brain-dead notions.