Sync MAGIC-API; sync OPTIONS for "nomagicsizes"
This commit is contained in:
parent
7bdb19ff0f
commit
9b74f2a25e
20 changed files with 124 additions and 10 deletions
|
|
@ -290,7 +290,7 @@
|
|||
<p>
|
||||
The <code>disabled_features</code> value contains bits set for any Tux Paint features relevant to Magic tools which have been disabled in this session. Test using the C bitwise 'and' operator, '<code>&</code>'. The features are defined in <code>tp_magic_api.h</code>: <ul>
|
||||
<li>
|
||||
<code>MAGIC_FEATURE_SIZE</code>: Magic tool size (Magic tool size) </li>
|
||||
<code>MAGIC_FEATURE_SIZE</code>: Magic tool size (<code>--nomagicsizes</code>) </li>
|
||||
</ul>
|
||||
Your Magic tool(s) may wish to react differently depending on whether one or more features have been disabled. (For example, the "Brick" Magic tool always offered two tool variations: large and small. With the addition of the size feature, only one tool is necessary. However, with the size option disabled, the plugin is able to revert back to providing two separate tools.) </p>
|
||||
<p>
|
||||
|
|
|
|||
|
|
@ -665,6 +665,17 @@
|
|||
<span title="Configuration option">⚙</span> <strong>Note:</strong> If used in a system-wide configuration file, may be overridden by the user's configuration file using "<code>nomagiccontrols=no</code>" or "<code>magiccontrols=yes</code>". In both cases, may be overridden by the command-line option "<code>--magiccontrols</code>". </p>
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
<code><b>nomagicsizes=yes</b></code>
|
||||
</dt>
|
||||
|
||||
<dd>
|
||||
<p>
|
||||
Some <b>Magic</b> tools offer various size settings. This option disables the sizing control, and only provides the tools' default sizes. (Some plugins may offer additional variations of a Magic tool, to make a few sizes possible, e.g. "Bricks" and "Googly Eyes". </p>
|
||||
<p class="note">
|
||||
<span title="Configuration option">⚙</span> <strong>Note:</strong> If used in a system-wide configuration file, may be overridden by the user's configuration file using "<code>nomagicsizes=no</code>" or "<code>magicsizes=yes</code>". In both cases, may be overridden by the command-line option "<code>--magicsizes</code>". </p>
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
<code><b>noshapecontrols=yes</b></code>
|
||||
</dt>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue