idTech4.idGameConsole.Scroll C# (CSharp) Method

Scroll() private method

Deals with scrolling text because we don't have key repeat.
private Scroll ( ) : void
return void
		private void Scroll()
		{
			if((_lastKeyEvent == -1) || ((_lastKeyEvent + 200) > idE.EventLoop.Milliseconds))
			{
				return;
			}

			// console scrolling
			if(idE.Input.IsKeyDown(Keys.PageUp) == true)
			{
				idConsole.Warning("TODO: console scrolling");
			// TODO: console scrolling
			/*if ( idKeyInput::IsDown( K_PGUP ) ) {
				PageUp();
				nextKeyEvent = CONSOLE_REPEAT;
				return;*/
			}

			if(idE.Input.IsKeyDown(Keys.PageDown) == true)
			{
				idConsole.Warning("TODO: console scrolling");
				/*if ( idKeyInput::IsDown( K_PGDN ) ) {
					PageDown();
					nextKeyEvent = CONSOLE_REPEAT;
					return;
				}*/
			}
		}