diff options
| author | Tim Redfern <tim@getdrop.com> | 2023-04-16 21:16:08 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2023-04-16 21:16:08 +0100 |
| commit | f140c2822b7b3798d86798f8b300f9a0d133259f (patch) | |
| tree | 448fb58b3ce0a944395e933d155c4a3c1b5469f1 /nextus/src/main.cpp | |
| parent | f0db80db36ba375aca859f318c92c4312505044a (diff) | |
add nextus show
Diffstat (limited to 'nextus/src/main.cpp')
| -rw-r--r-- | nextus/src/main.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
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<ofAppBaseWindow> mainWindow = ofCreateWindow(settings); + mainWindow->setVerticalSync(false); + + shared_ptr<ofApp> mainApp(new ofApp); + + ofRunApp(mainWindow, mainApp); + ofRunMainLoop(); +} +
\ No newline at end of file |
