From 50d670c523ef4ee563ba961bd479b432516cefaf Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 28 Aug 2017 23:22:30 +0100 Subject: initial chainimageset --- gui/src/main.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 gui/src/main.cpp (limited to 'gui/src/main.cpp') diff --git a/gui/src/main.cpp b/gui/src/main.cpp new file mode 100644 index 0000000..0346c1e --- /dev/null +++ b/gui/src/main.cpp @@ -0,0 +1,19 @@ +#include "ofMain.h" +#include "ofApp.h" + +//======================================================================== +int main(int argc, char *argv[]){ + ofSetupOpenGL(1600,250,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: + ofApp *app = new ofApp(); + + app->arguments = vector(argv, argv + argc); + + ofRunApp(app); // start the app + + +} + \ No newline at end of file -- cgit v1.2.3