Documentation ¶
Rendered for windows/amd64
Index ¶
- Constants
- func EnablePollEvents()
- func ExtensionSupportedWGL(extension string) bool
- func GetTimerFrequency() uint64
- func GetTimerValue() uint64
- func InitWindows()
- func PollEvents()
- type Action
- type ErrorCode
- type Hint
- type InputMode
- type Key
- type ModifierKey
- type MouseButton
- type PeripheralEvent
- type StandardCursor
- type ViewEvent
Constants ¶
View Source
const ( NotInitialized = ErrorCode(0x00010001) NoCurrentContext = ErrorCode(0x00010002) InvalidEnum = ErrorCode(0x00010003) InvalidValue = ErrorCode(0x00010004) OutOfMemory = ErrorCode(0x00010005) PlatformError = ErrorCode(0x00010008) NoWindowContext = ErrorCode(0x0001000A) )
View Source
const (
EmptyHandle = winsyscall.Handle(0)
)
Variables ¶
This section is empty.
Functions ¶
func EnablePollEvents ¶
func EnablePollEvents()
func ExtensionSupportedWGL ¶
func GetTimerFrequency ¶
func GetTimerFrequency() uint64
func GetTimerValue ¶
func GetTimerValue() uint64
func InitWindows ¶
func InitWindows()
func PollEvents ¶
func PollEvents()
PollEvents In the Windows implementation, each Window has own event loop goroutine, so there is no need to process events here.
Types ¶
type ModifierKey ¶
type ModifierKey int
type MouseButton ¶
type MouseButton int
type PeripheralEvent ¶
type PeripheralEvent int
type StandardCursor ¶
type StandardCursor int
type ViewEvent ¶
type ViewEvent struct {
HWND uintptr
}
func (ViewEvent) ImplementsEvent ¶
func (ViewEvent) ImplementsEvent()
func (ViewEvent) ImplementsViewEvent ¶
func (ViewEvent) ImplementsViewEvent()
Click to show internal directories.
Click to hide internal directories.