Parse support for [no]magicsizes; new MAGIC_FEATURE_CONTROL bitmask
This commit is contained in:
parent
c2585d7a26
commit
eda0a646be
14 changed files with 30 additions and 2 deletions
|
|
@ -191,6 +191,8 @@ Magic Tool Plugin API Documentation
|
|||
features relevant to Magic tools which have been disabled in this
|
||||
session. Test using the C bitwise 'and' operator, '&'. The
|
||||
features are defined in tp_magic_api.h:
|
||||
* MAGIC_FEATURE_CONTROL: Magic tool controls (paint vs
|
||||
fullscreen) (--nomagiccontrols)
|
||||
* MAGIC_FEATURE_SIZE: Magic tool size (--nomagicsizes)
|
||||
Your Magic tool(s) may wish to react differently depending on
|
||||
whether one or more features have been disabled. (For example, the
|
||||
|
|
|
|||
|
|
@ -289,6 +289,8 @@
|
|||
<b>Note:</b> Called once by Tux Paint, at startup. It is called after "<code>api_version()</code>", if Tux Paint believes your plugin to be compatible. </p>
|
||||
<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_CONTROL</code>: Magic tool controls (paint vs fullscreen) (<code>--nomagiccontrols</code>) </li>
|
||||
<li>
|
||||
<code>MAGIC_FEATURE_SIZE</code>: Magic tool size (<code>--nomagicsizes</code>) </li>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue