Histacom2/Histacom2.Engine/Theme.cs

140 lines
4.8 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;
2017-08-23 13:38:40 -04:00
namespace Histacom2.Engine
2017-07-05 09:51:37 -04:00
{
public class Theme
{
public Stream startSound { get; set; }
public Stream stopSound { get; set; }
public Stream asteriskSound { get; set; }
public Stream critStopSound { get; set; }
2017-07-30 00:10:22 -04:00
public Stream exclamationSound { get; set; }
2017-07-05 09:51:37 -04:00
public Stream progErrorSound { get; set; }
public Stream questionSound { get; set; }
2017-09-04 20:14:19 -04:00
public Color threeDObjectsColor { get; set; }
public Color threeDObjectsTextColor { get; set; }
2017-09-05 20:05:28 -04:00
public Font buttonFont { get; set; }
2017-07-31 15:40:59 -04:00
public Color activeTitleBarColor { get; set; }
public Color activeTitleTextColor { get; set; }
public Color inactiveTitleBarColor { get; set; }
public Color inactiveTitleTextColor { 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;
2017-07-30 00:10:22 -04:00
exclamationSound = Properties.Resources.CHORD;
2017-07-05 09:51:37 -04:00
progErrorSound = Properties.Resources.CHORD;
questionSound = Properties.Resources.CHORD;
2017-09-04 20:14:19 -04:00
threeDObjectsColor = Color.Silver;
threeDObjectsTextColor = Color.Black;
2017-09-05 20:05:28 -04:00
buttonFont = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular);
2017-07-31 15:40:59 -04:00
activeTitleBarColor = Color.Navy;
activeTitleTextColor = Color.White;
inactiveTitleBarColor = Color.Gray;
inactiveTitleTextColor = Color.Silver;
2017-07-05 09:51:37 -04:00
defaultWallpaper = null;
2017-07-05 14:41:23 -04:00
themeName = "default95";
}
}
public class Default98Theme : Theme
{
public Default98Theme()
{
2017-07-30 00:10:22 -04:00
startSound = Properties.Resources.Win98Start;
stopSound = Properties.Resources.Win98Stop;
asteriskSound = Properties.Resources.CHORD;
critStopSound = Properties.Resources.CHORD;
2017-07-30 00:10:22 -04:00
exclamationSound = Properties.Resources.CHORD;
progErrorSound = Properties.Resources.CHORD;
questionSound = Properties.Resources.CHORD;
2017-09-04 20:14:19 -04:00
threeDObjectsColor = Color.Silver;
threeDObjectsTextColor = Color.Black;
2017-09-05 20:05:28 -04:00
buttonFont = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular);
2017-09-04 20:14:19 -04:00
activeTitleBarColor = Color.Navy;
activeTitleTextColor = Color.White;
inactiveTitleBarColor = Color.Gray;
inactiveTitleTextColor = Color.Silver;
defaultWallpaper = null;
themeName = "default98";
}
}
2017-07-05 14:41:23 -04:00
public class DangerousCreaturesTheme: Theme
{
public DangerousCreaturesTheme()
{
startSound = Properties.Resources.Win95PlusDangerousCreaturesStart;
2017-07-05 17:25:36 -04:00
stopSound = Properties.Resources.Win95PlusDangerousCreaturesStart;
2017-07-05 14:41:23 -04:00
2017-07-30 00:10:22 -04:00
asteriskSound = Properties.Resources.Win95PlusDangerousCreaturesAsterisk;
critStopSound = Properties.Resources.Win95PlusDangerousCreaturesCritStop;
exclamationSound = Properties.Resources.Win95PlusDangerousCreaturesExclamation;
progErrorSound = Properties.Resources.Win95PlusDangerousCreaturesProgError;
questionSound = Properties.Resources.Win95PlusDangerousCreaturesQuestion;
2017-09-05 20:05:28 -04:00
threeDObjectsColor = Color.FromArgb(112, 112, 112);
threeDObjectsTextColor = Color.Black;
buttonFont = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Bold);
2017-07-31 15:40:59 -04:00
activeTitleBarColor = Color.Teal;
activeTitleTextColor = Color.White;
inactiveTitleBarColor = Color.FromArgb(72, 72, 72);
inactiveTitleTextColor = Color.Gray;
2017-07-05 14:41:23 -04:00
defaultWallpaper = Properties.Resources.Win95PlusDangerousCreaturesWallpaper;
themeName = "dangeranimals";
2017-07-05 09:51:37 -04:00
}
}
2017-07-05 18:41:55 -04:00
public class InsideComputerTheme: Theme
{
public InsideComputerTheme()
{
startSound = Properties.Resources.Win95PlusInsideComputerStart;
stopSound = Properties.Resources.Win95PlusInsideComputerStop;
2017-07-31 15:40:59 -04:00
asteriskSound = Properties.Resources.Win95PlusInsideComputerAsterisk;
activeTitleBarColor = Color.FromArgb(224, 0, 0);
activeTitleTextColor = Color.White;
inactiveTitleBarColor = Color.FromArgb(96, 168, 128);
inactiveTitleTextColor = Color.FromArgb(216, 224, 216);
2017-07-05 18:41:55 -04:00
defaultWallpaper = Properties.Resources.Win95PlusInsideComputerWallpaper;
themeName = "insidepc";
}
}
2017-07-05 09:51:37 -04:00
}