view 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
line wrap: on
line source
#include "ofMain.h"
#include "testApp.h"
#include "ofAppGlutWindow.h"
#include "ofxArgs.h"

//========================================================================
int main(int argc, char *argv[]){
	ofxArgs* args = new ofxArgs(argc, argv);
	
	if (argc > 0){
		cout << "MIDI FOLLOW (" << argc << ")  arg[1] is " << argv[1] << endl;
	}
	
    ofAppGlutWindow window;
	ofSetupOpenGL(&window, 1024,768, OF_WINDOW);			// <-------- setup the GL context

	// this kicks off the running of my app
	// can be OF_WINDOW or OF_FULLSCREEN
	// pass in width and height too:
	
	ofRunApp(new testApp(args));
	delete args;

}