Documentation
¶
Overview ¶
Package window implements platform specific windows and GPU contexts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
type Driver interface {
// SetAnimating sets the animation flag. When the window is animating,
// FrameEvents are delivered as fast as the display can handle them.
SetAnimating(anim bool)
// ShowTextInput updates the virtual keyboard state.
ShowTextInput(show bool)
NewContext() (Context, error)
}
Driver is the interface for the platform implementation of a window.
type FrameEvent ¶
type FrameEvent struct {
system.FrameEvent
Sync bool
}
Click to show internal directories.
Click to hide internal directories.