diff options
| author | tim <tim@eclectronics.org> | 2017-06-13 21:57:54 +0100 |
|---|---|---|
| committer | tim <tim@eclectronics.org> | 2017-06-13 21:57:54 +0100 |
| commit | e7d2892633ba9761a8ab8cc98f812e2db89e8beb (patch) | |
| tree | f1657ba4a6e449da416051e9851c59b7e4b96cae /testDir/src/ofApp.cpp | |
| parent | 2c3cdaa27878b6dfa23fae35239037f20f3ae6b1 (diff) | |
| parent | a0e8fefd1bf241b805c4542421bdbc6a4447fdc3 (diff) | |
Merge branch 'dirscanner'
Diffstat (limited to 'testDir/src/ofApp.cpp')
| -rw-r--r-- | testDir/src/ofApp.cpp | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/testDir/src/ofApp.cpp b/testDir/src/ofApp.cpp new file mode 100644 index 0000000..9ac9e12 --- /dev/null +++ b/testDir/src/ofApp.cpp @@ -0,0 +1,88 @@ +#include "ofApp.h" + + +//-------------------------------------------------------------- +void ofApp::setup(){ + + scanner=dirScanner(ofFilePath().getUserHomeDir()+"/Dropbox/menugrab"); + + scanner.scan(); + + player=dirPlayer(&scanner); + + ofSetFrameRate(5); +} + +//-------------------------------------------------------------- +void ofApp::update(){ + //ofBackground(255); +} + + +//-------------------------------------------------------------- +void ofApp::draw(){ + ofSetColor(255,255,255); + + player.draw(); + +} + +//-------------------------------------------------------------- +void ofApp::keyPressed(int key){ + +} + +//-------------------------------------------------------------- +void ofApp::keyReleased(int key){ + +} + +//-------------------------------------------------------------- +void ofApp::mouseMoved(int x, int y){ + +} + +//-------------------------------------------------------------- +void ofApp::mouseDragged(int x, int y, int button){ + +} + +//-------------------------------------------------------------- +void ofApp::mousePressed(int x, int y, int button){ + +} + +//-------------------------------------------------------------- +void ofApp::mouseReleased(int x, int y, int button){ + +} + +//-------------------------------------------------------------- +void ofApp::mouseEntered(int x, int y){ + +} + +//-------------------------------------------------------------- +void ofApp::mouseExited(int x, int y){ + +} + +//-------------------------------------------------------------- +void ofApp::windowResized(int w, int h){ + +} + +//-------------------------------------------------------------- +void ofApp::gotMessage(ofMessage msg){ + +} + +//-------------------------------------------------------------- +void ofApp::dragEvent(ofDragInfo dragInfo){ + +} +//-------------------------------------------------------------- +void ofApp::exit() +{ + +} |
