summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop
diff options
context:
space:
mode:
authorBogdan Gheorghe <gheorghe@ca.ibm.com>2012-01-17 17:28:50 -0500
committerBogdan Gheorghe <gheorghe@ca.ibm.com>2012-01-17 17:28:50 -0500
commit9b6f622a04ffc6428b9bddee8e107bf304da0051 (patch)
treef41590ce756ce8011bcb661092853e157767c938 /bundles/org.eclipse.swt/Eclipse SWT Drag and Drop
parentf09fa17598b171271add9842e034e13ff6ff6c75 (diff)
downloadeclipse.platform.swt-9b6f622a04ffc6428b9bddee8e107bf304da0051.tar.gz
eclipse.platform.swt-9b6f622a04ffc6428b9bddee8e107bf304da0051.tar.xz
eclipse.platform.swt-9b6f622a04ffc6428b9bddee8e107bf304da0051.zip
GC CopyArea for scrolling
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Drag and Drop')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TableDragSourceEffect.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDragSourceEffect.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TableDragSourceEffect.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TableDragSourceEffect.java
index b3656bb1da..63b02999fe 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TableDragSourceEffect.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TableDragSourceEffect.java
@@ -116,6 +116,7 @@ public class TableDragSourceEffect extends DragSourceEffect {
yy[i] = rect.y;
hh[i] = h[0];
}
+ //TODO: Use Cairo
int /*long*/ source = OS.gdk_pixmap_new(OS.GDK_ROOT_PARENT(), width, height, -1);
int /*long*/ gcSource = OS.gdk_gc_new(source);
int /*long*/ mask = OS.gdk_pixmap_new(OS.GDK_ROOT_PARENT(), width, height, 1);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDragSourceEffect.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDragSourceEffect.java
index f6e0067a4a..5a49a38ff7 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDragSourceEffect.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDragSourceEffect.java
@@ -115,6 +115,7 @@ public class TreeDragSourceEffect extends DragSourceEffect {
yy[i] = rect.y;
hh[i] = h[0];
}
+ //TODO: Use Cairo
int /*long*/ source = OS.gdk_pixmap_new(OS.GDK_ROOT_PARENT(), width, height, -1);
int /*long*/ gcSource = OS.gdk_gc_new(source);
int /*long*/ mask = OS.gdk_pixmap_new(OS.GDK_ROOT_PARENT(), width, height, 1);