FER Macbeth Project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
755 B

#include "ofMain.h"
#include "ofApp.h"
#include "ofTeleprompter.h"
//========================================================================
int main( ){
//Use ofGLFWWindowSettings for more options like multi-monitor fullscreen
ofGLWindowSettings settings;
settings.setGLVersion(3, 2);
settings.setSize(1920, 1080);
settings.windowMode = OF_WINDOW; //can also be OF_FULLSCREEN
auto mainWindow = ofCreateWindow(settings);
settings.setSize(1024, 1024);
auto secondWindow = ofCreateWindow(settings);
shared_ptr<ofApp> mainApp(new ofApp);
shared_ptr<ofTeleprompter> teleprompterApp(new ofTeleprompter);
mainApp->teleprompter = teleprompterApp;
ofRunApp(mainWindow, mainApp);
ofRunApp(secondWindow, teleprompterApp);
ofRunMainLoop();
}