-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bringing the required changes to DropTarget.java
In the method dropTargetProc(long id, long sel, long arg0) the widget was being recognised as label instead of the widget that actually has the drop Target key. As soon as the first drop target key is acquired the area is recognised as a Drop Target area and the Drag handlers are added. Also a new function called handleLabels( Control c, long cls) is also added to bring the feature of droping on to the top of a label that has an image view.This functions takes a control as a parameter to go up till its parent to find the label which has an image view and add drag handlers for that. Fixes: #649
- Loading branch information
Showing
2 changed files
with
43 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters