This extends the python resources api with objects for Palette/Brushtip/BrushPreset/Gradient/Pattern. It adds one single notified to Notified.cpp and puts save into resources.cpp.
Part of T7487
Lint Skipped |
Unit Tests Skipped |
Added extra stuff for the Notifier and fixed some stuff in the palette.
Two big problems:
Hm, I guess the first thing I'll do is be to write a unittest for the notifier, so we can be sure it works at all... The resource servers for brush tips and presets are different from the ordinary ones, but I'm going to have to dig in to see what's up with that.
Okay, I've done the unittest and found the bug in the Notifier... That part should be fine now :-)