ui

package
v0.0.0-...-6071cdf Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2017 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TempFile

func TempFile(size int64) (*os.File, error)

Types

type Display

type Display struct {
	// contains filtered or unexported fields
}

func Connect

func Connect(addr string) (*Display, error)

func (*Display) Context

func (d *Display) Context() *wl.Context

func (*Display) Disconnect

func (d *Display) Disconnect()

func (*Display) Dispatch

func (d *Display) Dispatch() chan<- bool

func (*Display) FindWindow

func (d *Display) FindWindow() *Window

TODO

func (*Display) Handle

func (d *Display) Handle(e interface{})

func (*Display) Keyboard

func (d *Display) Keyboard() *wl.Keyboard

func (*Display) NewWindow

func (d *Display) NewWindow(width, height int32) (*Window, error)

func (*Display) Pointer

func (d *Display) Pointer() *wl.Pointer

func (*Display) Touch

func (d *Display) Touch() *wl.Touch

type Window

type Window struct {
	// contains filtered or unexported fields
}

func (*Window) Dispose

func (w *Window) Dispose()

func (*Window) Draw

func (w *Window) Draw(img image.Image)

func (*Window) Handle

func (w *Window) Handle(e interface{})

Directories

Path Synopsis
examples
img

Jump to

Keyboard shortcuts

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