summaryrefslogtreecommitdiff
path: root/documentation/enumerations.html
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2000-04-28 18:15:26 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2000-04-28 18:15:26 +0000
commit0e6e2393bfc7eeaa47b8a2ebd6c2023f560d7a90 (patch)
tree520f55d1b4ea126082b79300d5936065e81388c5 /documentation/enumerations.html
parent0f36c495f9d2c4b41e61ca35684e8968fb70ee54 (diff)
Typos reported by Alexander Mai
Fl_Browser_ docos finished. Added Fl_Group::init_sizes() description. Added links for common widgets in chapter 3 (?) Fixed formatting problems in subclassing and FLUID chapters. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/enumerations.html')
-rw-r--r--documentation/enumerations.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/documentation/enumerations.html b/documentation/enumerations.html
index a2538c631..6ffee5988 100644
--- a/documentation/enumerations.html
+++ b/documentation/enumerations.html
@@ -59,6 +59,17 @@ is released and the value changes. </LI>
<LI><TT>FL_WHEN_ENTER_KEY_ALWAYS</TT> - Do the callback when the user
presses the ENTER key, even if the value doesn't change. </LI>
</UL>
+<H2><A NAME="button_values">Fl::event_button() Values</A></H2>
+
+<P>The following constants define the button numbers for <TT>FL_PUSH</TT> and
+<TT>FL_RELEASE</TT> events:
+
+<UL>
+ <LI><TT>FL_LEFT_MOUSE</TT> - the left mouse button
+ <LI><TT>FL_MIDDLE_MOUSE</TT> - the middle mouse button
+ <LI><TT>FL_RIGHT_MOUSE</TT> - the right mouse button
+</UL>
+
<H2><A NAME="key_values">Fl::event_key() Values</A></H2>
The following constants define the non-ASCII keys on the keyboard for <TT>
FL_KEYBOARD</TT> and <TT>FL_SHORTCUT</TT> events:
@@ -180,7 +191,7 @@ In addition there are two inline functions to allow you to select
grays or colors from the FLTK colormap:
<p><b>Fl_Color fl_gray_ramp(int i)</b>
-<br>Returs a gray color. Returns black for zero, returns white for
+<br>Returns a gray color. Returns black for zero, returns white for
<tt>FL_NUM_GRAY</tt> (which is 24) minus 1. To get the closest to an
8-bit gray value 'I' use
<tt>fl_gray_ramp(I*FL_NUM_GRAY/256)</tt>