lit

package
v0.0.0-...-e3259a1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lit

type Lit struct {
	Lit rune // Литера для печати
	// contains filtered or unexported fields
}

Lit -- литера на экране

func NewLit

func NewLit(scr types.IScreen, pos types.IPos, foreAttr, backAttr termbox.Attribute, lit alias.ALit) (*Lit, error)

NewLit -- возвращает новую литеру

func (*Lit) BackAttr

func (sf *Lit) BackAttr() termbox.Attribute

BackAttr -- возвращает атрибуты фона

func (*Lit) ForeAttr

func (sf *Lit) ForeAttr() types.IAttr

ForeAttr -- возвращает атрибуты литеры

func (*Lit) Pos

func (sf *Lit) Pos() types.IPos

Pos -- возвращает объект позиции литеры

func (*Lit) PosSet

func (sf *Lit) PosSet(pos types.IPos) error

PosSet -- устанавливает позицию литеры

func (*Lit) Redraw

func (sf *Lit) Redraw()

Redraw -- отрисовывает литеру на экране

Jump to

Keyboard shortcuts

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