added fxCopyZoom

This commit is contained in:
2022-07-16 15:45:42 +02:00
parent fc56d0209b
commit 297f761a76
3 changed files with 43 additions and 6 deletions

View File

@@ -45,10 +45,10 @@ public class SecondApplet extends PApplet {
.setSize(15, 15)
.plugTo(this, "CP5_pauseAllAction");
pauseAll.getCaptionLabel().getStyle().setMargin(-17, 0, 0, 20);
Bang nativeReso = cp5.addBang("native reso")
.setPosition(220,height-35)
.setSize(15,15)
.setPosition(220, height-35)
.setSize(15, 15)
.plugTo(this, "CP5_nativeResoAction");
//nativeReso.getCaptionLabel().getStyle().setMargin(-17,0,0,20);
@@ -102,10 +102,10 @@ public class SecondApplet extends PApplet {
totalBrickHeight+= bricks.get(i).h;
}
popMatrix();
if(heightOverLimit){
if (heightOverLimit) {
strokeWeight(3);
fill(255);
line(width-5,-scrollAmount+4,width-5,height-120+(maxSurfaceHeight-120-totalBrickHeight)-scrollAmount-4);
line(width-5, -scrollAmount+4, width-5, height-120+(maxSurfaceHeight-120-totalBrickHeight)-scrollAmount-4);
//-scrollAmount + (-1*(maxSurfaceHeight-120-totalBrickHeight)));
}
fill(68, 68, 68);
@@ -551,6 +551,9 @@ public class SecondApplet extends PApplet {
case(15):
shaderManager.addShader(new GRAUZONE());
break;
case(16):
shaderManager.addShader(new COPYZOOM());
break;
/*
case(4):
shaderManager.addShader(new AUECHO());