BuGUI
BUtton Grid User Interface
Loading...
Searching...
No Matches
bugui::buttons< Device, Controller > Struct Template Reference

Empty struct for devices that do not feature labelled buttons. More...

#include <buttons.hpp>

Inheritance diagram for bugui::buttons< Device, Controller >:
bugui::base_hardware

Additional Inherited Members

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 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.

Detailed Description

template<typename Device, typename Controller>
struct bugui::buttons< Device, Controller >

Empty struct for devices that do not feature labelled buttons.


The documentation for this struct was generated from the following file: