From 84b99181e804430acedb94ba848a801ffc33e15a Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 17 Jan 2018 00:15:21 +0000 Subject: initial commit --- drawing/src/main.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 drawing/src/main.cpp (limited to 'drawing/src/main.cpp') diff --git a/drawing/src/main.cpp b/drawing/src/main.cpp new file mode 100644 index 0000000..0d7049c --- /dev/null +++ b/drawing/src/main.cpp @@ -0,0 +1,22 @@ +#include "ofMain.h" +#include "ofApp.h" + + +//======================================================================== +int main(int argc, char *argv[]){ + + + ofGLFWWindowSettings settings; + + + settings.width = 800; + settings.height = 800; + + shared_ptr mainWindow = ofCreateWindow(settings); + + shared_ptr mainApp(new ofApp); + + ofRunApp(mainWindow, mainApp); + ofRunMainLoop(); +} + \ No newline at end of file -- cgit v1.2.3