97 lines
2.2 KiB
C#
97 lines
2.2 KiB
C#
using System.Windows.Forms;
|
|
using VocaluxeLib.Menu;
|
|
|
|
namespace VocaluxeLib.PartyModes
|
|
{
|
|
public class CScreenPartyDummy : CMenuParty
|
|
{
|
|
// Version number for theme files. Increment it, if you've changed something on the theme files!
|
|
protected override int _ScreenVersion { get { return 1; } }
|
|
private CText Warning;
|
|
|
|
public CScreenPartyDummy()
|
|
{
|
|
}
|
|
|
|
public override void LoadTheme(string XmlPath)
|
|
{
|
|
Warning = GetNewText();
|
|
Warning.Height = 100f;
|
|
Warning.X = 150;
|
|
Warning.Y = 300;
|
|
Warning.Font = "Normal";
|
|
Warning.Style = EStyle.Normal;
|
|
Warning.Color = new SColorF(1f, 0f, 0f, 1f);
|
|
Warning.SColor = new SColorF(1f, 0f, 0f, 1f);
|
|
Warning.Text = "SOMETHING WENT WRONG!";
|
|
AddText(Warning);
|
|
}
|
|
|
|
public override void ReloadTheme(string XmlPath)
|
|
{
|
|
}
|
|
|
|
public override void ReloadTextures()
|
|
{
|
|
}
|
|
|
|
public override void SaveTheme()
|
|
{
|
|
}
|
|
|
|
public override void UnloadTextures()
|
|
{
|
|
}
|
|
|
|
public override bool HandleInput(KeyEvent KeyEvent)
|
|
{
|
|
base.HandleInput(KeyEvent);
|
|
|
|
if (KeyEvent.KeyPressed)
|
|
{
|
|
|
|
}
|
|
else
|
|
{
|
|
switch (KeyEvent.Key)
|
|
{
|
|
case Keys.Back:
|
|
case Keys.Escape:
|
|
FadeTo(EScreens.ScreenParty);
|
|
break;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
public override bool HandleMouse(MouseEvent MouseEvent)
|
|
{
|
|
base.HandleMouse(MouseEvent);
|
|
|
|
if (MouseEvent.LB && IsMouseOver(MouseEvent))
|
|
{
|
|
|
|
}
|
|
|
|
if (MouseEvent.RB)
|
|
{
|
|
FadeTo(EScreens.ScreenParty);
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
public override bool UpdateGame()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public override bool Draw()
|
|
{
|
|
base.Draw();
|
|
return true;
|
|
}
|
|
|
|
}
|
|
}
|