gui

package
v0.0.0-...-b4922cf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gui

type Gui interface {
	Setup()
	Draw()
}

type MainWindow

type MainWindow struct {
	// contains filtered or unexported fields
}

func NewMainWindow

func NewMainWindow() *MainWindow

func (*MainWindow) Draw

func (w *MainWindow) Draw()

func (*MainWindow) Setup

func (w *MainWindow) Setup()

func (*MainWindow) SetupMidi

func (w *MainWindow) SetupMidi(portName string)

type MidiWindow

type MidiWindow struct {
	// contains filtered or unexported fields
}

func NewMidiWindow

func NewMidiWindow(ports midi.InPorts, mainWindow *MainWindow) *MidiWindow

func (*MidiWindow) Run

func (w *MidiWindow) Run() error

type SheetWidget

type SheetWidget struct {
	// contains filtered or unexported fields
}

func NewSheetWidget

func NewSheetWidget(x, y float64) *SheetWidget

func (*SheetWidget) Draw

func (w *SheetWidget) Draw()

func (*SheetWidget) NoteOff

func (w *SheetWidget) NoteOff(key uint8)

func (*SheetWidget) NoteOn

func (w *SheetWidget) NoteOn(key uint8)

func (*SheetWidget) Setup

func (w *SheetWidget) Setup()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL