2 changed files with 9 additions and 7 deletions
@ -1,17 +1,19 @@ |
|||||
#include "ofxPiMapper.h" |
#include "ofxPiMapper.h" |
||||
|
|
||||
ofxPiMapper::ofxPiMapper(){ |
ofxPiMapper::ofxPiMapper(){} |
||||
_application = new ofx::piMapper::Application(); |
|
||||
} |
|
||||
|
|
||||
void ofxPiMapper::setup(){ |
void ofxPiMapper::setup(){ |
||||
_application->setup(); |
_application.setup(); |
||||
} |
} |
||||
|
|
||||
void ofxPiMapper::draw(){ |
void ofxPiMapper::draw(){ |
||||
_application->draw(); |
_application.draw(); |
||||
} |
} |
||||
|
|
||||
void ofxPiMapper::registerFboSource(ofx::piMapper::FboSource & fboSource){ |
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