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

@ -71,6 +71,12 @@ class ofxPiMapper {
void moveSelection(ofx::piMapper::Vec3 by);
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();

Loading…
Cancel
Save