hsdc6editor

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

Documentation

Overview

Package hsdc6editor represents a dc6 editor window

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

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

Create creates a new dc6 editor

Types

type DC6Editor

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

DC6Editor represents a dc6 editor

func (*DC6Editor) Build

func (e *DC6Editor) Build()

Build builds a new dc6 editor

func (*DC6Editor) Cleanup

func (e *DC6Editor) Cleanup()

Cleanup hides editor

func (*DC6Editor) GenerateSaveData

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

GenerateSaveData generates save data

func (*DC6Editor) Save

func (e *DC6Editor) Save()

Save saves editor's data

func (*DC6Editor) UpdateMainMenuLayout

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

UpdateMainMenuLayout updates main menu to it contain DC6's editor menu

Jump to

Keyboard shortcuts

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