mirror of https://github.com/sojamo/controlp5
37 lines
623 B
Java
37 lines
623 B
Java
package sketch;
|
|
|
|
|
|
|
|
import controlP5.Button;
|
|
import controlP5.ControlP5;
|
|
import controlP5.MultilineTextfield;
|
|
import processing.core.PApplet;
|
|
|
|
public class Sketch extends PApplet {
|
|
|
|
static public void main (String[] args){
|
|
|
|
PApplet.main("sketch.Sketch");
|
|
}
|
|
|
|
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");
|
|
|
|
|
|
}
|
|
|
|
public void radioButton(int index) {
|
|
|
|
}
|
|
public void draw(){
|
|
|
|
}
|
|
}
|