hsdcceditor

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 hsdcceditor contains dcc editor's data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(config *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 dcc editor

Types

type DCCEditor

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

DCCEditor represents a new dcc editor

func (*DCCEditor) Build

func (e *DCCEditor) Build()

Build builds a dcc editor

func (*DCCEditor) Cleanup

func (e *DCCEditor) Cleanup()

Cleanup hides editor

func (*DCCEditor) GenerateSaveData

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

GenerateSaveData generates data to save

func (*DCCEditor) Save

func (e *DCCEditor) Save()

Save saves editor

func (*DCCEditor) UpdateMainMenuLayout

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

UpdateMainMenuLayout updates main menu to it contain editor's options

Jump to

Keyboard shortcuts

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