editor

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2018 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Overview

Package editor and its sub-packages contain the editor-specifics of hacked.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	// Version identifies the build of the application.
	Version string

	// FontFile specifies the font to use.
	FontFile string
	// FontSize specifies the font size to use.
	FontSize float32
	// GuiScale is applied when the window is initialized.
	GuiScale float32
	// contains filtered or unexported fields
}

Application is the root object of the graphical editor. It is set up by the main method.

func (*Application) InitializeWindow

func (app *Application) InitializeWindow(window opengl.Window) (err error)

InitializeWindow takes the given window and attaches the callbacks.

func (*Application) Queue added in v0.2.0

func (app *Application) Queue(command cmd.Command)

Queue requests to perform the given command.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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