Function:ds2unprotect

From S2PLOT

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:30, 10 March 2008
S2plot admin (Talk | contribs)

← Previous diff
Revision as of 03:31, 10 March 2008
S2plot admin (Talk | contribs)

Next diff →
Line 1: Line 1:
-==ds2protect==+==ds2unprotect==
-Protect dynamic geometry.+Unprotect dynamic geometry.
==Prototype== ==Prototype==
Line 14: Line 14:
<table> <table>
<tr><td>[[Function:ds2protect | ds2protect]]</td><td>Protect dynamic geometry.</td></tr> <tr><td>[[Function:ds2protect | ds2protect]]</td><td>Protect dynamic geometry.</td></tr>
-<tr><td>[[Function:ds2unprotect | ds2unprotect]]</td><td>Unprotect the dynamic geometry.</td></tr> 
<tr><td>[[Function:ds2isprotected | ds2isprotected]]</td><td>Query state of dynamic geometry protection. </td></tr> <tr><td>[[Function:ds2isprotected | ds2isprotected]]</td><td>Query state of dynamic geometry protection. </td></tr>
</table> </table>

Revision as of 03:31, 10 March 2008

ds2unprotect

Unprotect dynamic geometry.

Prototype

void ds2unprotect(void);

Description

Unprotect the dynamic geometry. Typically use this by setting ds2protect() at the end of your standard dynamic callback, then call ds2unprotect() if key presses / events processed by other callbacks will result in a changed geometry state. Use with caution ... incorrect use can result in TMC: total memory consumption.

See Also

ds2protectProtect dynamic geometry.
ds2isprotectedQuery state of dynamic geometry protection.

Code Example

Back to S2PLOT function list.


Personal tools