cli

package
v0.0.0-...-1be2e0f Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2016 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NAME_HORIZONTAL = `Spoofgo.com`
	NAME_VERTICAL   = `poof.go`
)
View Source
const (
	LOADING = iota
	PLAYER
	OPTIONS
	HELP
	NEWS
)

Variables

This section is empty.

Functions

func BufferMode

func BufferMode(
	mode int,
	full bool,
) []*draw.Buffer

func BufferModifier

func BufferModifier(
	modifier int,
) []*draw.Buffer

func BufferSpeed

func BufferSpeed(
	frame *Frame,
) []*draw.Buffer

func Draw

func Draw(
	frame *Frame,
)

func DrawBoard

func DrawBoard(
	width int,
	height int,
	frame *Frame,
)

func DrawBorder

func DrawBorder(
	width int,
	height int,
	frame *Frame,
)

func DrawBorderLeft

func DrawBorderLeft(
	width int,
	height int,
	offset int,
	frame *Frame,
)

func DrawBorderTop

func DrawBorderTop(
	width int,
	height int,
	offset int,
	frame *Frame,
)

func DrawCompass

func DrawCompass(
	width int,
	height int,
	x_from int,
	y_from int,
	frame *Frame,
)

func DrawHelp

func DrawHelp(
	width int,
	height int,
	frame *Frame,
)

func DrawNews

func DrawNews(
	width int,
	height int,
	frame *Frame,
)

func DrawOptions

func DrawOptions(
	width int,
	height int,
	frame *Frame,
)

func GetVersion

func GetVersion(
	frame *Frame,
) string

func GetVersionColour

func GetVersionColour(
	frame *Frame,
) termbox.Attribute

Types

type Frame

type Frame struct {
	Location    int
	Options     *o.Options
	MenuOptions *menublock.MenuBlock
	Help        *textblock.TextBlock
	News        *textblock.TextBlock
	Version     *v.Client
	Plugin      *plug.Plugin
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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