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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GTKFramework

type GTKFramework struct {
	defaultlevel.Loader

	UseWholeWindowAsGLArea bool
	UseExternalWindow      bool
	MenuBarFix             bool
	// contains filtered or unexported fields
}

func (*GTKFramework) AfterWindowCreation

func (this *GTKFramework) AfterWindowCreation(ml *gohome.MainLoop)

func (*GTKFramework) CreateWindow

func (this *GTKFramework) CreateWindow(windowWidth, windowHeight int, title string) error

func (*GTKFramework) CurserShow

func (this *GTKFramework) CurserShow()

func (*GTKFramework) CursorDisable

func (this *GTKFramework) CursorDisable()

func (*GTKFramework) CursorDisabled

func (this *GTKFramework) CursorDisabled() bool

func (*GTKFramework) CursorHidden

func (this *GTKFramework) CursorHidden() bool

func (*GTKFramework) CursorHide

func (this *GTKFramework) CursorHide()

func (*GTKFramework) CursorShown

func (this *GTKFramework) CursorShown() bool

func (*GTKFramework) DefaultWindowCreation

func (this *GTKFramework) DefaultWindowCreation(ml *gohome.MainLoop)

func (*GTKFramework) GetGtkWindow

func (this *GTKFramework) GetGtkWindow() gtk.Window

func (*GTKFramework) Init

func (this *GTKFramework) Init(ml *gohome.MainLoop) error

func (*GTKFramework) InitExternalDefault

func (this *GTKFramework) InitExternalDefault(window *gtk.Window, glarea *gtk.GLArea)

func (*GTKFramework) InitStuff

func (this *GTKFramework) InitStuff(ml *gohome.MainLoop)

func (*GTKFramework) MonitorGetSize

func (this *GTKFramework) MonitorGetSize() mgl32.Vec2

func (*GTKFramework) OpenFile

func (this *GTKFramework) OpenFile(file string) (gohome.File, error)

func (*GTKFramework) ShowYesNoDialog

func (this *GTKFramework) ShowYesNoDialog(title, message string) uint8

func (*GTKFramework) Terminate

func (this *GTKFramework) Terminate()

func (*GTKFramework) Update

func (this *GTKFramework) Update()

func (*GTKFramework) WindowClosed

func (this *GTKFramework) WindowClosed() bool

func (*GTKFramework) WindowGetSize

func (this *GTKFramework) WindowGetSize() mgl32.Vec2

func (*GTKFramework) WindowIsFullscreen

func (this *GTKFramework) WindowIsFullscreen() bool

func (*GTKFramework) WindowSetFullscreen

func (this *GTKFramework) WindowSetFullscreen(b bool)

func (*GTKFramework) WindowSetSize

func (this *GTKFramework) WindowSetSize(size mgl32.Vec2)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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