//-------------------------------------------------------------- void testApp::draw(){ // draw the multix or rec loop renderers //recloop->draw(); multix->draw(); // draw the gui ofSetColor(0,0,0); ofFill(); ofRect(LIVE_SCREEN_W,0,ofGetWidth()-LIVE_SCREEN_W,ofGetHeight()); ofRect(0,LIVE_SCREEN_H,ofGetWidth(),ofGetHeight()-LIVE_SCREEN_H); if(drawStats){ // draw the representation of the headers and buffers audioHeader->draw(); audioBuffer->draw(); videoBuffer->draw(); ofDrawBitmapString(msg,20,620); // draw the multix headers state ofSetColor(255,255,255); ofNoFill(); ofRect(0,0,LIVE_SCREEN_W,LIVE_SCREEN_H); for(int i=0; i < multix->numHeaders; i++){ VideoHeader * header = multix->getHeader(i); if(header!=NULL) header->draw(); } } }
//-------------------------------------------------------------- void testApp::draw(){ ofSetColor(255,255,255); // draw the multix or rec loop renderers multix.draw(); if(drawStats){ // draw the representation of the headers and buffers videoBuffer.draw(); ofDrawBitmapString(msg,20,620); // draw the multix headers state for(int i=0; i < multix.getNumHeaders(); i++){ VideoHeader * header = multix.getHeader(i); if(header!=NULL) header->draw(); } } }