controlp5/src/main/java/sketch/Sketch.java

37 lines
623 B
Java
Raw Normal View History

2023-07-09 17:10:47 +02:00
package sketch;
2023-06-29 17:36:31 +02:00
2023-07-09 17:10:47 +02:00
import controlP5.Button;
import controlP5.ControlP5;
import controlP5.MultilineTextfield;
2023-06-29 17:36:31 +02:00
import processing.core.PApplet;
public class Sketch extends PApplet {
static public void main (String[] args){
2023-07-09 17:10:47 +02:00
PApplet.main("sketch.Sketch");
2023-06-29 17:36:31 +02:00
}
ControlP5 cp5;
public void settings(){
size(500,500);
}
public void setup(){
cp5 = new ControlP5(this);
Button b = new Button(cp5,"").setSize(100,100);
MultilineTextfield ml = new MultilineTextfield(cp5,"mlt");
2023-06-29 17:36:31 +02:00
}
public void radioButton(int index) {
}
public void draw(){
}
}