Documentation ¶
Index ¶
- func DrawBoxBorder(x, y, w, h int, t Border)
- func DrawBoxBorderColor(x, y, w, h int, t Border, fg, bg termbox.Attribute)
- func DrawLine(x, y, width int, text string, fg, bg termbox.Attribute)
- func DrawList(x, y, width, height int, list []string, fg, bg termbox.Attribute)
- func DrawMultiline(x, y, width, height int, text string, fg, bg termbox.Attribute)
- func DrawScrollbar(x, y, h, min, max, winmin, winmax int)
- func DrawText(x, y int, text string, fg, bg termbox.Attribute)
- type Border
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawBoxBorder ¶
DrawBoxBorder will draw a box border
func DrawBoxBorderColor ¶
DrawBoxBorderColor will draw a box border with color attributes
func DrawMultiline ¶
func DrawScrollbar ¶
func DrawScrollbar(x, y, h, min, max, winmin, winmax int)
DrawScrollbar This will draw a thin scrollbar
Types ¶
type Border ¶
type Border int
const ( //BorderLight Light Border BorderLight Border = iota //BorderLightArc Light Arc Border BorderLightArc //BorderLightDoubleLine Light Border with double line BorderLightDoubleLine //BorderLightDoubleDash Light Border with double dash BorderLightDoubleDash //BorderLightTripleDash Light Border with triple dash BorderLightTripleDash //BorderLightQuadDash Light Border with quad dash BorderLightQuadDash //BorderThick Thick Border BorderThick //BorderThickDoubleDash Thick border with a double dash BorderThickDoubleDash //BorderThickTripleDash Thick border with a triple dash BorderThickTripleDash //BorderThickQuadDash Thick border with a quad dash BorderThickQuadDash )
Click to show internal directories.
Click to hide internal directories.