-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-AddMouseMoveCommand( TMouseCommand command, void* data )
-{
- if( command != NULL )
- {
- this->m_MouseMoveCommands[ command ] = data;
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-AddMouseClickCommand( TMouseCommand command, void* data )
-{
- if( command != NULL )
- {
- this->m_MouseClickCommands[ command ] = data;
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-AddMouseDoubleClickCommand( TMouseCommand command, void* data )
-{
- if( command != NULL )
- {
- this->m_MouseDoubleClickCommands[ command ] = data;
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-AddMouseWheelCommand( TMouseWheelCommand command, void* data )
-{
- if( command != NULL )
- {
- this->m_MouseWheelCommands[ command ] = data;
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-AddKeyCommand( TKeyCommand command, void* data )
-{
- if( command != NULL )
- {
- this->m_KeyCommands[ command ] = data;
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-AddExposeCommand( TVoidCommand command, void* data )
-{
- if( command != NULL )
- {
- this->m_ExposeCommands[ command ] = data;
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-AddConfigureCommand( TVoidCommand command, void* data )
-{
- if( command != NULL )
- {
- this->m_ConfigureCommands[ command ] = data;
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-AddEnterCommand( TVoidCommand command, void* data )
-{
- if( command != NULL )
- {
- this->m_EnterCommands[ command ] = data;
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-AddLeaveCommand( TVoidCommand command, void* data )
-{
- if( command != NULL )
- {
- this->m_LeaveCommands[ command ] = data;
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-RemoveMouseMoveCommand( TMouseCommand command )
-{
- auto i = this->m_MouseMoveCommands.find( command );
- if( i != this->m_MouseMoveCommands.end( ) )
- {
- this->m_MouseMoveCommands.erase( i );
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-RemoveMouseClickCommand( TMouseCommand command )
-{
- auto i = this->m_MouseClickCommands.find( command );
- if( i != this->m_MouseClickCommands.end( ) )
- {
- this->m_MouseClickCommands.erase( i );
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-RemoveMouseDoubleClickCommand( TMouseCommand command )
-{
- auto i = this->m_MouseDoubleClickCommands.find( command );
- if( i != this->m_MouseDoubleClickCommands.end( ) )
- {
- this->m_MouseDoubleClickCommands.erase( i );
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-RemoveMouseWheelCommand( TMouseWheelCommand command )
-{
- auto i = this->m_MouseWheelCommands.find( command );
- if( i != this->m_MouseWheelCommands.end( ) )
- {
- this->m_MouseWheelCommands.erase( i );
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-RemoveKeyCommand( TKeyCommand command )
-{
- auto i = this->m_KeyCommands.find( command );
- if( i != this->m_KeyCommands.end( ) )
- {
- this->m_KeyCommands.erase( i );
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-RemoveExposeCommand( TVoidCommand command )
-{
- auto i = this->m_ExposeCommands.find( command );
- if( i != this->m_ExposeCommands.end( ) )
- {
- this->m_ExposeCommands.erase( i );
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-RemoveConfigureCommand( TVoidCommand command )
-{
- auto i = this->m_ConfigureCommands.find( command );
- if( i != this->m_ConfigureCommands.end( ) )
- {
- this->m_ConfigureCommands.erase( i );
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-RemoveEnterCommand( TVoidCommand command )
-{
- auto i = this->m_EnterCommands.find( command );
- if( i != this->m_EnterCommands.end( ) )
- {
- this->m_EnterCommands.erase( i );
- this->Modified( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpExtensions::Interaction::BaseInteractorStyle::
-RemoveLeaveCommand( TVoidCommand command )
-{
- auto i = this->m_LeaveCommands.find( command );
- if( i != this->m_LeaveCommands.end( ) )
- {
- this->m_LeaveCommands.erase( i );
- this->Modified( );
-
- } // fi
-}
-