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
|
|
@ -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