IParamWireMgr* GetParamWireMgr();
static_cast<IParamWireMgr*>(GetCOREInterface(PARAMWIRE_MGR_INTERFACE));
#include <iparamwire.h>
Public Types |
|
enum | { startParamWire, openEditor, editParams, editParam, editControllers, editController, connect, connect2Way, disconnect, disconnect2Way } |
Public Member Functions |
|
virtual void | StartParamWire ()=0 |
virtual void | OpenEditor ()=0 |
virtual void | EditParams (ReferenceTarget *leftParent, int leftSubNum, ReferenceTarget *rightParent, int rightSubNum)=0 |
virtual void | EditParam (ReferenceTarget *parent, int subNum)=0 |
virtual void | EditControllers (Control *leftWire, Control *rightWire)=0 |
virtual void | EditController (Control *wire)=0 |
virtual bool | Connect (ReferenceTarget *fromParent, int fromSubNum, ReferenceTarget *toParent, int toSubNum, MCHAR *toExpr)=0 |
virtual bool | Connect2Way (ReferenceTarget *leftParent, int leftSubNum, ReferenceTarget *rightParent, int rightSubNum, MCHAR *leftExpr, MCHAR *rightExpr=NULL)=0 |
virtual bool | Disconnect (Control *wireController)=0 |
virtual bool | Disconnect2Way (Control *wireController1, Control *wireController2)=0 |
virtual Animatable * | ParamWireMenu (ReferenceTarget *pTarget, int iSubNum, int iFlags=PWMF_LEFT_TARGET, HWND hWnd=NULL, IPoint2 *pPt=NULL)=0 |
anonymous enum |
virtual void StartParamWire | ( | ) | [pure virtual] |
virtual void OpenEditor | ( | ) | [pure virtual] |
virtual void EditParams | ( | ReferenceTarget * | leftParent, |
int | leftSubNum, | ||
ReferenceTarget * | rightParent, | ||
int | rightSubNum | ||
) | [pure virtual] |
leftParent | - A pointer to the left-hand reference target. |
leftSubNum | - The sub-animatable of the left-hand reference target. |
rightParent | - A pointer to the right-hand reference target. |
rightSubNum | - The sub-animatable of the right-hand reference target. |
virtual void EditParam | ( | ReferenceTarget * | parent, |
int | subNum | ||
) | [pure virtual] |
leftWire | - A pointer to the controller for the left-hand wire. |
rightWire | - A pointer to the controller for the right-hand wire. |
virtual void EditController | ( | Control * | wire | ) | [pure virtual] |
wire | - A pointer to the controller being edited. |
virtual bool Connect | ( | ReferenceTarget * | fromParent, |
int | fromSubNum, | ||
ReferenceTarget * | toParent, | ||
int | toSubNum, | ||
MCHAR * | toExpr | ||
) | [pure virtual] |
fromParent | - A pointer to the reference target to wire from. |
fromSubNum | - The sub-animatable to wire from. |
toParent | - A pointer to the reference target to wire to. |
toSubNum | - The sub-animatable to wire to. |
toExpr | - A string containing the expression on the "to wire". |
virtual bool Connect2Way | ( | ReferenceTarget * | leftParent, |
int | leftSubNum, | ||
ReferenceTarget * | rightParent, | ||
int | rightSubNum, | ||
MCHAR * | leftExpr, | ||
MCHAR * | rightExpr =
NULL |
||
) | [pure virtual] |
leftParent | - A pointer to the left-hand reference target. |
leftSubNum | - The sub-animatable of the left-hand reference target. |
rightParent | - A pointer to the right-hand reference target. |
rightSubNum | - The sub-animatable of the right-hand reference target. |
leftExpr | - A string containing the expression for the left-hand target. |
rightExpr | = NULL - A string containing the expression for the right-hand target. |
virtual bool Disconnect | ( | Control * | wireController | ) | [pure virtual] |
wireController | - A pointer to the wire controller you wish to disconnect. |
wireController1 | - A pointer to the first wire controller you wish to disconnect. |
wireController2 | - A pointer to the second wire controller you wish to disconnect. |
virtual Animatable* ParamWireMenu | ( | ReferenceTarget * | pTarget, |
int | iSubNum, | ||
int | iFlags =
PWMF_LEFT_TARGET , |
||
HWND | hWnd = NULL , |
||
IPoint2 * | pPt = NULL |
||
) | [pure virtual] |
pTarget | - The parent of the target animatable that the context menu will be derived from. pTarget should support the I_WIRECONTROL interface. |
iSubNum | - The SubAnim number in pTarget of the target animatable that the context menu will be derived from. If iSubNum is negative, pTarget will be used. |
iFlags | - one of the parameter wire flags. This sets which which action to take. |
hWnd | - used as the parent window for the context menus and parameter wiring dialog. |
pPt | - If iFlags is not PWMF_HAS_MENU, pPt should specify the position of the context menu in screen coordinates |