From f140c2822b7b3798d86798f8b300f9a0d133259f Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sun, 16 Apr 2023 21:16:08 +0100 Subject: add nextus show --- nextus/src/main.cpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 nextus/src/main.cpp (limited to 'nextus/src/main.cpp') diff --git a/nextus/src/main.cpp b/nextus/src/main.cpp new file mode 100644 index 0000000..df57f72 --- /dev/null +++ b/nextus/src/main.cpp @@ -0,0 +1,25 @@ +#include "ofMain.h" +#include "ofApp.h" + + +//======================================================================== +int main(int argc, char *argv[]){ + + + ofGLFWWindowSettings settings; + + settings.decorated = true; + + settings.setSize(1200,900); + settings.setPosition(ofVec2f(0,0)); + settings.resizable = false; + + shared_ptr mainWindow = ofCreateWindow(settings); + mainWindow->setVerticalSync(false); + + shared_ptr mainApp(new ofApp); + + ofRunApp(mainWindow, mainApp); + ofRunMainLoop(); +} + \ No newline at end of file -- cgit v1.2.3