driver

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2018 License: BSD-3-Clause Imports: 2 Imported by: 1

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(oswin.App))

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
internal
drawer
Package drawer provides functions that help implement screen.Drawer methods.
Package drawer provides functions that help implement screen.Drawer methods.
errapp
Package errapp provides a stub App implementation.
Package errapp provides a stub App implementation.
event
Package event provides an infinitely buffered double-ended queue of events.
Package event provides an infinitely buffered double-ended queue of events.
swizzle
Package swizzle provides functions for converting between RGBA pixel formats.
Package swizzle provides functions for converting between RGBA pixel formats.
Package macdriver provides an OpenGL-based driver for MacOS platform.
Package macdriver provides an OpenGL-based driver for MacOS platform.
Package x11driver provides the X11 driver for oswin
Package x11driver provides the X11 driver for oswin

Jump to

Keyboard shortcuts

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