Example #1
0
//--------------------------------------------------------------
void ofApp::onMessage( Spacebrew::Message & m ){
    if ( m.name == "backgroundOn" ){
        bBackgroundOn = m.valueBoolean();
    }
}
Example #2
0
//--------------------------------------------------------------
void testApp::onMessage( Spacebrew::Message & m ){
    if ( m.name == "datadisplay" ){
        bSendSerialMessage = m.valueBoolean();
    }
}