hssoundeditor

package
v0.0.0-...-667d129 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

Package hssoundeditor represents a soundEditor's window

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(_ *hsconfig.Config,
	tl hscommon.TextureLoader,
	pathEntry *hscommon.PathEntry,
	_ []byte,
	data *[]byte, x, y float32, project *hsproject.Project) (hscommon.EditorWindow, error)

Create creates a new sound editor

Types

type SoundEditor

type SoundEditor struct {
	*hseditor.Editor
	// contains filtered or unexported fields
}

SoundEditor represents a sound editor

func (*SoundEditor) Build

func (s *SoundEditor) Build()

Build builds a sound editor

func (*SoundEditor) Cleanup

func (s *SoundEditor) Cleanup()

Cleanup closes an editor

func (*SoundEditor) GenerateSaveData

func (s *SoundEditor) GenerateSaveData() []byte

GenerateSaveData generates data to be saved

func (*SoundEditor) Save

func (s *SoundEditor) Save()

Save saves an editor

func (*SoundEditor) UpdateMainMenuLayout

func (s *SoundEditor) UpdateMainMenuLayout(l *g.Layout)

UpdateMainMenuLayout updates mainMenu's layout to it contain soundEditor's options

Jump to

Keyboard shortcuts

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