diff options
| author | Tim Redfern <tim@getdrop.com> | 2018-01-17 00:15:21 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2018-01-17 00:15:21 +0000 |
| commit | 84b99181e804430acedb94ba848a801ffc33e15a (patch) | |
| tree | 71492826404c3aa8a5841d3bb2614b9912e9e85f /drawing/src/main.cpp | |
initial commit
Diffstat (limited to 'drawing/src/main.cpp')
| -rw-r--r-- | drawing/src/main.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
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<ofAppBaseWindow> mainWindow = ofCreateWindow(settings); + + shared_ptr<ofApp> mainApp(new ofApp); + + ofRunApp(mainWindow, mainApp); + ofRunMainLoop(); +} +
\ No newline at end of file |
