Older Newer
Sun, 09 Dec 2007 15:15:19 . . . . c-67-188-123-150.hsd1.ca.comcast.net [plugin -> plug-in]


Changes by last author:

Added:
= doAction =

== Syntax ==

:doAction(int action)

== Arguments ==

:action

::The action to be performed (preview, apply, cancel etc)

== Description ==

:Performs one of several predefined control actions specified by its argument action, where action may have one of the following predefined symbolic constant values:

||Symbolic Constant || Control Action ||

||CA_PREVIEW || Updates the proxy preview window. ||

||CA_APPLY || Applies the filter to the original source image and exits the plug-in. ||

||CA_CANCEL || Exits the plug-in filter without modifying the original source image. ||

||CA_EDIT || Enters or exits source code editing mode (ignored in standalone filters). ||

||CA_ABOUT || Displays the ABOUT dialog box. ||

||CA_RESET || Resets all controls to their initial values. ||

||CA_NONE || Performs no action. ||

== Example ==

<code>

// Display the plug-in about box

doAction( CA_ABOUT );

</code>

== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.