Versions in this module Expand all Collapse all v0 v0.0.6 Feb 26, 2021 v0.0.5 Feb 26, 2021 Changes in this version + type ColourButton struct + func NewColourButton(colour color.Color) *ColourButton + func (btn *ColourButton) GetButtonIndex() int + func (btn *ColourButton) GetImageForButton(btnSize int) image.Image + func (btn *ColourButton) Pressed() + func (btn *ColourButton) RegisterUpdateHandler(f func(streamdeck.Button)) + func (btn *ColourButton) SetActionHandler(a streamdeck.ButtonActionHandler) + func (btn *ColourButton) SetButtonIndex(btnIndex int) + func (btn *ColourButton) SetColour(colour color.Color) + type ImageFileButton struct + func NewImageFileButton(filePath string) (*ImageFileButton, error) + func (btn *ImageFileButton) GetButtonIndex() int + func (btn *ImageFileButton) GetImageForButton(btnSize int) image.Image + func (btn *ImageFileButton) Pressed() + func (btn *ImageFileButton) RegisterUpdateHandler(f func(streamdeck.Button)) + func (btn *ImageFileButton) SetActionHandler(a streamdeck.ButtonActionHandler) + func (btn *ImageFileButton) SetButtonIndex(btnIndex int) + func (btn *ImageFileButton) SetFilePath(filePath string) error + type TextButton struct + func NewTextButton(label string) *TextButton + func NewTextButtonWithColours(label string, textColour color.Color, backgroundColour color.Color) *TextButton + func (btn *TextButton) GetButtonIndex() int + func (btn *TextButton) GetImageForButton(btnSize int) image.Image + func (btn *TextButton) Pressed() + func (btn *TextButton) RegisterUpdateHandler(f func(streamdeck.Button)) + func (btn *TextButton) SetActionHandler(a streamdeck.ButtonActionHandler) + func (btn *TextButton) SetBackgroundColor(backgroundColour color.Color) + func (btn *TextButton) SetButtonIndex(btnIndex int) + func (btn *TextButton) SetText(label string) + func (btn *TextButton) SetTextColour(textColour color.Color)