repositories
/
SugarCubes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use a scrolllist for output
[SugarCubes.git]
/
_UIFramework.pde
diff --git
a/_UIFramework.pde
b/_UIFramework.pde
index 7ed25850346f1a9ce7b67c33e8b9eec17cb5c194..c2ac5055ff09052711ddbf155c8192b8375e6f32 100644
(file)
--- a/
_UIFramework.pde
+++ b/
_UIFramework.pde
@@
-655,8
+655,11
@@
public class UIScrollList extends UIObject {
itemColor = pendingColor;
} else {
labelColor = #000000;
itemColor = pendingColor;
} else {
labelColor = #000000;
- itemColor =
even ? #666666 : #777777
;
+ itemColor =
#707070
;
}
}
+ float factor = even ? .92 : 1.08;
+ itemColor = color(hue(itemColor), saturation(itemColor), min(100, factor*brightness(itemColor)));
+
pg.noStroke();
pg.fill(itemColor);
pg.rect(0, yp, w, itemHeight);
pg.noStroke();
pg.fill(itemColor);
pg.rect(0, yp, w, itemHeight);