|
BuGUI
BUtton Grid User Interface
|
Provides base functionalities of the hardware object, and enables access from the base_controller. More...
#include <base_hardware.hpp>
Public Member Functions | |
| virtual void | setup ()=0 |
| Sends any preliminary commands needed by the device ie. initialising to a particular mode like XY (Launchpad mini/S) programmer (Launchpad Pro), notes, drum pads, sliders... | |
| virtual void | clear ()=0 |
| Turns off all LEDs. | |
| virtual int | width () const =0 |
| Retrieves the with of the device's grid. | |
| virtual int | height () const =0 |
| Retrieves the height of the device's grid. | |
| virtual void | set_grid (painter &)=0 |
| Pass a reference to the painter object and display it's content to the grid. | |
| virtual void | set_button (const button_painter &)=0 |
| Pass a reference to the button_painter object and display it's content to the device's buttons. | |
Provides base functionalities of the hardware object, and enables access from the base_controller.
|
pure virtual |
Turns off all LEDs.
Implemented in bugui::midi_out< Device, Controller >, and bugui::sysex_out< Device, Controller >.
|
pure virtual |
Pass a reference to the button_painter object and display it's content to the device's buttons.
Implemented in bugui::midi_out< Device, Controller >, and bugui::sysex_out< Device, Controller >.
|
pure virtual |
Pass a reference to the painter object and display it's content to the grid.
Implemented in bugui::midi_out< Device, Controller >, and bugui::sysex_out< Device, Controller >.
|
pure virtual |
Sends any preliminary commands needed by the device ie. initialising to a particular mode like XY (Launchpad mini/S) programmer (Launchpad Pro), notes, drum pads, sliders...
Implemented in bugui::midi< Device, Controller >.