tui

package
v0.0.0-...-e431319 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 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 Box

type Box struct {
	Lines                  []string
	Foreground, Background termbox.Attribute
	Width, Height          int
	X, Y                   int
}

func (Box) Draw

func (b Box) Draw()

type Canvas

type Canvas struct {
	Foreground, Background termbox.Attribute
	Drawable               Drawable
}

func (Canvas) Redraw

func (c Canvas) Redraw()

type Cell

type Cell struct {
	Rune                   rune
	Foreground, Background termbox.Attribute
	X, Y                   int
}

func (Cell) Draw

func (c Cell) Draw()

type Drawable

type Drawable interface {
	Draw()
}

type Group

type Group []Drawable

func (Group) Draw

func (g Group) Draw()

Jump to

Keyboard shortcuts

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