Mercurial > hg > midi-score-follower
annotate src/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 | 5a11b19906c7 |
children |
rev | line source |
---|---|
andrew@0 | 1 #include "ofMain.h" |
andrew@0 | 2 #include "testApp.h" |
andrew@0 | 3 #include "ofAppGlutWindow.h" |
andrew@0 | 4 |
andrew@0 | 5 //======================================================================== |
andrew@24 | 6 int main(int argc, char * const argv[]){ |
andrew@0 | 7 |
andrew@24 | 8 if (argc > 0){ |
andrew@24 | 9 cout << "arg is " << argv[1] << endl; |
andrew@24 | 10 } |
andrew@0 | 11 ofAppGlutWindow window; |
andrew@0 | 12 ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context |
andrew@0 | 13 |
andrew@0 | 14 // this kicks off the running of my app |
andrew@0 | 15 // can be OF_WINDOW or OF_FULLSCREEN |
andrew@0 | 16 // pass in width and height too: |
andrew@0 | 17 ofRunApp( new testApp()); |
andrew@0 | 18 |
andrew@0 | 19 } |
andrew@24 | 20 |