|
wavelength 1.0.0
|
Display of the controller buttons on the screen around a song. More...
#include <controllerdisplay.h>
Public Member Functions | |
| ControllerDisplay () | |
| Construct a hidden display. | |
| void | Init () |
| Refresh the display and its button labels. | |
| void | Show () |
| Add one request to show the display. | |
| void | Hide () |
| Withdraw one request to show the display. | |
| void | SetHighlight (bool bHighlight) |
| Highlight the buttons of every lane or clear the highlight. | |
| void | SetOption (bool bOption) |
| Show the display in one of its two modes. | |
| void | Clear () |
| Clear the mode, the highlight, and the count. | |
| void | RefreshLabels () |
| Refresh the button labels from the first player's controller bindings. | |
Static Public Member Functions | |
| static ControllerDisplay * | shared () |
| Report the display. | |
Display of the controller buttons on the screen around a song.
The class is not polymorphic and does not have RTTI. The name is inferred from the button names it shows. Each of the three lanes shows the icon of the controller button it is played with.
| ControllerDisplay::ControllerDisplay | ( | ) |
Construct a hidden display.
|
static |
Report the display.
| void ControllerDisplay::Init | ( | ) |
Refresh the display and its button labels.
| void ControllerDisplay::Show | ( | ) |
Add one request to show the display.
| void ControllerDisplay::Hide | ( | ) |
Withdraw one request to show the display.
| void ControllerDisplay::SetHighlight | ( | bool | bHighlight | ) |
Highlight the buttons of every lane or clear the highlight.
| bHighlight | Whether the buttons are highlighted. |
| void ControllerDisplay::SetOption | ( | bool | bOption | ) |
Show the display in one of its two modes.
| bOption | The mode. The buttons are hidden while it is set. |
| void ControllerDisplay::Clear | ( | ) |
Clear the mode, the highlight, and the count.
| void ControllerDisplay::RefreshLabels | ( | ) |
Refresh the button labels from the first player's controller bindings.
The tutorial retains the labels it has.