2 changed files with 9 additions and 7 deletions
@ -1,17 +1,19 @@ |
|||
#include "ofxPiMapper.h" |
|||
|
|||
ofxPiMapper::ofxPiMapper(){ |
|||
_application = new ofx::piMapper::Application(); |
|||
} |
|||
ofxPiMapper::ofxPiMapper(){} |
|||
|
|||
void ofxPiMapper::setup(){ |
|||
_application->setup(); |
|||
_application.setup(); |
|||
} |
|||
|
|||
void ofxPiMapper::draw(){ |
|||
_application->draw(); |
|||
_application.draw(); |
|||
} |
|||
|
|||
void ofxPiMapper::registerFboSource(ofx::piMapper::FboSource & fboSource){ |
|||
_application->addFboSource(fboSource); |
|||
_application.addFboSource(fboSource); |
|||
} |
|||
|
|||
bool ofxPiMapper::loadXmlSettings(string fileName){ |
|||
return _application.loadXmlSettings(fileName); |
|||
} |
Loading…
Reference in new issue