Override the default ColorEdit to serve as ColorEditor, which can create Max color picker form instead of default.
Public Member Functions |
|
ExtendedColorEditor () | |
Default constructor. |
|
ExtendedColorEditor (string formtitle, bool alpha) | |
Constructor with specified title and alpha
properties. |
|
Protected Member Functions |
|
override PopupBaseForm | CreatePopupForm () |
Override for ColorEdit.CreatePopupForm()
|
|
Properties |
|
override bool |
IsPopupOpen [get] |
Override the ColorEdit.IsPopupOpen property.
|
|
override EditorClassInfo |
EditorClassInfo [get] |
Overrides the BaseEdit.EditorClassInfo to
provide the cutomized editor class information for
ExtendedColorEditor. |
MaxCustomControls::ExtendedColorEditor::ExtendedColorEditor | ( | ) | [inline] |
Default constructor.
MaxCustomControls::ExtendedColorEditor::ExtendedColorEditor | ( | string | formtitle, |
bool | alpha | ||
) | [inline] |
Constructor with specified title and alpha properties.
formtitle | Provides the formtitle that color picker form shows. |
alpha | Provides whether color has alpha channel, which determines the color picker form to be created. |
override PopupBaseForm MaxCustomControls::ExtendedColorEditor::CreatePopupForm | ( | ) | [inline, protected] |
Override for ColorEdit.CreatePopupForm()
override bool
MaxCustomControls::ExtendedColorEditor::IsPopupOpen
[get] |
Override the ColorEdit.IsPopupOpen property.
override EditorClassInfo
MaxCustomControls::ExtendedColorEditor::EditorClassInfo [get,
protected] |
Overrides the BaseEdit.EditorClassInfo to provide the cutomized editor class information for ExtendedColorEditor.
By overriding this property, MaxRepositoryItemColorEdit and MaxColorEditViewInfo instance will be created for ExtendedColorEditor otherwise the instance of their base class(i.e,RepositoryItemColorEdit and ColorEditViewInfo) will be created.