Public Member Functions | Public Attributes

MSAutoEParamDlg Class Reference

Search for all occurrences

#include <mxsPlugin.h>

Inheritance diagram for MSAutoEParamDlg:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  MSAutoEParamDlg (IRendParams *i, SpecialFX *fx, MSPlugin *plugin, Rollout *ro)
  ~MSAutoEParamDlg ()
Class_ID  ClassID ()
ReferenceTarget GetThing ()
void  SetThing (ReferenceTarget *fx)
void  DeleteThis ()
void  SetTime (TimeValue t)
void  InvalidateUI ()
int  NumDlgs ()
void  AddDlg (SFXParamDlg *dlg)
SFXParamDlg GetDlg (int i)
void  SetDlg (int i, SFXParamDlg *dlg)
void  DeleteDlg (SFXParamDlg *dlg)
IParamMap2 GetMap ()

Public Attributes

Tab< SFXParamDlg * >  secondaryDlgs
SFXParamDlg delegateDlg
MSPlugin plugin
Rollout *  ro
SpecialFX sfx
IRendParams ip

Constructor & Destructor Documentation

MSAutoEParamDlg ( IRendParams i,
SpecialFX fx,
MSPlugin plugin,
Rollout *  ro 
)

Member Function Documentation

Class_ID ClassID ( ) [inline, virtual]
Remarks:
Returns the unique Class_ID of this item.

Implements SFXParamDlg.

{ return sfx->ClassID(); }
ReferenceTarget* GetThing ( ) [inline, virtual]
Remarks:
This returns the current filter, sampler, atmospheric or rendering effect being edited.

Implements SFXParamDlg.

{ return sfx; }
void SetThing ( ReferenceTarget m ) [virtual]
Remarks:
This sets the current filter, sampler, atmospheric or rendering effect being edited to the one passed and updates the user interface controls to reflect the state of the new 'thing'.
Parameters:
ReferenceTarget *m

The effect to save as current.

Implements SFXParamDlg.

void DeleteThis ( ) [virtual]
Remarks:
Deletes this instance of the class.

Implements SFXParamDlg.

void SetTime ( TimeValue  t ) [virtual]
Remarks:
This method is called when the current time has changed. This gives the developer an opportunity to update any user interface data that may need adjusting due to the change in time.
Parameters:
TimeValue t

The new current time.
Default Implementation:
{}

Reimplemented from SFXParamDlg.

void InvalidateUI ( ) [virtual]
Remarks:
This method causes the user interface controls to be re-drawn.

Implements IAutoEParamDlg.

int NumDlgs ( ) [inline, virtual]
Remarks:
Returns the number of secondary dialogs.

Implements IAutoEParamDlg.

{ return secondaryDlgs.Count(); }
void AddDlg ( SFXParamDlg dlg ) [virtual]
Remarks:
Adds the specified dialog as another secondary dialog.
Parameters:
SFXParamDlg* dlg

Points to the parameter dialog to add.

Implements IAutoEParamDlg.

SFXParamDlg* GetDlg ( int  i ) [virtual]
Remarks:
Returns a pointer to the 'i-th' secondary dialog.
Parameters:
int i

The zero based index of the dialog to return.

Implements IAutoEParamDlg.

void SetDlg ( int  i,
SFXParamDlg dlg 
) [virtual]
Remarks:
Sets the 'i-th' dialog to the one passed.
Parameters:
int i

The zero based index of the dialog to set.

SFXParamDlg* dlg

Points to the parameter dialog to set.

Implements IAutoEParamDlg.

void DeleteDlg ( SFXParamDlg dlg ) [virtual]
Remarks:
This method is used for deleting secondary dialogs from a master IAutoEParamDlg. Use this along with AddDlg() if you are dynamically changing the set of rollups for the plugin, so that the P_AUTO_UI system can correctly manage all current secondary rollups.
Parameters:
SFXParamDlg* dlg

Points to the ParamDlg to delete.

Implements IAutoEParamDlg.

IParamMap2* GetMap ( ) [inline, virtual]
Remarks:
Returns a pointer to the parameter map2 of this primary (master) dialog.

Implements IAutoEParamDlg.

{ return NULL; }

Member Data Documentation

Rollout* ro

MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg
MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg MSAutoEParamDlg