Note that I have asked this question before but I got no answer. So I am asking again to try to get a clear answer.
What data do I need to pass into GeUserArea::HandleMouseDrag so that I can allow dragging and dropping my own gradients onto a Gradient?
I have a list of GradientKnots. I want to allow dragging and dropping of this data into a Gradient.
What should the DRAGTYPE be? And what should the data be?
edit: The mentioned previous topic [ added by @ferdinand ]
the dragtype must be DRAGTYPE_BROWSER but the data type must be SDKBrowserDragInfo and cannot be created. Internally it's built from BrowserDragInfo that is not public and cast to SDKBrowserDragInfo .
the passed object is cast to SDKBrowserDragInfo in the HandleDragReceivePreset function.
@m_magalhaes so what your saying is there is absolutely no way for a developer to create a drag drop event at all for gradients.
I would like to formally request a way to allow us to drop a Gradient, or list of GradientKnots, onto a Gradient in the UI.
i forgot to answer/confirm that yes, there's no way.