diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-07-05 21:29:37 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-07-05 21:29:37 +0100 |
| commit | 35f7ca92da983723ccdb2aeadc9917ea1370a19b (patch) | |
| tree | a7be87335f709954ce3b7b1525f9a80931d8e05c /TimeHACK.Engine/Theme.cs | |
| parent | e78e3c864d9e61b460a5c42d92651d78ed22a78e (diff) | |
| parent | 525f7fce5a4c96fafba64271b8163a934b208992 (diff) | |
| download | histacom2-35f7ca92da983723ccdb2aeadc9917ea1370a19b.tar.gz histacom2-35f7ca92da983723ccdb2aeadc9917ea1370a19b.tar.bz2 histacom2-35f7ca92da983723ccdb2aeadc9917ea1370a19b.zip | |
Merge remote-tracking branch 'refs/remotes/TimeHACKDevs/master'
Diffstat (limited to 'TimeHACK.Engine/Theme.cs')
| -rw-r--r-- | TimeHACK.Engine/Theme.cs | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/TimeHACK.Engine/Theme.cs b/TimeHACK.Engine/Theme.cs new file mode 100644 index 0000000..cd82fac --- /dev/null +++ b/TimeHACK.Engine/Theme.cs @@ -0,0 +1,53 @@ +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; + + defaultWallpaper = Properties.Resources.Win95PlusDangerousCreaturesWallpaper; + themeName = "dangeranimals"; + } + } +} |
