Browse Source

Add wrappers for Application::addGrid col and row methods

master
Krisjanis Rijnieks 8 years ago
parent
commit
3b63753ad1
  1. 16
      src/ofxPiMapper.cpp
  2. 6
      src/ofxPiMapper.h

16
src/ofxPiMapper.cpp

@ -162,6 +162,22 @@ void ofxPiMapper::eraseSurface(int i){
}
}
void ofxPiMapper::addGridColumn(){
_application.addGridColumn();
}
void ofxPiMapper::removeGridColumn(){
_application.removeGridColumn();
}
void ofxPiMapper::addGridRow(){
_application.addGridRow();
}
void ofxPiMapper::removeGridRow(){
_application.removeGridRow();
}
void ofxPiMapper::setNextSource(){
_application.setNextSource();
}

6
src/ofxPiMapper.h

@ -72,6 +72,12 @@ class ofxPiMapper {
void createSurface(ofx::piMapper::SurfaceType type);
void eraseSurface(int i);
// Specifically for GridWarpSurface
void addGridColumn();
void removeGridColumn();
void addGridRow();
void removeGridRow();
// Sources, selected surface
void setNextSource();
void setFboSource(std::string sourceId);

Loading…
Cancel
Save