|
|
@ -1,19 +1,25 @@ |
|
|
|
#include "ofMain.h" |
|
|
|
#include "ofApp.h" |
|
|
|
#include "ofTeleprompter.h" |
|
|
|
#include <GLFW/glfw3.h> |
|
|
|
|
|
|
|
//========================================================================
|
|
|
|
int main( ){ |
|
|
|
|
|
|
|
int count; |
|
|
|
GLFWmonitor** monitors = glfwGetMonitors(&count); |
|
|
|
//Use ofGLFWWindowSettings for more options like multi-monitor fullscreen
|
|
|
|
ofGLWindowSettings settings; |
|
|
|
settings.setGLVersion(3, 2); |
|
|
|
settings.setSize(1280, 720); |
|
|
|
//settings.setPosition(glm::vec2(1920, 0));
|
|
|
|
settings.windowMode = OF_WINDOW; //can also be OF_FULLSCREEN
|
|
|
|
|
|
|
|
auto mainWindow = ofCreateWindow(settings); |
|
|
|
|
|
|
|
settings.setSize(1024, 1024); |
|
|
|
settings.setSize(1920, 1080); |
|
|
|
settings.setPosition(glm::vec2(0, 0)); |
|
|
|
|
|
|
|
auto secondWindow = ofCreateWindow(settings); |
|
|
|
|
|
|
|
shared_ptr<ofApp> mainApp(new ofApp); |
|
|
|