class ButtonCursorStateView extends BaseButtonView
{
	private editable var m_HoverStateName : CName;
	default m_HoverStateName = 'Hover';
	private editable var m_PressStateName : CName;
	default m_PressStateName = 'Hover';
	private editable var m_DefaultStateName : CName;
	default m_DefaultStateName = 'Default';

	protected override function ButtonStateChanged( oldState : inkEButtonState, newState : inkEButtonState )
	{
		switch( newState )
		{
			case inkEButtonState.Press:
				SetCursorContext( m_PressStateName );
			break;
			case inkEButtonState.Hover:
				SetCursorContext( m_HoverStateName );
			break;
			default:
				SetCursorContext( m_DefaultStateName );
			break;
		}
	}

}

