Quick question related to design:
Right now, I was using the selection to add nodes onto the color wheel (a std::map<std::string, RecoloWheelNode> ).
In other words, the selection was handling all the addition. Removal was not possible. But with your changes to selection and sp-object, how do you think I can achieve this ? I have little time on hand to and it will be better if you can explain things rather than me trying to figure them out by myself right now.


On Sun, Sep 22, 2013 at 10:23 PM, Sebastian Götte <jaseg@...2974...> wrote:
On 09/22/2013 06:51 PM, Arshdeep Singh wrote:
> Hi,
> Will pulling the changes of selection.h and selection.cpp suffice to use
> for my project ?
> Does _notifySelected notify signals for both selection and un-selection ?
the signal has three arguments: The object, the selection and a bool that indicates whether the object is now selected (true) or unselected (false). You will also need the few lines in sp-object.h containing the signal logic.

Sebastian



--
Arshdeep Singh
Third Year, Computer Engineering
Delhi Technological University
Ph: +91-9654115614
https://sites.google.com/site/adsingh1729/home