mirror of
https://github.com/chibicitiberiu/drumkit.git
synced 2024-02-24 10:53:32 +00:00
Build 130105
This commit is contained in:
29
DrumKit/Domain/AppSettings.cs
Normal file
29
DrumKit/Domain/AppSettings.cs
Normal file
@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace DrumKit
|
||||
{
|
||||
[XmlType("drumkitSettings")]
|
||||
public class AppSettings
|
||||
{
|
||||
[XmlElement("currentKit")]
|
||||
public string CurrentKit { get; set; }
|
||||
|
||||
[XmlElement("showKeys")]
|
||||
public bool ShowKeyBindings { get; set; }
|
||||
|
||||
[XmlElement("animations")]
|
||||
public bool Animations { get; set; }
|
||||
|
||||
public AppSettings()
|
||||
{
|
||||
this.CurrentKit = "Default";
|
||||
this.ShowKeyBindings = false;
|
||||
this.Animations = true;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user