MaxCustomControls::ExtendedColorEditor Class Reference


Detailed Description

Override the default ColorEdit to serve as ColorEditor, which can create Max color picker form instead of default.

List of all members.

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.

Constructor & Destructor Documentation

MaxCustomControls::ExtendedColorEditor::ExtendedColorEditor ( ) [inline]

Default constructor.

MaxCustomControls::ExtendedColorEditor::ExtendedColorEditor ( string  formtitle,
bool  alpha 
) [inline]

Constructor with specified title and alpha properties.

Parameters:
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.

Member Function Documentation

override PopupBaseForm MaxCustomControls::ExtendedColorEditor::CreatePopupForm ( ) [inline, protected]

Override for ColorEdit.CreatePopupForm()

Returns:
Returns Max color picker form.

Property Documentation

override bool MaxCustomControls::ExtendedColorEditor::IsPopupOpen [get]

Override the ColorEdit.IsPopupOpen property.

Returns:
Returns whether the color picker form is pop up.
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.


MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor
MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor MaxCustomControls::ExtendedColorEditor