Thinking about it, this snippet of code would probably be best wrapped as e.g. NRArenaItem *sp_item_get_arenaitem (SPItem *item, unsigned int key).
Done, I put it into sp-item.cpp and changed document.cpp to use it. Please test now. It seems to work correctly with multiple views.
Thanks for your guidance. Without you on guard, I'd never have ventured into the scary Inkscape innards :)
_________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/photos&pgmarket=en-ca&RU=http%3a%...
On Fri, 2003-12-19 at 23:53, bulia byak wrote:
Thinking about it, this snippet of code would probably be best wrapped as e.g. NRArenaItem *sp_item_get_arenaitem (SPItem *item, unsigned int key).
Done, I put it into sp-item.cpp and changed document.cpp to use it. Please test now. It seems to work correctly with multiple views.
Works good! I did decide to make one adjustment -- I added an sp_desktop_item_at_point() so desktop->dkey didn't get exposed outside of SPDesktop. Other than that, I'm leaving things as they are.
Anyhow, the new selection behavior rocks! Thank you! Now I don't have to make large background items insensitive just to rubberband the foreground bits I'm working on~
Thanks for your guidance. Without you on guard, I'd never have ventured into the scary Inkscape innards :)
No problem ^_^
With time you'll get more comfortable (and hopefully the innards will get messy), and then you can return the favor by giving some other brave soul the guided tour. ^_-
-mental
participants (2)
-
bulia byak
-
MenTaLguY