Documentation ¶
Overview ¶
Package window provides a common interface for oak-created windows.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Window ¶
type Window interface { SetFullScreen(bool) error SetBorderless(bool) error SetTopMost(bool) error SetTitle(string) error SetTrayIcon(string) error ShowNotification(title, msg string, icon bool) error MoveWindow(x, y, w, h int) error HideCursor() error Width() int Height() int Viewport() intgeom.Point2 SetViewportBounds(intgeom.Rect2) NextScene() GoToScene(string) InFocus() bool ShiftScreen(int, int) SetScreen(int, int) Quit() EventHandler() event.Handler }
Window is an interface of methods on an oak.Window used to avoid circular imports
Click to show internal directories.
Click to hide internal directories.