A Lauchpad-GUI-Element (LPView subclass) which is modeled afer horizontal "fader". But because it follows the counting of the coordinates the lowest value is top left.
creates a new LPView need to be initialized further for use.
| range |
A LPRange you will get from Lauchpad. |
| onfront |
A function which will be called when the view put on the front of the Lauchpad. |
| onhide |
A function which will be called when the view is removed from the Lauchpad. |
a LPView
LPLED describing the color of the buttons right of the selected button.
LPLED describing the color of the buttons of the selected button and left of it.
put the LPView onto the front of the lauchpad. (like open a window).
| ... args |
arguments which will forwarded to the onfront-function. |
remove the LPView from the Lauchpad. (like close a window)
| updateLEDs |
bolean to decide if the LEDs realy have to be updated. this might be helpful when a view is removed and another view will called immediately after this which will cover the same range. |
| ... args |
arguments which will forwarded to the onhide-function. |
Function that is called on front.
Function that is called on hide.
A function that is called when the Button on the Launchpad is pushed. The function gets as first argument the LPView itself.