Gryphon_de Posted October 31, 2011 Share Posted October 31, 2011 How can I make WidgetSprite to be able to be Drag'n'Dropped inside, say, WidgetWindow? Link to comment
frustum Posted October 31, 2011 Share Posted October 31, 2011 Set GUI_DRAG_DROP callback on sender and receiver. Link to comment
frustum Posted October 31, 2011 Share Posted October 31, 2011 This is an example. sprite_03.cpp sprite_03.world Link to comment
Gryphon_de Posted October 31, 2011 Author Share Posted October 31, 2011 Thanks! Another question: is it possible to show sprite where the mouse is while it is dragged? Link to comment
frustum Posted October 31, 2011 Share Posted October 31, 2011 You can create custom mouse cursor from WidgetSprite. Set this cursor in the PRESSED callback off your drag sprite. Link to comment
Recommended Posts