Mark van Renswoude
cae557e7e1
Added VoiceMeeter plugin (run macro and get status) Added Inno Setup script Added Fusion 360 files for housing designs
55 lines
1.5 KiB
C#
55 lines
1.5 KiB
C#
using MassiveKnob.Plugin.VoiceMeeter.Base;
|
|
|
|
namespace MassiveKnob.Plugin.VoiceMeeter.GetParameter
|
|
{
|
|
public class VoiceMeeterGetParameterActionSettingsViewModel : BaseVoiceMeeterSettingsViewModel<VoiceMeeterGetParameterActionSettings>
|
|
{
|
|
// ReSharper disable UnusedMember.Global - used by WPF Binding
|
|
public string Parameter
|
|
{
|
|
get => Settings.Parameter;
|
|
set
|
|
{
|
|
if (value == Settings.Parameter)
|
|
return;
|
|
|
|
Settings.Parameter = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
|
|
public string Value
|
|
{
|
|
get => Settings.Value;
|
|
set
|
|
{
|
|
if (value == Settings.Value)
|
|
return;
|
|
|
|
Settings.Value = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
|
|
public bool Inverted
|
|
{
|
|
get => Settings.Inverted;
|
|
set
|
|
{
|
|
if (value == Settings.Inverted)
|
|
return;
|
|
|
|
Settings.Inverted = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
// ReSharper restore UnusedMember.Global
|
|
|
|
|
|
// ReSharper disable once SuggestBaseTypeForParameter - by design
|
|
public VoiceMeeterGetParameterActionSettingsViewModel(VoiceMeeterGetParameterActionSettings settings) : base(settings)
|
|
{
|
|
}
|
|
}
|
|
}
|