project

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type View

type View struct {
	// contains filtered or unexported fields
}

View handles the project display.

func NewView

func NewView(mod *world.Mod, modalStateMachine gui.ModalStateMachine,
	guiScale float32, commander cmd.Commander) *View

NewView creates a new instance for the project display.

func (*View) Render

func (view *View) Render()

Render requests to render the view.

func (*View) StartSavingMod added in v0.5.0

func (view *View) StartSavingMod()

StartSavingMod initiates to save the mod. It either opens the save-as dialog, or simply saves under the current folder.

func (*View) WindowOpen added in v0.3.0

func (view *View) WindowOpen() *bool

WindowOpen returns the flag address, to be used with the main menu.

Jump to

Keyboard shortcuts

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