Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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?
Thanks, Kent
edit: The mentioned previous topic [ added by @ferdinand ]
Hi,
i forgot to answer/confirm that yes, there's no way.
Cheers, Manuel
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.
DRAGTYPE_GRADIENT
Cheers, Kent
Hello @kbar,
without any further questions, we will consider this topic as solved by Monday, the 25th and flag it accordingly.
Thank you for your understanding, Ferdinand