Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LedButton ¶
type LedButton struct {
// contains filtered or unexported fields
}
LedButton simulates a Button with a status LED.
func NewLedButton ¶
NewLedButton is the constructor for a new Led Button. Functional arguments can be supplied to modify it's default characteristics
func (*LedButton) SetState ¶
SetState sets the state of the LED. In order to render the changes Draw() has to be called.
func (*LedButton) SetText ¶
SetText sets the text (max 5 Chars) on the LedButton. In order to render the changes Draw() has to be called.
func (*LedButton) SetTextColor ¶
SetTextColor sets the text color of the button. In order to render the changes Draw() has to be called.
Click to show internal directories.
Click to hide internal directories.