Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorMode ¶
type ColorMode struct { Bg termbox.Attribute TimerFG termbox.Attribute TextFG termbox.Attribute }
ColorMode defines the color scheme of a painter
type Painter ¶
type Painter struct {
// contains filtered or unexported fields
}
Painter draw a timer using termbox
func NewPainter ¶
NewPainter create a new painter based on a state, the color mode and the debug mode
Click to show internal directories.
Click to hide internal directories.