summaryrefslogtreecommitdiff
path: root/testDir/src/ofApp.cpp
diff options
context:
space:
mode:
authortim <tim@eclectronics.org>2017-05-22 21:31:33 +0100
committertim <tim@eclectronics.org>2017-05-22 21:31:33 +0100
commit6ae491eea38055ebe3ba1154f0e916d7bbf95040 (patch)
tree793783c9f82f0a30fcf78507c3c88d6cec6c6639 /testDir/src/ofApp.cpp
parentc31d38915cb6643013223a4ed9b4021b3499d71d (diff)
directory reader in test case
Diffstat (limited to 'testDir/src/ofApp.cpp')
-rw-r--r--testDir/src/ofApp.cpp89
1 files changed, 89 insertions, 0 deletions
diff --git a/testDir/src/ofApp.cpp b/testDir/src/ofApp.cpp
new file mode 100644
index 0000000..d6fdd4b
--- /dev/null
+++ b/testDir/src/ofApp.cpp
@@ -0,0 +1,89 @@
+#include "ofApp.h"
+
+
+//--------------------------------------------------------------
+void ofApp::setup(){
+
+ scanner=dirScanner(ofFilePath().getUserHomeDir()+"/Dropbox/menugrab");
+
+ scanner.scan();
+
+ player=dirPlayer(&scanner);
+
+ ofSetFrameRate(1);
+}
+
+//--------------------------------------------------------------
+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()
+{
+
+}