Browse Source

Add ofxPiMapper::moveSelection method

master
Krisjanis Rijnieks 9 years ago
parent
commit
68e3ab8cb6
  1. 4
      src/ofxPiMapper.cpp
  2. 1
      src/ofxPiMapper.h

4
src/ofxPiMapper.cpp

@ -60,6 +60,10 @@ void ofxPiMapper::togglePauseForSurface(unsigned int i){
} }
} }
void ofxPiMapper::moveSelection(ofVec2f by){
_application.getState()->moveSelection(&_application, by);
}
bool ofxPiMapper::loadXmlSettings(string fileName){ bool ofxPiMapper::loadXmlSettings(string fileName){
return _application.loadXmlSettings(fileName); return _application.loadXmlSettings(fileName);
} }

1
src/ofxPiMapper.h

@ -60,6 +60,7 @@ class ofxPiMapper {
void selectNextSurface(); void selectNextSurface();
void selectPrevSurface(); void selectPrevSurface();
void togglePauseForSurface(unsigned int i); void togglePauseForSurface(unsigned int i);
void moveSelection(ofVec2f by);
bool loadXmlSettings(string fileName); bool loadXmlSettings(string fileName);

Loading…
Cancel
Save