blob: 89c913da18a5cf8f77d06a10eaadbbf7486fb937 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
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; }
public Image defaultWallpaper { get; set; }
public string themeName { get; set; }
}
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;
themeName = "default95";
}
}
public class DangerousCreaturesTheme: Theme
{
public DangerousCreaturesTheme()
{
startSound = Properties.Resources.Win95PlusDangerousCreaturesStart;
stopSound = Properties.Resources.Win95PlusDangerousCreaturesStart;
defaultWallpaper = Properties.Resources.Win95PlusDangerousCreaturesWallpaper;
themeName = "dangeranimals";
}
}
public class InsideComputerTheme: Theme
{
public InsideComputerTheme()
{
startSound = Properties.Resources.Win95PlusInsideComputerStart;
stopSound = Properties.Resources.Win95PlusInsideComputerStop;
defaultWallpaper = Properties.Resources.Win95PlusInsideComputerWallpaper;
themeName = "insidepc";
}
}
}
|