//--------------FIXES LAYOUT-------------------- void drawLayoutFix() // wird im setup aufgerufen { smooth(); fill(162, 195, 37); PFont font; font = loadFont("CorporateSBQ-Light-100.vlw"); textFont(font,29); text("cobaea scandens", 40,58); font = loadFont("CorporateSBQ-Bold-48.vlw"); textFont(font,18); pushMatrix(); translate(84,184); rotate(PI/4.3); text("neu", 0,0); popMatrix(); pushMatrix(); translate(43,533); rotate(PI/4.3); text("sichern", 0,0); popMatrix(); pushMatrix(); translate(153,606); rotate(1.83*PI); text("quit", 0,0); popMatrix(); font = loadFont("CorporateSBQ-Regular-48.vlw"); textFont(font,18); pushMatrix(); translate(85,291); rotate(PI/4.3); text("typ", 0,0); popMatrix(); pushMatrix(); translate(57,355); rotate(PI/4.3); text("anzahl", 0,0); popMatrix(); pushMatrix(); translate(52,430); rotate(PI/4.3); text("vorlage", 0,0); popMatrix(); pushMatrix(); translate(161,257); rotate(1.83*PI); text("gršsse", 0,0); popMatrix(); pushMatrix(); translate(162,344); rotate(1.83*PI); text("blŠtter", 0,0); popMatrix(); pushMatrix(); translate(164,420); rotate(1.83*PI); text("winkel", 0,0); popMatrix(); pushMatrix(); translate(168,505); rotate(1.83*PI); text("verkŸrzung", 0,0); popMatrix(); stroke(162, 195, 37); strokeWeight(4); line(100,715,136,608); strokeWeight(3); line(121,654,102,579); strokeWeight(2); line(113,623,152,505); line(131,567,107,470); line(120,518,147,420); line(133,465,106,385); line(124,433,146,345); line(134,387,114,316); line(123,347,145,259); strokeWeight(1); line(139,282,122,208); line(132,254,179,63); line(186,35,194,0); } //----------variables Layout-------------- void drawLayoutChangeable() { // wird im void draw aufgerufen smooth(); fill(150,132,125); stroke(104,70,58); strokeWeight(1.1); ellipse(122,208,11,11); // button neu ellipse(114,313,11,11); // button typ ellipse(108,388,11,11); // button anzahl ellipse(107,470,11,11); // button vorlage ellipse(102,579,11,11); // button sichern ellipse(145,259,11,11); // button gršsse ellipse(146,345,11,11); // button blŠtter ellipse(147,420,11,11); // button winkel ellipse(152,505,11,11); // button verkŸrzung ellipse(136,608,11,11); // button quit noStroke(); fill(0); rect(28,60,110,65); if (mouseX > 85 && mouseX < 130) { if (mouseY > 175 && mouseY < 220) { fill(250); noStroke(); ellipse(122,208,11,11); // button neu } } if (mouseX > 85 && mouseX < 125) { if (mouseY > 285 && mouseY < 325) { fill(250); noStroke(); ellipse(114,313,11,11); // button typ } } if (mouseX > 55 && mouseX < 115) { if (mouseY > 350 && mouseY < 400) { fill(250); noStroke(); ellipse(108,388,11,11); // button anzahl } } if (mouseX > 55 && mouseX < 120) { if (mouseY > 425 && mouseY < 480) { fill(250); noStroke(); ellipse(107,470,11,11); // button vorlage } } if (mouseX > 140 && mouseX < 205) { if (mouseY > 220 && mouseY < 270) { fill(250); noStroke(); ellipse(145,259,11,11); // button gršsse } } if (mouseX > 138 && mouseX < 205) { if (mouseY > 310 && mouseY < 355) { fill(250); noStroke(); ellipse(146,345,11,11); // button blŠtter } } if (mouseX > 138 && mouseX < 205) { if (mouseY > 385 && mouseY < 430) { fill(250); noStroke(); ellipse(147,420,11,11); // button winkel } } if (mouseX > 144 && mouseX < 245) { if (mouseY > 455 && mouseY < 515) { fill(250); noStroke(); ellipse(152,505,11,11); // button verkŸrzung } } if (mouseX > 45 && mouseX < 110) { if (mouseY > 520 && mouseY < 590) { fill(250); noStroke(); ellipse(102,579,11,11); // button sichern } } if (mouseX > 130 && mouseX < 182) { if (mouseY > 575 && mouseY < 620) { fill(250); noStroke(); ellipse(136,608,11,11); // button quit } } if (mouseX > 40 && mouseX < 250) { if (mouseY > 35 && mouseY < 65) { smooth(); fill(200,170,150); noStroke(); PFont font; font = loadFont("CorporateSBQ-Regular-48.vlw"); textFont(font,11); text("DWF PROCESSING", 44,83); // button titel text("DINA, KAJ, RENATE", 44,99); text("SS 07", 44,115); } } }