styles

package
v0.0.0-...-7430742 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2015 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alignment

type Alignment uint8

Alignement type (for a text or a widget)

const (
	AlignCenter Alignment = iota
	AlignLeft
	AlignRight
	AlignTop
	AlignBottom
)

Alignement possibilities (for text & widgets)

type BorderStyle

type BorderStyle struct {
	Left              rune
	LeftTopCorner     rune
	Top               rune
	RightTopCorner    rune
	Right             rune
	RightBottomCorner rune
	Bottom            rune
	LeftBottomCorner  rune
}

BorderStyle contains all elements which constitute a border

var (
	BorderSlimLinear  *BorderStyle = &BorderStyle{'│', '┌', '─', '┐', '│', '┘', '─', '└'}
	BorderDashed      *BorderStyle = &BorderStyle{'|', '+', '-', '+', '|', '+', '-', '+'}
	BorderTransparent *BorderStyle = &BorderStyle{' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '}
)

Border types (for a container for example)

Jump to

Keyboard shortcuts

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