Documentation
¶
Index ¶
- type JSFile
- type JSFramework
- func (this *JSFramework) CreateWindow(windowWidth, windowHeight int, title string) error
- func (this *JSFramework) CurserShow()
- func (this *JSFramework) CursorDisable()
- func (this *JSFramework) CursorDisabled() bool
- func (this *JSFramework) CursorHidden() bool
- func (this *JSFramework) CursorHide()
- func (this *JSFramework) CursorShown() bool
- func (this *JSFramework) Init(ml *gohome.MainLoop) error
- func (*JSFramework) Log(a ...interface{})
- func (*JSFramework) OpenFile(file string) (gohome.File, error)
- func (*JSFramework) PollEvents()
- func (this *JSFramework) WindowGetSize() mgl32.Vec2
- func (this *JSFramework) WindowIsFullscreen() bool
- func (this *JSFramework) WindowSetFullscreen(b bool)
- func (this *JSFramework) WindowSetSize(size mgl32.Vec2)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSFramework ¶
type JSFramework struct {
defaultlevel.Loader
Canvas *js.Object
}
func (*JSFramework) CreateWindow ¶
func (this *JSFramework) CreateWindow(windowWidth, windowHeight int, title string) error
func (*JSFramework) CurserShow ¶
func (this *JSFramework) CurserShow()
func (*JSFramework) CursorDisable ¶
func (this *JSFramework) CursorDisable()
func (*JSFramework) CursorDisabled ¶
func (this *JSFramework) CursorDisabled() bool
func (*JSFramework) CursorHidden ¶
func (this *JSFramework) CursorHidden() bool
func (*JSFramework) CursorHide ¶
func (this *JSFramework) CursorHide()
func (*JSFramework) CursorShown ¶
func (this *JSFramework) CursorShown() bool
func (*JSFramework) Log ¶
func (*JSFramework) Log(a ...interface{})
func (*JSFramework) PollEvents ¶
func (*JSFramework) PollEvents()
func (*JSFramework) WindowGetSize ¶
func (this *JSFramework) WindowGetSize() mgl32.Vec2
func (*JSFramework) WindowIsFullscreen ¶
func (this *JSFramework) WindowIsFullscreen() bool
func (*JSFramework) WindowSetFullscreen ¶
func (this *JSFramework) WindowSetFullscreen(b bool)
func (*JSFramework) WindowSetSize ¶
func (this *JSFramework) WindowSetSize(size mgl32.Vec2)
Click to show internal directories.
Click to hide internal directories.