PaintBrush extension framework
Submitted by Souichi Takashige
Link to original bug (#522226)
Description
I'd like to introduce an extension framework into the GIMP. The framework provides the way to add new features to the PaintBrush. Framework itself is very simple: Add many event handler chains such as "init-motion" "motion" "finish-motion" etc. to the PaintBrush, PaintOptions, and PaintBrushTool objects. Objects calls the handlers to "change" the behavior of the brush.
This framework is designed based on the following concepts:
- Flexible: Developer can easily add new features to the existing codes.
- Modular: Each new features can be implemented in one modules. two independent features are separated in other modules, and developers can develop new code independently.
- Dynamically loadable (planned) New features should be dynamically loaded on startup. Developers can distribute new features as a separate shared library.
Version: git master