hsfonttableeditor

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 hsfonttableeditor represents fontTableEditor'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,
	state []byte,
	data *[]byte, x, y float32, project *hsproject.Project) (hscommon.EditorWindow, error)

Create creates a new font table editor

Types

type FontTableEditor

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

FontTableEditor represents font table editor

func (*FontTableEditor) Build

func (e *FontTableEditor) Build()

Build builds a font table editor's window

func (*FontTableEditor) Cleanup

func (e *FontTableEditor) Cleanup()

Cleanup hides an editor

func (*FontTableEditor) GenerateSaveData

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

GenerateSaveData generates data to be saved

func (*FontTableEditor) Save

func (e *FontTableEditor) Save()

Save saves an editor

func (*FontTableEditor) UpdateMainMenuLayout

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

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

Jump to

Keyboard shortcuts

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