#include <ParamI.h>
Inheritance diagram for Composition::ParamTextC:
Text parameter class provides a simple text input to the effect. The text parameter cannot be animated.
Range and spinner increment are not used.
A new text parameter is created using the create_new() static method.
|
Default constructor.
|
|
Constructor.
|
|
Constructor with reference to the original.
|
|
Default destructor.
|
|
Deep copy from a data block, see Edit::DataBlockI::copy().
Reimplemented from Composition::ParamI. |
|
Creates new datablock, with reference to the original.
Reimplemented from Edit::EditableI. |
|
Creates new parameter. Following default values are used: pParent = 0, szName = 0, szValue = 0, ui32ID = 0, ui32Style = 0,
Reimplemented from Edit::EditableI. |
|
Creates a new color parameter.
Example: This example creates new parameter. The name of the parameter is "Text", it's default value is string "Text" and it's ID is ID_TEXT (constant defined by the plugin writer), the type-in style is the default editbox.
m_pParamText = ParamTextC::create_new( this, "Text", "Text", ID_TEXT ); |
|
Returns the conroller attached to the parameter. NULL is returned if the parameter cannot be animated. Reimplemented from Composition::ParamI. |
|
Returns the ID of the parameter.
Reimplemented from Composition::ParamI. |
|
Returns the spinner increment.
Reimplemented from Composition::ParamI. |
|
Returns the range of the parameter.
Reimplemented from Composition::ParamI. |
|
Returns the style of the parameter.
Reimplemented from Composition::ParamI. |
|
Returns the type of the parameter.
Reimplemented from Composition::ParamI. |
|
Returns the value of the parameter.
|
|
Returns the value of the parameter.
Reimplemented from Composition::ParamI. |
|
Serialize the parameter from a Demopaja input stream.
Reimplemented from Composition::ParamI. |
|
Shallow copy from a editable, see Edit::EditableI::restore().
Reimplemented from Composition::ParamI. |
|
Serialize the parameter to a Demopaja output stream.
Reimplemented from Composition::ParamI. |
|
Sets the controller of the parameter.
Reimplemented from Composition::ParamI. |
|
Sets the ID of the parmeter.
Reimplemented from Composition::ParamI. |
|
Sets the spinner increment of the parameter. The spinner increment is the smallest value the parameter is meant to control. For 1/10th accuracy use spinner increment of 0.1. The spinner increment is used in the spinners of the type-ins and also to draw the values in the GUI. Reimplemented from Composition::ParamI. |
|
Sets the style of the parameter.
Reimplemented from Composition::ParamI. |
|
Sets the value of the parameter as NULL terminated string at specified time.
|
|
Sets the value of the parameter.
Reimplemented from Composition::ParamI. |