Implement custom ruleset config. (2)
This commit is contained in:
@@ -12,6 +12,7 @@ namespace Cryville.Crtr.Config {
|
||||
object[] Range { get; }
|
||||
object GetValue();
|
||||
void SetValue(object value);
|
||||
event Action ValueChanged;
|
||||
object MapValue(object value);
|
||||
bool SetMapped { get; }
|
||||
object MapValueInverse(object value);
|
||||
@@ -35,6 +36,8 @@ namespace Cryville.Crtr.Config {
|
||||
public object GetValue() { return _prop.GetValue(_target, null); }
|
||||
public void SetValue(object value) { _prop.SetValue(_target, value, null); }
|
||||
|
||||
public event Action ValueChanged { add { } remove { } }
|
||||
|
||||
readonly double _precision;
|
||||
readonly double _step;
|
||||
readonly bool _logarithmic;
|
||||
|
Reference in New Issue
Block a user