repositories
/
SugarCubes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Model is now in processing, not glucose
[SugarCubes.git]
/
_UIImplementation.pde
diff --git
a/_UIImplementation.pde
b/_UIImplementation.pde
index 32c654e2b0f269939c1c1b5d4682de4856f5b02a..ac8d6aa6276043be7d49224d0c8a7cfd965ac85c 100644
(file)
--- a/
_UIImplementation.pde
+++ b/
_UIImplementation.pde
@@
-273,7
+273,7
@@
class UIMapping extends UIWindow {
protected void onValueChange(int value) {
mappingTool.setChannel(value-1);
}
protected void onValueChange(int value) {
mappingTool.setChannel(value-1);
}
- }).setRange(
0
, mappingTool.numChannels()).addToContainer(this);
+ }).setRange(
1
, mappingTool.numChannels()).addToContainer(this);
yp += 24;
new UILabel(4, yp+8, w-10, 20).setLabel("CUBE ID").addToContainer(this);
yp += 24;
new UILabel(4, yp+8, w-10, 20).setLabel("CUBE ID").addToContainer(this);
@@
-282,7
+282,7
@@
class UIMapping extends UIWindow {
protected void onValueChange(int value) {
mappingTool.setCube(value-1);
}
protected void onValueChange(int value) {
mappingTool.setCube(value-1);
}
- }).setRange(1,
glucose.
model.cubes.size()).addToContainer(this);
+ }).setRange(1, model.cubes.size()).addToContainer(this);
yp += 24;
yp += 10;
yp += 24;
yp += 10;