Documentation ¶
Index ¶
- type Window
- func (w *Window) Destroy()
- func (w *Window) DestroyWindow()
- func (w *Window) DisableWindowResize()
- func (w *Window) GetSize() (int, int)
- func (w *Window) GetWindowPosition() (x int, y int)
- func (w *Window) GetWindowSize() (int, int)
- func (w *Window) IsDisposed() bool
- func (w *Window) Poll() bool
- func (w *Window) SetAspectRatio(numerator, denominator int)
- func (w *Window) SetBorderlessWindowed(v bool)
- func (w *Window) SetCloseCallback(fn func())
- func (w *Window) SetCloseRequestedCallback(fn func())
- func (w *Window) SetFullScreenBorderless(v bool)
- func (w *Window) SetInputCallback(fn func(eventChan chan input.Event))
- func (w *Window) SetResizedCallback(fn func(physicalWidth, physicalHeight uint32))
- func (w *Window) SetWindowPosition(x, y int)
- func (w *Window) SetWindowSize(width int, height int)
- func (w *Window) SetWindowTitle(title string)
- func (w *Window) ShouldClose() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Window ¶
func (*Window) DestroyWindow ¶
func (w *Window) DestroyWindow()
func (*Window) DisableWindowResize ¶
func (w *Window) DisableWindowResize()
func (*Window) GetWindowPosition ¶
func (*Window) GetWindowSize ¶
func (*Window) IsDisposed ¶
func (*Window) SetAspectRatio ¶
func (*Window) SetBorderlessWindowed ¶
func (*Window) SetCloseCallback ¶
func (w *Window) SetCloseCallback(fn func())
func (*Window) SetCloseRequestedCallback ¶
func (w *Window) SetCloseRequestedCallback(fn func())
func (*Window) SetFullScreenBorderless ¶
func (*Window) SetInputCallback ¶
func (*Window) SetResizedCallback ¶
func (*Window) SetWindowPosition ¶
func (*Window) SetWindowSize ¶
func (*Window) SetWindowTitle ¶
func (*Window) ShouldClose ¶
Click to show internal directories.
Click to hide internal directories.