deprecated crap

This commit is contained in:
Magnus von Wachenfeldt 2016-02-16 19:48:09 +01:00
parent 4a79fbadea
commit 4291dc0300
3 changed files with 0 additions and 25 deletions

View File

@ -26,7 +26,6 @@ using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Collections;
using System.Collections.Generic;
using Microsoft.Xna.Framework.GamerServices;
////////////////////////////////////////////////////////////////////////////
@ -469,8 +468,6 @@ namespace TomShane.Neoforce.Controls
////////////////////////////////////////////////////////////////////////////
private void SendMessage(EventArgs x)
{
if (Manager.UseGuide && Guide.IsVisible) return;
KeyEventArgs k = new KeyEventArgs();
GamePadEventArgs g = new GamePadEventArgs(PlayerIndex.One);

View File

@ -24,7 +24,6 @@
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Input;
////////////////////////////////////////////////////////////////////////////
@ -393,8 +392,6 @@ namespace TomShane.Neoforce.Controls
////////////////////////////////////////////////////////////////////////////
public virtual void Update(GameTime gameTime)
{
if (manager.UseGuide && Guide.IsVisible) return;
#if (!XBOX && !XBOX_FAKE)
MouseState ms = Mouse.GetState();
KeyboardState ks = Keyboard.GetState();

View File

@ -29,7 +29,6 @@ using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Xna.Framework.GamerServices;
////////////////////////////////////////////////////////////////////////////
@ -997,8 +996,6 @@ namespace TomShane.Neoforce.Controls
{
flashTime = 0;
if (Manager.UseGuide && Guide.IsVisible) return;
if (!e.Handled)
{
if (e.Key == Keys.A && e.Control && mode != TextBoxMode.Password)
@ -1237,8 +1234,6 @@ namespace TomShane.Neoforce.Controls
////////////////////////////////////////////////////////////////////////////
protected override void OnGamePadDown(GamePadEventArgs e)
{
if (Manager.UseGuide && Guide.IsVisible) return;
if (!e.Handled)
{
if (e.Button == GamePadActions.Click)
@ -1254,21 +1249,7 @@ namespace TomShane.Neoforce.Controls
////////////////////////////////////////////////////////////////////////////
private void HandleGuide(PlayerIndex pi)
{
if (Manager.UseGuide && !Guide.IsVisible)
{
Guide.BeginShowKeyboardInput(pi, "Enter Text", "", Text, GetText, pi.ToString());
}
}
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
private void GetText(IAsyncResult result)
{
string res = Guide.EndShowKeyboardInput(result);
Text = res != null ? res : "";
Pos = text.Length;
}
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
private void SetupBars()