Documentation ¶
Index ¶
- func AlignGroup(group CellGroup, align Alignment, boundingBox rect.Rect)
- func NewBorder(pos position.Position, size size.Size, style BorderStyle) *border
- type Alignment
- type Animation
- type Border
- type BorderStyle
- type BorderTickStyle
- type Cell
- type CellGroup
- type Counter
- type Cursor
- type CursorBuilder
- type Drawable
- type MutablePel
- type Pel
- type Text
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Animation ¶
type Border ¶
type Border interface { CellGroup() CellGroup BorderStyle() BorderStyle SetBorderStyle(BorderStyle) Resize(size.Size) Draw(tcell.Screen) }
type BorderStyle ¶
type BorderStyle struct { Horizontal BorderTickStyle Vertical BorderTickStyle Corner BorderTickStyle Fill BorderTickStyle }
func DefaultBorderStyle ¶
func DefaultBorderStyle(style tcell.Style, fillStyle tcell.Style) BorderStyle
type Cell ¶
type CellGroup ¶
type CellGroup interface { Cells() []Cell Draw(tcell.Screen) Position() position.Position SetPosition(position.Position) Size() size.Size }
func NewCellGroup ¶
type Cursor ¶
type Cursor interface { Draw(tcell.Screen) Position() position.MutablePosition }
type CursorBuilder ¶
type CursorBuilder interface { Char(rune) CursorBuilder Style(tcell.Style) CursorBuilder Foreground(tcell.Color) CursorBuilder Background(tcell.Color) CursorBuilder ActiveChar(rune) CursorBuilder ActiveStyle(tcell.Style) CursorBuilder Position(position.MutablePosition) CursorBuilder Duration(time.Duration) CursorBuilder Build() Cursor }
func NewCursorBuilder ¶
func NewCursorBuilder() CursorBuilder
type Drawable ¶
type Drawable interface {
Draw(tcell.Screen)
}
type MutablePel ¶
func NewMutablePel ¶
func NewMutablePel(char rune, style tcell.Style) MutablePel
Source Files ¶
Click to show internal directories.
Click to hide internal directories.