|
BuGUI
BUtton Grid User Interface
|
Holds MIDI port objects for access by derived classes. It also enables components to register their callback funcitons. More...
#include <midi_common.hpp>
Public Member Functions | |
| stdx::error | set_midi_in_port (const libremidi::observer &observer, std::string_view port_name) override |
| stdx::error | set_midi_out_port (const libremidi::observer &observer, std::string_view port_name) override |
| Public Member Functions inherited from bugui::base_hardware | |
| 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 int | width () const |
| Retrieves the with of the device's grid. | |
| virtual int | height () const |
| Retrieves the height of the device's grid. | |
| virtual void | set_grid (painter &) |
| Pass a reference to the painter object and display it's content to the grid. | |
| 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. | |
Holds MIDI port objects for access by derived classes. It also enables components to register their callback funcitons.
|
overridevirtual |
Reimplemented from bugui::base_hardware.
|
overridevirtual |
Reimplemented from bugui::base_hardware.