#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 mainApp(new ofApp); shared_ptr teleprompterApp(new ofTeleprompter); mainApp->teleprompter = teleprompterApp; ofRunApp(mainWindow, mainApp); ofRunApp(secondWindow, teleprompterApp); ofRunMainLoop(); }