Scripts/Customs/Nerun's Distro/New/Commands/Toolbar.cs
/// <summary>
/// Calculates what navigation button takes you to what page.
/// </summary>
Calculates what navigation button takes you to what page.
Calculates what navigation button takes you to what page .
public void CalculatePages( int i )
		{
			int up = 0, down = 0, left = 0, right = 0;
			switch( i )
			{
				case 1: down = 4; right = 2; break;
				case 2: down = 5; left = 1; right = 3; break;
				case 3: down = 6; left = 2; break;
				case 4: up = 1; down = 7; right = 5; break;
				case 5: up = 2; down = 8; left = 4; right = 6; break;
				case 6: up = 3; down = 9; left = 5; break;
				case 7: up = 4; right = 8; break;
				case 8: up = 5; left = 7; right = 9; break;
				case 9: up = 6; left = 8; break;
			}
			AddNavigation( up, down, left, right );
		}
public void CalculatePages ( int i ) { int up = 0 , down = 0 , left = 0 , right = 0 ; switch ( i ) { case 1 : down = 4 ; right = 2 ; break ; case 2 : down = 5 ; left = 1 ; right = 3 ; break ; case 3 : down = 6 ; left = 2 ; break ; case 4 : up = 1 ; down = 7 ; right = 5 ; break ; case 5 : up = 2 ; down = 8 ; left = 4 ; right = 6 ; break ; case 6 : up = 3 ; down = 9 ; left = 5 ; break ; case 7 : up = 4 ; right = 8 ; break ; case 8 : up = 5 ; left = 7 ; right = 9 ; break ; case 9 : up = 6 ; left = 8 ; break ; } AddNavigation ( up , down , left , right ) ; }
Calculates what navigation button takes you to what page.
Calculates what navigation button takes you to what page .
i
int