Solo Controller Documentation 1.0
Documentation for the Solo Controller
 
Loading...
Searching...
No Matches
Button.h File Reference

Defines the Button classes used by the Menu system. More...

#include "ButtonState.h"

Go to the source code of this file.

Classes

struct  ButtonConfig_t< NUM >
 Generic data structure used to store graphical configuration of buttons. More...
 
class  Button
 Abstract class that provides basic button functionality. More...
 
class  ToggleButton
 Defines a button that toggles between two states. More...
 
class  MomentaryButton
 Defines a momentary buttons with 2 states. Upon release, the button automatically returns to state 0. More...
 
class  TextBoxButton
 Defines a single state button containing text with both a value and units component. More...
 

Variables

const ButtonConfig_t< 2 > DEFAULT_BUTTON_CONFIG
 Defines the configuration parameters for a standard button.
 
const ButtonConfig_t< 2 > DEFAULT_SM_BUTTON_CONFIG
 Defines the configuration parameters for a small button.
 

Detailed Description

Defines the Button classes used by the Menu system.

Variable Documentation

◆ DEFAULT_BUTTON_CONFIG

const ButtonConfig_t<2> DEFAULT_BUTTON_CONFIG
Initial value:
= {
3,
COLORS.WHITE,
25
}
const struct @335246042156366161160006341037173214026114026241 COLORS
Colors used by the application.

Defines the configuration parameters for a standard button.

◆ DEFAULT_SM_BUTTON_CONFIG

const ButtonConfig_t<2> DEFAULT_SM_BUTTON_CONFIG
Initial value:
= {
2,
COLORS.WHITE,
15
}

Defines the configuration parameters for a small button.