GUI: Area
|
Area is a hidden button with no text. It is especially helpful on images.
Area is a class with three functions:
|
|
It needs to be declared.
|
area myArea; |
|
Parameters of define are
The size of the area is defined as a vector
|
void setup() { |
|
enable makes the area active.
|
myArea.enable(true); |
|
In the main loop, the area is checked.
|
void loop() { |