Contact Info / Websites
Exams over, and so are the semester vacations. My RSI has gone, thankfully (although it comes back every now and then, but it's not too much of a problem)
I've been developing a docking window library for Adobe AIR for some time now, inspired by WeiFen Luo's DockPanelSuite for C# WinForms, but created from the ground up (not just a direct port). It uses the NativeWindow class, so only AIR projects can make use of it.
One thing I've been trying to get to work was the dragging and dropping of tabs / panels onto others and making them join into one; how do you do that across multiple NativeWindows (especially when your Stage's MouseEvent only provides enough info about the mouse within the bounds of the stage?)
Yesterday, it occurred to me that using the NativeDragManager class to initiate and handle drag-and-drops could be performed! (I was already using it in an earlier part of HitShaper, but had failed to make the link then, because in that case I was only dragging from the filesystem into the application, and not within the application itself) It turned out that I could indeed do that, by transferring object references! (Fun fact: I got this "epiphany" during a fever...who said fevers were entirely bad? :P)
However, I guess poor design has caught up to me and I will have to redesign the classes, putting more priority on containers rather than the panels instead, and that is another headache...for another day.
Update 001 - see video description for more details (click the YouTube icon)