|
BuGUI
BUtton Grid User Interface
|
Handle presses and enables painting on the device's button grid. More...
#include <grid.hpp>
Public Member Functions | |
| void | set_grid (painter &p) override |
| Pass a reference to the painter object and display it's content to the grid. | |
| Public Member Functions inherited from bugui::base_hardware | |
| virtual stdx::error | set_midi_in_port (const libremidi::observer &observer, std::string_view port_name) |
| virtual stdx::error | set_midi_out_port (const libremidi::observer &observer, std::string_view port_name) |
| 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 | reset ()=0 |
| Turns off all diplays (LEDs, screens, visual feedback). | |
| virtual void | set_button (const button_painter &) |
| Pass a reference to the button_painter object and display it's content to the device's buttons. | |
Protected Member Functions | |
| void | component_reset () |
| Protected Member Functions inherited from bugui::common< Controller > | |
| common (Controller *pntr) | |
Additional Inherited Members | |
| Protected Attributes inherited from bugui::common< Controller > | |
| Controller * | controller |
Handle presses and enables painting on the device's button grid.
|
inlineoverridevirtual |
Pass a reference to the painter object and display it's content to the grid.
Reimplemented from bugui::base_hardware.