lib

package
v0.0.0-...-97705f4 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block interface {
	Draw()
}

type List

type List struct {
	ViewAttribute
	Hosts []string
}

func (List) Draw

func (l List) Draw()

type View

type View struct {
	ViewAttribute
	Title         string
	FgColor       ui.Attribute
	BgColor       ui.Attribute
	Border        bool
	BorderFgColor ui.Attribute
	BorderBgColor ui.Attribute
}

func NewView

func NewView() View

func (View) Draw

func (v View) Draw()

func (View) NewList

func (v View) NewList() List

type ViewAttribute

type ViewAttribute struct {
	Width  int
	Height int
	PosX   int
	PosY   int
}

Jump to

Keyboard shortcuts

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