Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultFont = &proggy.TinySZ8pt7b
)
Functions ¶
This section is empty.
Types ¶
type KnobMenu ¶
type KnobMenu struct {
// contains filtered or unexported fields
}
func NewKnobMenu ¶
func NewKnobMenu(knob hal.KnobInput, opts ...KnobMenuOption) (*KnobMenu, error)
type KnobMenuOption ¶
type KnobMenuOption func(km *KnobMenu) ([]knobbank.KnobBankOption, error)
func WithFont ¶
func WithFont(font tinyfont.Fonter) KnobMenuOption
func WithPosition ¶
func WithPosition(x, y int16) KnobMenuOption
func WithYAdvance ¶
func WithYAdvance(yadvance int16) KnobMenuOption
Click to show internal directories.
Click to hide internal directories.