On the other hand, you're getting experienced with this code now. Do you have ideas for how best to make these selected items draggable directly?
Actually it turned out to be quite easy. Please test now.
Still, I'd like to hear your opinion on whether it's acceptable to keep extending the item_at_point machinery in select-context as opposed to canvas code. Are we perpetrating ugly hacks, or is this the right way that should have been followed from the start?
_________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2...
On Sun, 2003-12-28 at 05:42, bulia byak wrote:
On the other hand, you're getting experienced with this code now. Do you have ideas for how best to make these selected items draggable directly?
Actually it turned out to be quite easy. Please test now.
Still, I'd like to hear your opinion on whether it's acceptable to keep extending the item_at_point machinery in select-context as opposed to canvas code. Are we perpetrating ugly hacks, or is this the right way that should have been followed from the start?
That's a really interesting question, and I'm not sure of the answer.
-mental
Thinking about this a bit, I think we may end up needing to rework the NRArenaItem event dispatching code before we could usefully rely on the SPItem * parameter to the event context's item handler.
Rather than this NRArenaItemGroup::transparent business, we should probably just maintain a list of 'active' NRArenaItems for an NRArena which can receive events.
I'll play with this some later tonight if I have time.
-mental
participants (2)
-
bulia byak
-
MenTaLguY