mirror of
https://github.com/sojamo/controlp5
synced 2025-03-14 08:31:44 +01:00
Merge 333c0f7f2541755be8016ac8d4e6d2aab0b6e4d1 into 1f7cb649865eb8657495b5cfeddd0dbe85d70cac
This commit is contained in:
commit
fc4117ebbf
@ -1,5 +1,3 @@
|
|||||||
package controlP5;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* controlP5 is a processing gui library.
|
* controlP5 is a processing gui library.
|
||||||
*
|
*
|
||||||
@ -25,12 +23,14 @@ package controlP5;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
package controlP5;
|
||||||
|
|
||||||
import processing.core.PGraphics;
|
import processing.core.PGraphics;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The CDrawable interface is used to draw controllers, primarily for internal use.
|
* The CDrawable interface is used to draw controllers, primarily for internal use.
|
||||||
*/
|
*/
|
||||||
public interface CDrawable {
|
@FunctionalInterface public interface CDrawable {
|
||||||
|
|
||||||
public void draw( PGraphics theGraphics );
|
public void draw( PGraphics theGraphics );
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ package controlP5;
|
|||||||
* @example use/ControlP5callback
|
* @example use/ControlP5callback
|
||||||
* @see controlP5.ControlP5#addCallback(CallbackListener)
|
* @see controlP5.ControlP5#addCallback(CallbackListener)
|
||||||
*/
|
*/
|
||||||
public interface CallbackListener {
|
@FunctionalInterface public interface CallbackListener {
|
||||||
|
|
||||||
public void controlEvent( CallbackEvent theEvent );
|
public void controlEvent( CallbackEvent theEvent );
|
||||||
|
|
||||||
|
@ -25,7 +25,8 @@ package controlP5;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface ControlKey {
|
@FunctionalInterface public interface ControlKey {
|
||||||
|
|
||||||
public void keyEvent();
|
public void keyEvent();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ package controlP5;
|
|||||||
*
|
*
|
||||||
* @example use/ControlP5listenerForSingleController
|
* @example use/ControlP5listenerForSingleController
|
||||||
*/
|
*/
|
||||||
public interface ControlListener {
|
@FunctionalInterface public interface ControlListener {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* controlEvent is called by controlP5's ControlBroadcaster to inform available listeners about
|
* controlEvent is called by controlP5's ControlBroadcaster to inform available listeners about
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
package controlP5;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* controlP5 is a processing gui library.
|
* controlP5 is a processing gui library.
|
||||||
*
|
*
|
||||||
@ -25,6 +23,8 @@ package controlP5;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
package controlP5;
|
||||||
|
|
||||||
import processing.core.PApplet;
|
import processing.core.PApplet;
|
||||||
import processing.core.PFont;
|
import processing.core.PFont;
|
||||||
import processing.core.PGraphics;
|
import processing.core.PGraphics;
|
||||||
@ -35,7 +35,7 @@ import processing.event.KeyEvent;
|
|||||||
* The ControllerInterface is inherited by all ControllerGroup and Controller classes.
|
* The ControllerInterface is inherited by all ControllerGroup and Controller classes.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface ControllerInterface< T > {
|
public interface ControllerInterface< T extends ControllerInterface< T > > {
|
||||||
|
|
||||||
@ControlP5.Invisible public void init( );
|
@ControlP5.Invisible public void init( );
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
package controlP5;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* controlP5 is a processing gui library.
|
* controlP5 is a processing gui library.
|
||||||
*
|
*
|
||||||
@ -25,6 +23,8 @@ package controlP5;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
package controlP5;
|
||||||
|
|
||||||
import processing.core.PGraphics;
|
import processing.core.PGraphics;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -35,7 +35,7 @@ import processing.core.PGraphics;
|
|||||||
*
|
*
|
||||||
* @example use/ControlP5customDisplay
|
* @example use/ControlP5customDisplay
|
||||||
*/
|
*/
|
||||||
public interface ControllerView< T > {
|
@FunctionalInterface public interface ControllerView< T extends ControllerView< T > > {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* draws your custom controllers. display() will be called by a controller's draw() function and
|
* draws your custom controllers. display() will be called by a controller's draw() function and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user