Documentation
¶
Index ¶
- Constants
- func LayerSelector(callback func(button *gtk.Button)) (grid *gtk.Grid, err error)
- func LayerTemplate(li int, callback func(button *gtk.Button)) (grid *gtk.Grid, err error)
- func MacroAppForm() (form *gtk.Grid, err error)
- func MacroCodeForm() (form *gtk.Grid, err error)
- func MacroSequenceForm() (form *gtk.Grid, err error)
- func MacroTextForm() (form *gtk.Grid, err error)
- func MacroUpdateContainer() (container *gtk.Grid, err error)
- type MacroUpdate
- type UI
Constants ¶
View Source
const (
APP_TITLE = "Button Pad"
)
Variables ¶
This section is empty.
Functions ¶
func LayerSelector ¶
func LayerTemplate ¶
func MacroAppForm ¶
func MacroCodeForm ¶
func MacroSequenceForm ¶
func MacroTextForm ¶
func MacroUpdateContainer ¶
Types ¶
type MacroUpdate ¶
type UI ¶
type UI struct {
OnConfirm func(confirm bool)
OnChangeMacro func(layer, macro int, typ byte, label string, payload []byte)
// contains filtered or unexported fields
}
func NewUiController ¶
func NewUiController( confirm func(confirm bool), change func(layer, macro int, typ byte, label string, payload []byte), ) *UI
create a new app ui instance
Click to show internal directories.
Click to hide internal directories.