summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--documentation/events.html15
2 files changed, 13 insertions, 4 deletions
diff --git a/CHANGES b/CHANGES
index 01c95a56f..253020163 100644
--- a/CHANGES
+++ b/CHANGES
@@ -5,7 +5,7 @@ CHANGES IN FLTK 1.1.8
STR #1639, STR #1645, STR #1644, STR #1792, STR #1793,
STR #1742, STR #1777, STR #1794, STR #1827, STR #1843,
STR #1796, STR #1815, STR #1726, STR #1753, STR #1855,
- STR #1862))
+ STR #1862, STR #1867)
- Fixed offset bug in OS X pixmap code (STR #1856)
- Fixed potential buffer overrun
in Fl_Preferences (STR #1853)
diff --git a/documentation/events.html b/documentation/events.html
index 95be13943..d6717de89 100644
--- a/documentation/events.html
+++ b/documentation/events.html
@@ -55,8 +55,8 @@ The mouse position is in <a
href="Fl.html#Fl.event_x"><tt>Fl::event_x()</tt></a> and <a
href="Fl.html#Fl.event_y"><tt>Fl::event_y()</tt></a>.
-<P>To receive <CODE>FL_DRAG</CODE> events you must also respond to the
-<CODE>FL_PUSH</CODE> and <CODE>FL_RELEASE</CODE> events.
+<P>In order to receive <TT>FL_DRAG</TT> events, the widget must
+return non-zero when handling <TT>FL_PUSH</TT>.</P>
<H3>FL_RELEASE</H3>
@@ -64,12 +64,18 @@ href="Fl.html#Fl.event_y"><tt>Fl::event_y()</tt></a>.
button by calling <A
href="Fl.html#Fl.event_button"><TT>Fl::event_button()</TT></A>.
+<P>In order to receive the <TT>FL_RELEASE</TT> event, the widget must
+return non-zero when handling <TT>FL_PUSH</TT>.</P>
+
<H3>FL_MOVE</H3>
<P>The mouse has moved without any mouse buttons held down.
This event is sent to the <A
href="Fl.html#Fl.belowmouse"><TT>Fl::belowmouse()</TT></A>
-widget.
+widget.</P>
+
+<P>In order to receive <TT>FL_MOVE</TT> events, the widget must
+return non-zero when handling <TT>FL_ENTER</TT>.</P>
<H3>FL_MOUSEWHEEL</H3>
@@ -97,6 +103,9 @@ events.
<P>The mouse has moved out of the widget.
+<P>In order to receive the <TT>FL_LEAVE</TT> event, the widget must
+return non-zero when handling <TT>FL_ENTER</TT>.</P>
+
<H3>FL_FOCUS</H3>
<P>This indicates an <I>attempt</I> to give a widget the