comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/custom/StyledTextDropTargetEffect.d @ 36:d46287db17ed

rakefile reorg, swt win phobosification
author Frank Benoit <benoit@tionex.de>
date Tue, 24 Mar 2009 08:48:41 +0100
parents f36c67707cb3
children
comparison
equal deleted inserted replaced
35:634e4380db78 36:d46287db17ed
59 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 59 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
60 * 60 *
61 * @since 3.3 61 * @since 3.3
62 */ 62 */
63 public class StyledTextDropTargetEffect : DropTargetEffect { 63 public class StyledTextDropTargetEffect : DropTargetEffect {
64 static final int CARET_WIDTH = 2; 64 static const int CARET_WIDTH = 2;
65 static final int SCROLL_HYSTERESIS = 100; // milli seconds 65 static const int SCROLL_HYSTERESIS = 100; // milli seconds
66 static final int SCROLL_TOLERANCE = 20; // pixels 66 static const int SCROLL_TOLERANCE = 20; // pixels
67 67
68 int currentOffset = -1; 68 int currentOffset = -1;
69 long scrollBeginTime; 69 long scrollBeginTime;
70 int scrollX = -1, scrollY = -1; 70 int scrollX = -1, scrollY = -1;
71 Listener paintListener; 71 Listener paintListener;