projects
/
ofxAubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaac70a
)
example_aubioDemo/: use built-in colors
author
Paul Brossier
<piem@piem.org>
Fri, 30 Oct 2015 15:57:12 +0000
(16:57 +0100)
committer
Paul Brossier
<piem@piem.org>
Fri, 30 Oct 2015 15:57:12 +0000
(16:57 +0100)
example_aubioDemo/src/ofApp.cpp
patch
|
blob
|
history
diff --git
a/example_aubioDemo/src/ofApp.cpp
b/example_aubioDemo/src/ofApp.cpp
index
0fa096f
..
16b7ba4
100644
(file)
--- a/
example_aubioDemo/src/ofApp.cpp
+++ b/
example_aubioDemo/src/ofApp.cpp
@@
-83,13
+83,13
@@
void ofApp::update(){
void ofApp::draw(){
// update beat info
if (beat.received()) {
- ofSet
HexColor(0x00FF00
);
+ ofSet
Color(ofColor::green
);
ofRect(90,150,50,50);
}
// update onset info
if (onset.received()) {
- ofSet
HexColor(0xFF0000
);
+ ofSet
Color(ofColor::red
);
ofRect(250 + 90,150,50,50);
gotOnset = 1;
} else {