repositories
/
SugarCubes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Map a few bits, clean up overlay to support 16 mapping channels
[SugarCubes.git]
/
_Overlay.pde
diff --git
a/_Overlay.pde
b/_Overlay.pde
index f2f88d128d77b042fb87b9b69b4d554812b4a15e..e21be8e6f8cdc1947e4290c3753ecccc220fb8a0 100644
(file)
--- a/
_Overlay.pde
+++ b/
_Overlay.pde
@@
-749,10
+749,10
@@
class MappingUI extends OverlayUI {
class DebugUI {
final ChannelMapping[] channelList;
class DebugUI {
final ChannelMapping[] channelList;
- final int debugX =
10
;
- final int debugY =
42
;
+ final int debugX =
5
;
+ final int debugY =
5
;
final int debugXSpacing = 28;
final int debugXSpacing = 28;
- final int debugYSpacing = 2
2
;
+ final int debugYSpacing = 2
1
;
final int[][] debugState;
final int DEBUG_STATE_ANIM = 0;
final int[][] debugState;
final int DEBUG_STATE_ANIM = 0;
@@
-782,8
+782,8
@@
class DebugUI {
int xBase = debugX;
int yPos = debugY;
int xBase = debugX;
int yPos = debugY;
- fill(
color(0, 0, 0, 80)
);
- rect(
4, 32, 172, 388
);
+ fill(
#000000
);
+ rect(
0, 0, debugX + 5*debugXSpacing, height
);
int channelNum = 0;
for (ChannelMapping channel : channelList) {
int channelNum = 0;
for (ChannelMapping channel : channelList) {