summaryrefslogtreecommitdiff
path: root/testDir/src/ofApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'testDir/src/ofApp.cpp')
-rw-r--r--testDir/src/ofApp.cpp88
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()
+{
+
+}