Provide a way for Tux Paint Magic tools to register themselves as being of a particular complexity level, and allow users to configure Tux Paint (e.g., via config. file) to only present tools up to a certain "expertise" level. (e.g., "novice", "beginner", "advanced")
For example, the N-point Perspective tools currently appear as two magic tools each, a "Draw" (line-drawing mode), and a "Select" (edit/reposition vanishing points). When Tux Paint is run with different expertise levels, the plugin would behave differently:
* novice -- no tools
* beginner -- 'draw' tools only (using the default sets of vanishing points)
* advanced -- both 'draw' and 'select' tools (as they appear currently)
By default, it would probably be best to default to "advanced", so Tux Paint behaves as it has historically, with the "beginner" and "novice" offerings being similar to the various other "Simplification" settings the core Tux Paint app provides (though affecting all complexity-level-offering Magic tools at once).
The expertise setting should be sent from Tux Paint to the Magic plugin (via _init()
), so the plugin can behave differently (beyond simply not providing a certain (set of) tool(s)). For example, in the case of 3-Point Perspective, instead of simply offering one "3-Point Draw" tool with the current default set of vanishing points (the "looking upwards" -- horizon at the bottom, and 3rd point at the top center), it could instead offer an additional one with a different set of default vanishing points, not normally used in "advanced" mode due to the editing ("3-Point Select") tool being available (a "looking downwards" -- horizon at the top, and 3rd point at the bottom center)..
This would be similar to how the "Brick" and "Googly Eyes" plugins provide multiple tools of different sizes (their historic behavior) when the nomagicsizes
Simplification option is set, but only one tool each when the Magic tool size feature is available to the user.
Will be in 0.9.32 (& corresponding Tux Paint Config)