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