Class TrackViewFilter
See Also: Class Animatable.
class TrackViewFilter : public InterfaceServer
Description:
This is the callback object used to filter selections in the track view.
Methods:
Prototype:
virtual BOOL proc(Animatable *anim, Animatable *client,int subNum)=0;
Remarks:
Implemented by the Plug-In.
This is the callback object proc used to filter selections in the track view.
Parameters:
Animatable *anim
The item the user picked.
Animatable *client
The owner of the anim.
int subNum
The sub-animatable number of the anim.
Return Value:
Return TRUE to accept the anim as selectable; otherwise FALSE.
Prototype:
virtual BOOL TextColor(Animatable *anim, Animatable *client, int subNum, COLORREF& color);
Remarks:
This method is available in release 4.0 and later only.
This method allows the filter to control the color of the label text used for the anim.
Parameters:
Animatable *anim
The item the user picked.
Animatable *client
The owner of the anim.
int subNum
The sub-animatable number of the anim.
COLORREF& color
The color for the label text. See COLORREF-DWORD format.
Return Value:
TRUE for the Treeview to use the color in the color argument, FALSE to ignore that color and use the system default.
Default Implementation:
{ return FALSE; }