Documentation ¶
Index ¶
- type DefaultRenderer
- func (r *DefaultRenderer) AddDecoration(col, row uint16, content string, frames int)
- func (r *DefaultRenderer) Deinit() error
- func (r *DefaultRenderer) Fill(row, column uint16, message string)
- func (r *DefaultRenderer) FillColor(row, column uint16, c color.RGBA, message string)
- func (r *DefaultRenderer) Init() error
- func (r *DefaultRenderer) RenderLoop(delay time.Duration, ...)
- type Renderer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultRenderer ¶
type DefaultRenderer struct {
// contains filtered or unexported fields
}
func (*DefaultRenderer) AddDecoration ¶
func (r *DefaultRenderer) AddDecoration(col, row uint16, content string, frames int)
func (*DefaultRenderer) Deinit ¶
func (r *DefaultRenderer) Deinit() error
func (*DefaultRenderer) Fill ¶
func (r *DefaultRenderer) Fill(row, column uint16, message string)
func (*DefaultRenderer) FillColor ¶
func (r *DefaultRenderer) FillColor(row, column uint16, c color.RGBA, message string)
func (*DefaultRenderer) Init ¶
func (r *DefaultRenderer) Init() error
type Renderer ¶
type Renderer interface { Init() error Deinit() error AddDecoration(col, row uint16, content string, frames int) RenderLoop( delay time.Duration, render func(startTime time.Time, duration time.Duration) bool, endRender func(renderDuration time.Duration), ) Fill(row, column uint16, message string) FillColor(row, column uint16, color color.RGBA, message string) }
Click to show internal directories.
Click to hide internal directories.