made frame resizable, added fullScreen function (commented out)

This commit is contained in:
Victor Giers
2017-06-20 18:58:43 +02:00
parent 956a755121
commit 6d78c5fc61
2 changed files with 6 additions and 0 deletions

View File

@@ -82,4 +82,8 @@ void keyPressed() {
save_gse();
println("Saved");
}
if (key == ENTER){
//+ frame.setSize
// fullScreen();
}
}

View File

@@ -27,6 +27,8 @@ void setup() {
marker = new Marker[200];
frameRate(24);
size(960, 540);
//fullScreen;
frame.setResizable(true);
smooth();
drop = new SDrop(this);
backgroundImage = loadImage("assets/background.jpg");