[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Trivial fix in DnD drop + slideback
From: |
Willem Rein Oudshoorn |
Subject: |
Trivial fix in DnD drop + slideback |
Date: |
13 Jan 2002 17:28:24 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
The following patch implement the slideback functionality.
Also a operator precedence bug is fixed (SR # 100253).
Slideback numbers are now hardcoded. Also Apples docs.
say that slideback is disabled when icon animation is disabled.
This is not implemented, it will always do a slideback when asked.
2002-01-13 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
* Source/SharedX/XGDragView.m: changed and added comments in a few
places.
(SLIDE_TIME_STEP, SLIDE_NR_OF_STEPS): #define numbers controlling
slide (back).
([XGDragView
-dragImage:at:offset:event:pasteboard:source:slideBack:]): use
slideBack: argument
([XGDragView -_handleDrag:]): renamed a local var, and use
slideback.
([XGDragView -_handleDrag:]): fixed bug in determining if we do a
DnD drop SR#100253. (operator precedence was wrong).
([XGDragView -_updateAndMoveImageToCorrectPosition]): use new
method to display drag image.
([XGDragView -_moveDraggedImageToNewPosition]): new method that
will do the drawing and moving of the DnD image.
([XGDragView
-_slideDraggedImageTo:numberOfSteps:stepswaitAfterSlide:waitFlag]):
new method that implements sliding the DnD image.
([XGDragView -slideDraggedImageTo:point]): is implemented with the
use of the method above
* Source/SharedX/XGDragView.h: added instance variable, slideBack.
changed comments, added prototypes for new methods. (See XGDragView.m)
xgps-diff
Description: DnD drop fix + slideback functionality
- Trivial fix in DnD drop + slideback,
Willem Rein Oudshoorn <=