repositories
/
SugarCubes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9e7c45
)
more bug fixes in dpat
author
bb3dan
<gitdan@citopia.com>
Wed, 25 Sep 2013 00:08:35 +0000
(20:08 -0400)
committer
bb3dan
<gitdan@citopia.com>
Wed, 25 Sep 2013 00:08:35 +0000
(20:08 -0400)
DanUtil.pde
patch
|
blob
|
blame
|
history
diff --git
a/DanUtil.pde
b/DanUtil.pde
index 6c2ddf110c08d5d14bb637ee0a82b372127c25fd..d3f9ac05186e314f3a302f229ac90d65f736a7fa 100644
(file)
--- a/
DanUtil.pde
+++ b/
DanUtil.pde
@@
-17,8
+17,8
@@
public class Pick {
public class _DhP extends BasicParameter {
double dflt;
_DhP (String label, double value) { super(label,value); dflt=value; }
- void Set (double value) { super.
updateValue(value);
}
- void reset () { super.
updateValue(dflt);
}
+ void Set (double value) { super.
setValue(value);
}
+ void reset () { super.
setValue(dflt);
}
float Val () { return getValuef(); }
boolean ZeroOrOne () { return Val()==0 || Val() == 1; }
}