framework

package
v0.0.0-...-5ecc521 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: Zlib Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GLFWFramework

type GLFWFramework struct {
	defaultlevel.Loader
	// contains filtered or unexported fields
}

func (*GLFWFramework) CreateWindow

func (gfw *GLFWFramework) CreateWindow(windowWidth, windowHeight int, title string) error

func (*GLFWFramework) CurserShow

func (gfw *GLFWFramework) CurserShow()

func (*GLFWFramework) CursorDisable

func (gfw *GLFWFramework) CursorDisable()

func (*GLFWFramework) CursorDisabled

func (gfw *GLFWFramework) CursorDisabled() bool

func (*GLFWFramework) CursorHidden

func (gfw *GLFWFramework) CursorHidden() bool

func (*GLFWFramework) CursorHide

func (gfw *GLFWFramework) CursorHide()

func (*GLFWFramework) CursorShown

func (gfw *GLFWFramework) CursorShown() bool

func (*GLFWFramework) EndTextInput

func (gfw *GLFWFramework) EndTextInput()

func (*GLFWFramework) GetTextInput

func (gfw *GLFWFramework) GetTextInput() string

func (*GLFWFramework) Init

func (gfw *GLFWFramework) Init(ml *gohome.MainLoop) error

func (*GLFWFramework) MonitorGetSize

func (gfw *GLFWFramework) MonitorGetSize() mgl32.Vec2

func (*GLFWFramework) OnClose

func (gfw *GLFWFramework) OnClose(callback func())

func (*GLFWFramework) OnFocus

func (gfw *GLFWFramework) OnFocus(callback func(focused bool))

func (*GLFWFramework) OnMove

func (gfw *GLFWFramework) OnMove(callback func(newPosX, newPosY int))

func (*GLFWFramework) OnResize

func (gfw *GLFWFramework) OnResize(callback func(newWidth, newHeight int))

func (*GLFWFramework) OpenFile

func (gfw *GLFWFramework) OpenFile(file string) (gohome.File, error)

func (GLFWFramework) PollEvents

func (GLFWFramework) PollEvents()

func (*GLFWFramework) ShowYesNoDialog

func (gfw *GLFWFramework) ShowYesNoDialog(title, message string) uint8

func (*GLFWFramework) StartTextInput

func (gfw *GLFWFramework) StartTextInput()

func (*GLFWFramework) Terminate

func (gfw *GLFWFramework) Terminate()

func (GLFWFramework) Update

func (GLFWFramework) Update()

func (*GLFWFramework) WindowClosed

func (gfw *GLFWFramework) WindowClosed() bool

func (*GLFWFramework) WindowGetSize

func (gfw *GLFWFramework) WindowGetSize() mgl32.Vec2

func (*GLFWFramework) WindowIsFullscreen

func (gfw *GLFWFramework) WindowIsFullscreen() bool

func (*GLFWFramework) WindowSetFullscreen

func (gfw *GLFWFramework) WindowSetFullscreen(b bool)

func (*GLFWFramework) WindowSetSize

func (gfw *GLFWFramework) WindowSetSize(size mgl32.Vec2)

func (*GLFWFramework) WindowSwap

func (gfw *GLFWFramework) WindowSwap()

Jump to

Keyboard shortcuts

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