Documentation ¶
Index ¶
- func Export(machine gui.ModalStateMachine, info string, callback func(string), ...)
- func ExportAudio(machine gui.ModalStateMachine, filename string, sound audio.L8)
- func Import(machine gui.ModalStateMachine, info string, callback func(string), ...)
- func ImportAudio(machine gui.ModalStateMachine, callback func(l8 audio.L8))
- type Clipboard
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Export ¶ added in v0.5.0
func Export(machine gui.ModalStateMachine, info string, callback func(string), lastFailed bool)
Export starts an export dialog series, calling the given callback with a folder name.
func ExportAudio ¶ added in v0.5.0
func ExportAudio(machine gui.ModalStateMachine, filename string, sound audio.L8)
ExportAudio is a helper wrapper for exporting audio.
func Import ¶ added in v0.5.0
func Import(machine gui.ModalStateMachine, info string, callback func(string), lastFailed bool)
Import starts an import dialog series, calling the given callback with a file name.
func ImportAudio ¶ added in v0.5.0
func ImportAudio(machine gui.ModalStateMachine, callback func(l8 audio.L8))
ImportAudio is a helper to handle audio file import. The callback is called with the loaded audio.
Types ¶
Click to show internal directories.
Click to hide internal directories.