Documentation
¶
Index ¶
- func DrawBoundedText(s tcell.Screen, x1, y1, x2, y2 int, style tcell.Style, typeTest tt.TypingTest)
- func DrawBox(s tcell.Screen, x1, y1, x2, y2 int, style tcell.Style)
- func DrawLegend(screen tcell.Screen, style tcell.Style)
- func DrawResults(screen tcell.Screen, style tcell.Style, typeTest tt.TypingTest)
- func DrawText(s tcell.Screen, x, y int, style tcell.Style, text string)
- func GetLogoCoords(screen tcell.Screen) (logoX, logoY int)
- func GetMidScreenCoords(screen tcell.Screen) (midX int, midY int)
- func GetTypingBoxCoords(screen tcell.Screen, text string) (startX, startY, endX, endY int)
- func UpdateTypingBox(screen tcell.Screen, style tcell.Style, typeTest tt.TypingTest)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawBoundedText ¶
func DrawBoundedText(s tcell.Screen, x1, y1, x2, y2 int, style tcell.Style, typeTest tt.TypingTest)
func DrawLegend ¶
func DrawLegend(screen tcell.Screen, style tcell.Style)
func DrawResults ¶
func DrawResults(screen tcell.Screen, style tcell.Style, typeTest tt.TypingTest)
func GetLogoCoords ¶
func GetLogoCoords(screen tcell.Screen) (logoX, logoY int)
func GetMidScreenCoords ¶
func GetTypingBoxCoords ¶
func UpdateTypingBox ¶
func UpdateTypingBox(screen tcell.Screen, style tcell.Style, typeTest tt.TypingTest)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.