Receives notifications for application Custom User Interface (CUI) changes or updates.
Any component or client interested in being notified of any changes in the application CUI system should implement this interface. This mechanism works with MaxForm through reflection - the MaxForm acts as the observer to the change and recursively traverses all child components in its Control containers and calls UpdateColors() on any component that implements CuiUpdatable.
Public Member Functions |
|
void | UpdateColors () |
Called when a change or update has occurred
in the application CUI system. |
void MaxCustomControls::CuiUpdatable::UpdateColors | ( | ) |
Called when a change or update has occurred in the application CUI system.
Clients implementing this interface should dynamically query the CUI system to acquire the new UI colors it should be using at the time of this method invocation.
Implemented in MaxCustomControls::BaseMaterialControls::RichMaterialExplorerControl, MaxCustomControls::CommandSystem::CommandToolStripButton, MaxCustomControls::ExplorerControl, MaxCustomControls::MaxForm, MaxCustomControls::MaxListBox, MaxCustomControls::MaxToolStrip, MaxCustomControls::MaxTreeList, MaxCustomControls::RenameInstanceDialog, MaxCustomControls::SceneExplorerControls::RichSceneExplorerControl, and MaxCustomControls::SceneExplorerControls::SceneExplorerTreeList.