Documentation ¶
Index ¶
- Constants
- func ClearImage(s tcell.Screen)
- func ClearRow(s tcell.Screen, start, end int)
- func Error(s tcell.Screen, err error)
- func Image(s tcell.Screen, rgbRunes conversion.RGBRunes, center image.Point)
- func Redraw(s tcell.Screen, title string, rgbRunes conversion.RGBRunes, center image.Point)
- func Title(s tcell.Screen, title string)
Constants ¶
View Source
const TitleBarPixels int = 3
TitleBarPixels is the height of the title bar in "pixels"
Variables ¶
This section is empty.
Functions ¶
func ClearImage ¶ added in v0.6.7
func ClearImage(s tcell.Screen)
ClearImage clears all rows where the image would be drawn.
func ClearRow ¶ added in v0.6.7
func ClearRow(s tcell.Screen, start, end int)
ClearRow clears a single row of a Screen.
func Error ¶ added in v0.6.2
func Error(s tcell.Screen, err error)
Error draws an error to the screen.
An error should be drawn if an image *cannot* be drawn. An error should not be drawn *over* an image.
func Image ¶
func Image(s tcell.Screen, rgbRunes conversion.RGBRunes, center image.Point)
Image draws an image to a screen.
Center is the center of the image relative to the screen's center, with center = 0, 0 meaning that the image is perfectly centered in the screen.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.