]> granicus.if.org Git - handbrake/commitdiff
WinGui: Update the Gong WPF Drag/Drop library. This fixes a few issues with the movin...
authorsr55 <sr55.hb@outlook.com>
Thu, 28 Aug 2014 11:00:41 +0000 (11:00 +0000)
committersr55 <sr55.hb@outlook.com>
Thu, 28 Aug 2014 11:00:41 +0000 (11:00 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6379 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.XML
win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.dll
win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.pdb
win/CS/libraries/WPFDragDrop/notes.txt

index e46d7093dce5aaae8d67a060a138e830da8f187d..c05cddd5cffed7d5504be595178f29672cd3fb78 100644 (file)
             \r
             <remarks>\r
             To allow a drag to be started, the <see cref="P:GongSolutions.Wpf.DragDrop.DragInfo.Effects"/> property on <paramref name="dragInfo"/> \r
-            should be set to a value other than <see cref="!:DragDropEffects.None"/>. \r
+            should be set to a value other than <see cref="F:System.Windows.DragDropEffects.None"/>. \r
             </remarks>\r
         </member>\r
+        <!-- Badly formed XML comment ignored for member "M:GongSolutions.Wpf.DragDrop.IDragSource.CanStartDrag(GongSolutions.Wpf.DragDrop.IDragInfo)" -->\r
         <member name="M:GongSolutions.Wpf.DragDrop.IDragSource.Dropped(GongSolutions.Wpf.DragDrop.IDropInfo)">\r
             <summary>\r
             Notifies the drag handler that a drop has occurred.\r
               Information about the drop.\r
             </param>\r
         </member>\r
+        <member name="M:GongSolutions.Wpf.DragDrop.IDragSource.DragCancelled">\r
+            <summary>\r
+            Notifies the drag handler that a drag has been aborted.\r
+            </summary>\r
+        </member>\r
         <member name="T:GongSolutions.Wpf.DragDrop.IDropTarget">\r
             <summary>\r
             Interface implemented by Drop Handlers.\r
               Information about the drop.\r
             </param>\r
         </member>\r
+        <member name="F:GongSolutions.Wpf.DragDrop.DragDrop.DragMouseAnchorPointProperty">\r
+            <summary>\r
+            DragMouseAnchorPoint defines the horizontal and vertical proportion at which the pointer will anchor on the DragAdorner.\r
+            </summary>\r
+        </member>\r
+        <member name="M:GongSolutions.Wpf.DragDrop.DragDrop.TryGetDragHandler(GongSolutions.Wpf.DragDrop.DragInfo,System.Windows.UIElement)">\r
+            <summary>\r
+            Gets the drag handler from the drag info or from the sender, if the drag info is null\r
+            </summary>\r
+            <param name="dragInfo">the drag info object</param>\r
+            <param name="sender">the sender from an event, e.g. mouse down, mouse move</param>\r
+            <returns></returns>\r
+        </member>\r
+        <member name="M:GongSolutions.Wpf.DragDrop.DragDrop.TryGetDropHandler(GongSolutions.Wpf.DragDrop.DropInfo,System.Windows.UIElement)">\r
+            <summary>\r
+            Gets the drop handler from the drop info or from the sender, if the drop info is null\r
+            </summary>\r
+            <param name="dropInfo">the drop info object</param>\r
+            <param name="sender">the sender from an event, e.g. drag over</param>\r
+            <returns></returns>\r
+        </member>\r
+        <member name="T:GongSolutions.Wpf.DragDrop.DragInfo">\r
+            <summary>\r
+            Holds information about a the source of a drag drop operation.\r
+            </summary>\r
+            \r
+            <remarks>\r
+            The <see cref="T:GongSolutions.Wpf.DragDrop.DragInfo"/> class holds all of the framework's information about the source\r
+            of a drag. It is used by <see cref="M:GongSolutions.Wpf.DragDrop.IDragSource.StartDrag(GongSolutions.Wpf.DragDrop.IDragInfo)"/> to determine whether a drag \r
+            can start, and what the dragged data should be.\r
+            </remarks>\r
+        </member>\r
         <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.Data">\r
             <summary>\r
             Gets or sets the drag data.\r
             If the control that initated the drag is unbound or not an ItemsControl, this will be null.\r
             </remarks>\r
         </member>\r
+        <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.SourceIndex">\r
+            <summary>\r
+            Gets the position from where the item was dragged.\r
+            </summary>\r
+        </member>\r
         <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.SourceItem">\r
             <summary>\r
             Gets the object that a dragged item is bound to.\r
             will hold a ListBoxItem.\r
             </remarks>\r
         </member>\r
+        <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.VisualSourceFlowDirection">\r
+            <summary>\r
+            Gets the FlowDirection of the current drag source.\r
+            </summary>\r
+        </member>\r
         <member name="P:GongSolutions.Wpf.DragDrop.IDragInfo.DataObject">\r
             <summary>\r
             Gets the <see cref="T:System.Windows.IDataObject"/> which is used by the drag and drop operation. Set it to\r
             a custom instance if custom drag and drop behavior is needed.\r
             </summary>\r
         </member>\r
-        <member name="T:GongSolutions.Wpf.DragDrop.DragInfo">\r
-            <summary>\r
-            Holds information about a the source of a drag drop operation.\r
-            </summary>\r
-            \r
-            <remarks>\r
-            The <see cref="T:GongSolutions.Wpf.DragDrop.DragInfo"/> class holds all of the framework's information about the source\r
-            of a drag. It is used by <see cref="M:GongSolutions.Wpf.DragDrop.IDragSource.StartDrag(GongSolutions.Wpf.DragDrop.IDragInfo)"/> to determine whether a drag \r
-            can start, and what the dragged data should be.\r
-            </remarks>\r
-        </member>\r
         <member name="M:GongSolutions.Wpf.DragDrop.DragInfo.#ctor(System.Object,System.Windows.Input.MouseButtonEventArgs)">\r
             <summary>\r
             Initializes a new instance of the DragInfo class.\r
             If the control that initated the drag is unbound or not an ItemsControl, this will be null.\r
             </remarks>\r
         </member>\r
+        <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.SourceIndex">\r
+            <summary>\r
+            Gets the position from where the item was dragged.\r
+            </summary>\r
+            <value>The index of the source.</value>\r
+        </member>\r
         <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.SourceItem">\r
             <summary>\r
             Gets the object that a dragged item is bound to.\r
             will hold a ListBoxItem.\r
             </remarks>\r
         </member>\r
+        <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.VisualSourceFlowDirection">\r
+            <summary>\r
+            Gets the FlowDirection of the current drag source.\r
+            </summary>\r
+        </member>\r
         <member name="P:GongSolutions.Wpf.DragDrop.DragInfo.DataObject">\r
             <summary>\r
             Gets the <see cref="T:System.Windows.IDataObject"/> which is used by the drag and drop operation. Set it to\r
             a custom instance if custom drag and drop behavior is needed.\r
             </summary>\r
         </member>\r
+        <member name="T:GongSolutions.Wpf.DragDrop.DropInfo">\r
+            <summary>\r
+            Holds information about a the target of a drag drop operation.\r
+            </summary>\r
+            \r
+            <remarks>\r
+            The <see cref="T:GongSolutions.Wpf.DragDrop.DropInfo"/> class holds all of the framework's information about the current \r
+            target of a drag. It is used by <see cref="M:GongSolutions.Wpf.DragDrop.IDropTarget.DragOver(GongSolutions.Wpf.DragDrop.IDropInfo)"/> method to determine whether \r
+            the current drop target is valid, and by <see cref="M:GongSolutions.Wpf.DragDrop.IDropTarget.Drop(GongSolutions.Wpf.DragDrop.IDropInfo)"/> to perform the drop.\r
+            </remarks>\r
+        </member>\r
         <member name="P:GongSolutions.Wpf.DragDrop.IDropInfo.Data">\r
             <summary>\r
             Gets the drag data.\r
             Indicates if the drop info should be handled by itself (useful for child elements)\r
             </summary>\r
         </member>\r
-        <member name="T:GongSolutions.Wpf.DragDrop.DropInfo">\r
-            <summary>\r
-            Holds information about a the target of a drag drop operation.\r
-            </summary>\r
-            \r
-            <remarks>\r
-            The <see cref="T:GongSolutions.Wpf.DragDrop.DropInfo"/> class holds all of the framework's information about the current \r
-            target of a drag. It is used by <see cref="M:GongSolutions.Wpf.DragDrop.IDropTarget.DragOver(GongSolutions.Wpf.DragDrop.IDropInfo)"/> method to determine whether \r
-            the current drop target is valid, and by <see cref="M:GongSolutions.Wpf.DragDrop.IDropTarget.Drop(GongSolutions.Wpf.DragDrop.IDropInfo)"/> to perform the drop.\r
-            </remarks>\r
-        </member>\r
         <member name="M:GongSolutions.Wpf.DragDrop.DropInfo.#ctor(System.Object,System.Windows.DragEventArgs,GongSolutions.Wpf.DragDrop.DragInfo)">\r
             <summary>\r
             Initializes a new instance of the DropInfo class.\r
             <param name="size">The size of the icon</param>\r
             <returns>The image to be displayed</returns>\r
         </member>\r
+        <member name="M:GongSolutions.Wpf.DragDrop.Utilities.HitTestUtilities.IsNotPartOfSender(System.Object,System.Windows.Input.MouseButtonEventArgs)">\r
+            <summary>\r
+            thx to @osicka from issue #84\r
+            \r
+            e.g. original source is part of a popup (e.g. ComboBox drop down), the hit test needs to be done on the original source.\r
+            Because the popup is not attached to the visual tree of the sender.\r
+            This function test this by looping back from the original source to the sender and if it didn't end up at the sender stopped the drag.\r
+            </summary>\r
+        </member>\r
+        <member name="M:GongSolutions.Wpf.DragDrop.Utilities.VisualTreeExtensions.GetVisualAncestor(System.Windows.DependencyObject,System.Type,System.Windows.Controls.ItemsControl)">\r
+            <summary>\r
+            find the visual ancestor by type and go through the visual tree until the given itemsControl will be found\r
+            </summary>\r
+        </member>\r
     </members>\r
 </doc>\r
index 395aac56db91a32682db5d9928f3a58052ee7058..bf2d85e9fabc9601d514e71f2ab9547761043bca 100644 (file)
Binary files a/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.dll and b/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.dll differ
index 5b01a61e87e05f43b24547c4ce4ce363702c6547..121c34de7a10391948beeaada0dbbfb8ae1e1546 100644 (file)
Binary files a/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.pdb and b/win/CS/libraries/WPFDragDrop/GongSolutions.Wpf.DragDrop.pdb differ
index 4d3071ad0e588db4cae2705049d3a95a1d110483..a40a2f0c64aa1a029e0606ab9a07a28f0465f73f 100644 (file)
@@ -1 +1,3 @@
 https://github.com/punker76/gong-wpf-dragdrop\r
+\r
+[New BSD License](http://opensource.org/licenses/BSD-3-Clause)