ui

package
v0.0.0-...-f0d9685 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SDLWindow

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

func NewSDLWindow

func NewSDLWindow(width, height int) (*SDLWindow, error)

func (*SDLWindow) DrawGrayscale

func (w *SDLWindow) DrawGrayscale(frameBuffer []byte, width, height int)

func (*SDLWindow) Info

func (w *SDLWindow) Info()

func (*SDLWindow) Start

func (w *SDLWindow) Start()

func (*SDLWindow) Stop

func (w *SDLWindow) Stop()

func (*SDLWindow) ToggleFullscreen

func (w *SDLWindow) ToggleFullscreen()

type Window

type Window interface {
	Start()
	Stop()
	DrawGrayscale(frameBuffer []byte, width, height int)
}

Jump to

Keyboard shortcuts

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