screen

package
v0.0.0-...-e213e8e Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Screen

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

func NewScreen

func NewScreen(width, height int) *Screen

func (*Screen) Blit

func (scr *Screen) Blit(x, y int)

func (*Screen) CellAt

func (scr *Screen) CellAt(x, y int) tb.Cell

func (*Screen) Clear

func (scr *Screen) Clear(fg, bg tb.Attribute)

func (*Screen) DrawBorder

func (scr *Screen) DrawBorder(fg, bg tb.Attribute)

func (*Screen) DrawRect

func (scr *Screen) DrawRect(x, y, w, h int, fg, bg tb.Attribute)

func (*Screen) DrawString

func (scr *Screen) DrawString(str string, x, y int)

func (*Screen) SetCell

func (scr *Screen) SetCell(x, y int, rn rune, fg, bg tb.Attribute)

func (*Screen) Size

func (scr *Screen) Size() (int, int)

Jump to

Keyboard shortcuts

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