driver

package
v0.0.0-...-2824937 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2020 License: MIT, BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package driver provides the default driver for accessing a screen.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(f func(screen.Screen))

Main is called by the program's main function to run the graphical application.

It calls f on the Screen, possibly in a separate goroutine, as some OS- specific libraries require being on 'the main thread'. It returns when f returns.

Types

This section is empty.

Directories

Path Synopsis
Package gldriver provides an OpenGL driver for accessing a screen.
Package gldriver provides an OpenGL driver for accessing a screen.
internal
errscreen
Package errscreen provides a stub Screen implementation.
Package errscreen provides a stub Screen implementation.
pump
Package pump provides an infinitely buffered event channel.
Package pump provides an infinitely buffered event channel.
swizzle
Package swizzle provides functions for converting between RGBA pixel formats.
Package swizzle provides functions for converting between RGBA pixel formats.
x11key
x11key contains X11 numeric codes for the keyboard and mouse.
x11key contains X11 numeric codes for the keyboard and mouse.
Package windriver provides the Windows driver for accessing a screen.
Package windriver provides the Windows driver for accessing a screen.
Package x11driver provides the X11 driver for accessing a screen.
Package x11driver provides the X11 driver for accessing a screen.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL