Histacom2/TimeHACK.Engine/Theme.cs

54 lines
1.4 KiB
C#
Raw Normal View History

2017-07-05 09:51:37 -04:00
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TimeHACK.Engine
{
public class Theme
{
public Stream startSound { get; set; }
public Stream stopSound { get; set; }
public Stream asteriskSound { get; set; }
public Stream critStopSound { get; set; }
public Stream progErrorSound { get; set; }
public Stream questionSound { get; set; }
2017-07-05 14:41:23 -04:00
public Image defaultWallpaper { get; set; }
public string themeName { get; set; }
2017-07-05 09:51:37 -04:00
}
public class Default95Theme: Theme
{
public Default95Theme()
{
startSound = Properties.Resources.Win95Start;
stopSound = Properties.Resources.Win95Stop;
asteriskSound = Properties.Resources.CHORD;
critStopSound = Properties.Resources.CHORD;
progErrorSound = Properties.Resources.CHORD;
questionSound = Properties.Resources.CHORD;
defaultWallpaper = null;
2017-07-05 14:41:23 -04:00
themeName = "default95";
}
}
public class DangerousCreaturesTheme: Theme
{
public DangerousCreaturesTheme()
{
startSound = Properties.Resources.Win95PlusDangerousCreaturesStart;
defaultWallpaper = Properties.Resources.Win95PlusDangerousCreaturesWallpaper;
themeName = "dangeranimals";
2017-07-05 09:51:37 -04:00
}
}
}