annotate jnmr/main.cpp @ 52:13194a9dca77 tip

Added exporting of image and text data
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 17 Jul 2012 22:13:10 +0100
parents fa527df85c2c
children
rev   line source
andrew@33 1 #include "ofMain.h"
andrew@33 2 #include "testApp.h"
andrew@33 3 #include "ofAppGlutWindow.h"
andrew@33 4 #include "ofxArgs.h"
andrew@33 5
andrew@33 6 //========================================================================
andrew@33 7 int main(int argc, char *argv[]){
andrew@33 8 ofxArgs* args = new ofxArgs(argc, argv);
andrew@33 9
andrew@33 10 if (argc > 0){
andrew@33 11 cout << "MIDI FOLLOW (" << argc << ") arg[1] is " << argv[1] << endl;
andrew@33 12 }
andrew@33 13
andrew@33 14 ofAppGlutWindow window;
andrew@33 15 ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context
andrew@33 16
andrew@33 17 // this kicks off the running of my app
andrew@33 18 // can be OF_WINDOW or OF_FULLSCREEN
andrew@33 19 // pass in width and height too:
andrew@33 20
andrew@33 21 ofRunApp(new testApp(args));
andrew@33 22 delete args;
andrew@33 23
andrew@33 24 }
andrew@33 25