hsanimdataeditor

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: 9 Imported by: 0

Documentation

Overview

Package hsanimdataeditor contains D2 editor's data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

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

Create creates a new cof editor

Types

type AnimationDataEditor

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

AnimationDataEditor represents a cof editor

func (*AnimationDataEditor) Build

func (e *AnimationDataEditor) Build()

Build builds a D2 editor

func (*AnimationDataEditor) Cleanup

func (e *AnimationDataEditor) Cleanup()

Cleanup hides an editor

func (*AnimationDataEditor) GenerateSaveData

func (e *AnimationDataEditor) GenerateSaveData() []byte

GenerateSaveData generates data to be saved

func (*AnimationDataEditor) Save

func (e *AnimationDataEditor) Save()

Save saves an editor

func (*AnimationDataEditor) UpdateMainMenuLayout

func (e *AnimationDataEditor) UpdateMainMenuLayout(l *g.Layout)

UpdateMainMenuLayout updates a main menu layout, to it contains anim data viewer's settings

Jump to

Keyboard shortcuts

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