No longer use generic types for Setting

This commit is contained in:
Michael Becker 2019-07-29 21:28:08 -04:00
parent af920815f8
commit ff532fa61d
3 changed files with 15 additions and 15 deletions

View File

@ -36,11 +36,11 @@ namespace UniversalEditor.Editors.FileSystem
{
new BooleanSetting ("_Single-click to open items"),
new BooleanSetting ("Show action to create symbolic _links"),
new ChoiceSetting<int> ("Default option for _executable text files", null, new ChoiceSetting<int>.ChoiceSettingValue[]
new ChoiceSetting ("Default option for _executable text files", null, new ChoiceSetting.ChoiceSettingValue[]
{
new ChoiceSetting<int>.ChoiceSettingValue ("Display them in text editor", 1),
new ChoiceSetting<int>.ChoiceSettingValue ("Run them as executable", 2),
new ChoiceSetting<int>.ChoiceSettingValue ("Ask me what to do", 3)
new ChoiceSetting.ChoiceSettingValue ("Display them in text editor", 1),
new ChoiceSetting.ChoiceSettingValue ("Run them as executable", 2),
new ChoiceSetting.ChoiceSettingValue ("Ask me what to do", 3)
}),
new BooleanSetting ("Ask before _emptying the Trash/Recycle Bin"),
new BooleanSetting ("Show action to _permanently delete files and folders")

View File

@ -39,12 +39,12 @@ namespace UniversalEditor.Plugins.Multimedia.UserInterface.SettingsProviders
{
new GroupSetting("MIDI Devices", new Setting[]
{
new ChoiceSetting<int>("_Input device"),
new ChoiceSetting<int>("_Output device")
new ChoiceSetting("_Input device"),
new ChoiceSetting("_Output device")
}),
new BooleanSetting("Play notes through MIDI output upon _selection"),
new BooleanSetting("Send _Program Change for the following program before continuing"),
new ChoiceSetting<int>(String.Empty)
new ChoiceSetting(String.Empty)
});
SettingsGroups.Add ("Editors:Synthesized Audio:Phoneme Dictionary", new Setting[]
{
@ -56,14 +56,14 @@ namespace UniversalEditor.Plugins.Multimedia.UserInterface.SettingsProviders
{
// new CommandOption("_Load settings from VOCALOID2"),
// 2q22wnew CommandOption("_Save settings from VOCALOID2"),
new ChoiceSetting<string>("_Template", null, new ChoiceSetting<string>.ChoiceSettingValue[]
new ChoiceSetting("_Template", null, new ChoiceSetting.ChoiceSettingValue[]
{
new ChoiceSetting<string>.ChoiceSettingValue("(Custom)", "custom"),
new ChoiceSetting<string>.ChoiceSettingValue("Normal", "normal"),
new ChoiceSetting<string>.ChoiceSettingValue("Accent", "accent"),
new ChoiceSetting<string>.ChoiceSettingValue("Strong Accent", "strongaccent"),
new ChoiceSetting<string>.ChoiceSettingValue("Legato", "legato"),
new ChoiceSetting<string>.ChoiceSettingValue("Slow Legato", "slowlegato"),
new ChoiceSetting.ChoiceSettingValue("(Custom)", "custom"),
new ChoiceSetting.ChoiceSettingValue("Normal", "normal"),
new ChoiceSetting.ChoiceSettingValue("Accent", "accent"),
new ChoiceSetting.ChoiceSettingValue("Strong Accent", "strongaccent"),
new ChoiceSetting.ChoiceSettingValue("Legato", "legato"),
new ChoiceSetting.ChoiceSettingValue("Slow Legato", "slowlegato"),
}),
new GroupSetting("Pitch control", new Setting[]
{

View File

@ -41,7 +41,7 @@ namespace UniversalEditor.SettingsProviders
SettingsGroups.Add(new SettingsGroup("Editors:Syntax:Languages", new Setting[]
{
new BooleanSetting("_Map extensionless files to"),
new ChoiceSetting<string>("Default language"),
new ChoiceSetting("Default language"),
}));
// for each language...