gui

package
v0.0.0-...-c26106f Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	*app.Application // Embedded standard application object

	IVC intrinsic // intrinsic value calculator window
	// contains filtered or unexported fields
}

App contains the application state

func Create

func Create() (a *App)

Create Creates the app

func (*App) OnWindowResize

func (a *App) OnWindowResize()

OnWindowResize is default handler for window resize events.

func (*App) Run

func (a *App) Run()

func (*App) SetupGui

func (g *App) SetupGui(width, height int)

SetupGui creates all user interface elements

func (*App) Update

func (a *App) Update(rend *renderer.Renderer, deltaTime time.Duration)

Jump to

Keyboard shortcuts

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