Hello all, I was cleaning up my branch of last year's GSoC project - Recolor Artwork. I was using a piece of code that involved SPEventContext but this doesn't compile anymore. I guess the structure was cppified by another GSoCer: Markus Engel. Well, I can't get around to how to use the alternate Event structure now. Can someone shed some light on it ? The piece of code that didn't compile was: void RecolorArtworkWidget::eventContextCB(SPDesktop * /*desktop*/, SPEventContext * /*eventcontext*/) { performUpdate(); } -- Arshdeep Singh Final Year, Computer Engineering Delhi Technological University Ph: +91-9654115614 https://sites.google.com/site/adsingh1729/home
Hi, well, I'm not a GSoCer, but anyway: Look into ui/tools/tool-base.h, that's the old SPEventContext. Regards, Markus Von: Arshdeep Singh [mailto:moduli16@...400...] Gesendet: Freitag, 21. Februar 2014 07:53 An: Inkscape Devel List Betreff: [Inkscape-devel] SPEventContext Hello all, I was cleaning up my branch of last year's GSoC project - Recolor Artwork. I was using a piece of code that involved SPEventContext but this doesn't compile anymore. I guess the structure was cppified by another GSoCer: Markus Engel. Well, I can't get around to how to use the alternate Event structure now. Can someone shed some light on it ? The piece of code that didn't compile was: void RecolorArtworkWidget::eventContextCB(SPDesktop * /*desktop*/, SPEventContext * /*eventcontext*/) { performUpdate(); } -- Arshdeep Singh Final Year, Computer Engineering Delhi Technological University Ph: +91-9654115614 https://sites.google.com/site/adsingh1729/home
participants (2)
-
Arshdeep Singh -
Markus Engel