From 4cdd3016952f17d4d6702b21fe0d3d52cbccd0f8 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 14 Feb 2008 18:36:42 +0000 Subject: STR 1867: Documentation fix git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CHANGES | 2 +- documentation/events.html | 15 ++++++++++++--- 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 Fl::event_x() and Fl::event_y(). -

To receive FL_DRAG events you must also respond to the -FL_PUSH and FL_RELEASE events. +

In order to receive FL_DRAG events, the widget must +return non-zero when handling FL_PUSH.

FL_RELEASE

@@ -64,12 +64,18 @@ href="Fl.html#Fl.event_y">Fl::event_y(). button by calling Fl::event_button(). +

In order to receive the FL_RELEASE event, the widget must +return non-zero when handling FL_PUSH.

+

FL_MOVE

The mouse has moved without any mouse buttons held down. This event is sent to the Fl::belowmouse() -widget. +widget.

+ +

In order to receive FL_MOVE events, the widget must +return non-zero when handling FL_ENTER.

FL_MOUSEWHEEL

@@ -97,6 +103,9 @@ events.

The mouse has moved out of the widget. +

In order to receive the FL_LEAVE event, the widget must +return non-zero when handling FL_ENTER.

+

FL_FOCUS

This indicates an attempt to give a widget the -- cgit v1.2.3