Permalink
Browse files

turn off selection of recording time

  • Loading branch information...
1 parent 1d64884 commit 6af494ca9600ae4d592da0d03cbe26a7f27efef6 @magicseth committed Mar 20, 2011
Showing with 11 additions and 10 deletions.
  1. +11 −10 DoneProject/src/testApp.mm
View
@@ -476,16 +476,17 @@
int startX = 100;
startX = 320 - (recordingDuration / (DURATION_OF_CIRCULAR_BUFFER *1.0) *320);
-
- const char * seconds = [[NSString stringWithFormat:@"%ds", recordingDuration] cStringUsingEncoding:NSUTF8StringEncoding];
- ofSetColor(0x666666);
- ofLine(startX, 80, startX, 20);
- ofDrawBitmapString(seconds, startX + 2, 75);
- ofEnableAlphaBlending();
- ofSetColor(0,100,100,90);
- ofRect(startX, 20, ofGetWidth()-startX, 60);
- ofDisableAlphaBlending();
-
+
+// // Draw selected time
+// const char * seconds = [[NSString stringWithFormat:@"%ds", recordingDuration] cStringUsingEncoding:NSUTF8StringEncoding];
+// ofSetColor(0x666666);
+// ofLine(startX, 80, startX, 20);
+// ofDrawBitmapString(seconds, startX + 2, 75);
+// ofEnableAlphaBlending();
+// ofSetColor(0,100,100,90);
+// ofRect(startX, 20, ofGetWidth()-startX, 60);
+// ofDisableAlphaBlending();
+//
// ofEnableAlphaBlending();
// ofSetColor(255,0,0,80); // red, 50% transparent

0 comments on commit 6af494c

Please sign in to comment.