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.
Click to show internal directories.
Click to hide internal directories.