Browse Source

Add omp::getSelectedVertex()

master
Krisjanis Rijnieks 7 years ago
parent
commit
05d8966917
  1. 4
      src/ofxPiMapper.cpp
  2. 1
      src/ofxPiMapper.h

4
src/ofxPiMapper.cpp

@ -218,6 +218,10 @@ int ofxPiMapper::getSelectedSurface(){
return _application.getSurfaceManager()->getSelectedSurfaceIndex();
}
int ofxPiMapper::getSelectedVertex(){
return _application.getSurfaceManager()->getSelectedVertexIndex();
}
void ofxPiMapper::setInfoText(std::string text){
_application.setInfoText(text);
}

1
src/ofxPiMapper.h

@ -56,6 +56,7 @@ class ofxPiMapper {
// Surfaces, active preset
unsigned int getNumSurfaces();
int getSelectedSurface();
int getSelectedVertex();
void selectSurface(int i);
void togglePerspective();
void selectNextSurface();

Loading…
Cancel
Save