Dolda2000 GitWeb
/
kaka
/
cakelight.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
New smooth video mode that mixes the new frame with the previous one
[kaka/cakelight.git]
/
src
/
kaka
/
cakelight
/
SingleColorMode.java
1
package kaka.cakelight;
2
3
public class SingleColorMode extends Mode {
4
private Color color;
5
6
public SingleColorMode(Color c) {
7
color = c;
8
}
9
10
@Override
11
public void enter(Configuration config) {
12
LedFrame frame = LedFrame.from(config);
13
frame.fillColor(color);
14
updateWithFrame(frame);
15
}
16
17
@Override
18
public void exit() {
19
}
20
}