SYMBOL INDEX (296 symbols across 46 files) FILE: _examples/barchart.go function main (line 16) | func main() { FILE: _examples/canvas.go function main (line 12) | func main() { FILE: _examples/demo.go function main (line 18) | func main() { FILE: _examples/gauge.go function main (line 17) | func main() { FILE: _examples/grid.go function main (line 18) | func main() { FILE: _examples/hello_world.go function main (line 12) | func main() { FILE: _examples/image.go function main (line 25) | func main() { constant GOPHER_IMAGE (line 90) | GOPHER_IMAGE = `iVBORw0KGgoAAAANSUhEUgAAAEsAAAA8CAAAAAALAhhPAAAFfUlEQVRY... FILE: _examples/list.go function main (line 16) | func main() { FILE: _examples/paragraph.go function main (line 16) | func main() { FILE: _examples/piechart.go function main (line 18) | func main() { FILE: _examples/plot.go function main (line 17) | func main() { FILE: _examples/sparkline.go function main (line 16) | func main() { FILE: _examples/stacked_barchart.go function main (line 16) | func main() { FILE: _examples/table.go function main (line 16) | func main() { FILE: _examples/tabs.go function main (line 16) | func main() { FILE: _examples/tree.go type nodeValue (line 12) | type nodeValue method String (line 14) | func (nv nodeValue) String() string { function main (line 18) | func main() { FILE: _scripts/copyright_header.py function is_target (line 18) | def is_target(fpath): function update_copyright (line 24) | def update_copyright(fpath): function main (line 42) | def main(): FILE: _test/log_events.go function main (line 18) | func main() { FILE: alignment.go type Alignment (line 3) | type Alignment constant AlignLeft (line 6) | AlignLeft Alignment = iota constant AlignCenter (line 7) | AlignCenter constant AlignRight (line 8) | AlignRight FILE: backend.go function Init (line 13) | func Init() error { function Close (line 23) | func Close() { function TerminalDimensions (line 27) | func TerminalDimensions() (int, int) { function Clear (line 33) | func Clear() { FILE: block.go type Block (line 16) | type Block struct method drawBorder (line 46) | func (self *Block) drawBorder(buf *Buffer) { method Draw (line 80) | func (self *Block) Draw(buf *Buffer) { method SetRect (line 92) | func (self *Block) SetRect(x1, y1, x2, y2 int) { method GetRect (line 103) | func (self *Block) GetRect() image.Rectangle { function NewBlock (line 33) | func NewBlock() *Block { FILE: buffer.go type Cell (line 14) | type Cell struct function NewCell (line 27) | func NewCell(rune rune, args ...interface{}) Cell { type Buffer (line 39) | type Buffer struct method GetCell (line 53) | func (self *Buffer) GetCell(p image.Point) Cell { method SetCell (line 57) | func (self *Buffer) SetCell(c Cell, p image.Point) { method Fill (line 61) | func (self *Buffer) Fill(c Cell, rect image.Rectangle) { method SetString (line 69) | func (self *Buffer) SetString(s string, style Style, p image.Point) { function NewBuffer (line 44) | func NewBuffer(r image.Rectangle) *Buffer { FILE: canvas.go type Canvas (line 9) | type Canvas struct method SetPoint (line 21) | func (self *Canvas) SetPoint(p image.Point, color Color) { method SetLine (line 25) | func (self *Canvas) SetLine(p0, p1 image.Point, color Color) { method Draw (line 29) | func (self *Canvas) Draw(buf *Buffer) { function NewCanvas (line 14) | func NewCanvas() *Canvas { FILE: drawille/drawille.go constant BRAILLE_OFFSET (line 7) | BRAILLE_OFFSET = '\u2800' type Color (line 16) | type Color type Cell (line 18) | type Cell struct type Canvas (line 23) | type Canvas struct method SetPoint (line 33) | func (self *Canvas) SetPoint(p image.Point, color Color) { method SetLine (line 41) | func (self *Canvas) SetLine(p0, p1 image.Point, color Color) { method GetCells (line 47) | func (self *Canvas) GetCells() map[image.Point]Cell { function NewCanvas (line 27) | func NewCanvas() *Canvas { function line (line 55) | func line(p0, p1 image.Point) []image.Point { function absInt (line 85) | func absInt(x int) int { FILE: events.go type EventType (line 42) | type EventType constant KeyboardEvent (line 45) | KeyboardEvent EventType = iota constant MouseEvent (line 46) | MouseEvent constant ResizeEvent (line 47) | ResizeEvent type Event (line 50) | type Event struct type Mouse (line 57) | type Mouse struct type Resize (line 64) | type Resize struct function PollEvents (line 70) | func PollEvents() <-chan Event { function convertTermboxKeyboardEvent (line 142) | func convertTermboxKeyboardEvent(e tb.Event) Event { function convertTermboxMouseEvent (line 173) | func convertTermboxMouseEvent(e tb.Event) Event { function convertTermboxEvent (line 191) | func convertTermboxEvent(e tb.Event) Event { FILE: grid.go type gridItemType (line 7) | type gridItemType constant col (line 10) | col gridItemType = 0 constant row (line 11) | row gridItemType = 1 type Grid (line 14) | type Grid struct method Set (line 72) | func (self *Grid) Set(entries ...interface{}) { method setHelper (line 82) | func (self *Grid) setHelper(item GridItem, parentWidthRatio, parentHei... method Draw (line 135) | func (self *Grid) Draw(buf *Buffer) { type GridItem (line 21) | type GridItem struct function NewGrid (line 32) | func NewGrid() *Grid { function NewCol (line 41) | func NewCol(ratio float64, i ...interface{}) GridItem { function NewRow (line 56) | func NewRow(ratio float64, i ...interface{}) GridItem { FILE: render.go type Drawable (line 14) | type Drawable interface function Render (line 21) | func Render(items ...Drawable) { FILE: style.go type Color (line 6) | type Color constant ColorClear (line 9) | ColorClear Color = -1 constant ColorBlack (line 13) | ColorBlack Color = 0 constant ColorRed (line 14) | ColorRed Color = 1 constant ColorGreen (line 15) | ColorGreen Color = 2 constant ColorYellow (line 16) | ColorYellow Color = 3 constant ColorBlue (line 17) | ColorBlue Color = 4 constant ColorMagenta (line 18) | ColorMagenta Color = 5 constant ColorCyan (line 19) | ColorCyan Color = 6 constant ColorWhite (line 20) | ColorWhite Color = 7 type Modifier (line 23) | type Modifier constant ModifierClear (line 27) | ModifierClear Modifier = 0 constant ModifierBold (line 28) | ModifierBold Modifier = 1 << 9 constant ModifierUnderline (line 29) | ModifierUnderline Modifier = 1 << 10 constant ModifierReverse (line 30) | ModifierReverse Modifier = 1 << 11 type Style (line 34) | type Style struct function NewStyle (line 51) | func NewStyle(fg Color, args ...interface{}) Style { FILE: style_parser.go constant tokenFg (line 12) | tokenFg = "fg" constant tokenBg (line 13) | tokenBg = "bg" constant tokenModifier (line 14) | tokenModifier = "mod" constant tokenItemSeparator (line 16) | tokenItemSeparator = "," constant tokenValueSeparator (line 17) | tokenValueSeparator = ":" constant tokenBeginStyledText (line 19) | tokenBeginStyledText = '[' constant tokenEndStyledText (line 20) | tokenEndStyledText = ']' constant tokenBeginStyle (line 22) | tokenBeginStyle = '(' constant tokenEndStyle (line 23) | tokenEndStyle = ')' type parserState (line 26) | type parserState constant parserStateDefault (line 29) | parserStateDefault parserState = iota constant parserStateStyleItems (line 30) | parserStateStyleItems constant parserStateStyledText (line 31) | parserStateStyledText function readStyle (line 54) | func readStyle(runes []rune, defaultStyle Style) Style { function ParseStyles (line 77) | func ParseStyles(s string, defaultStyle Style) []Cell { FILE: symbols.go constant DOT (line 4) | DOT = '•' constant ELLIPSES (line 5) | ELLIPSES = '…' constant UP_ARROW (line 7) | UP_ARROW = '▲' constant DOWN_ARROW (line 8) | DOWN_ARROW = '▼' constant COLLAPSED (line 10) | COLLAPSED = '+' constant EXPANDED (line 11) | EXPANDED = '−' FILE: symbols_other.go constant TOP_LEFT (line 10) | TOP_LEFT = '┌' constant TOP_RIGHT (line 11) | TOP_RIGHT = '┐' constant BOTTOM_LEFT (line 12) | BOTTOM_LEFT = '└' constant BOTTOM_RIGHT (line 13) | BOTTOM_RIGHT = '┘' constant VERTICAL_LINE (line 15) | VERTICAL_LINE = '│' constant HORIZONTAL_LINE (line 16) | HORIZONTAL_LINE = '─' constant VERTICAL_LEFT (line 18) | VERTICAL_LEFT = '┤' constant VERTICAL_RIGHT (line 19) | VERTICAL_RIGHT = '├' constant HORIZONTAL_UP (line 20) | HORIZONTAL_UP = '┴' constant HORIZONTAL_DOWN (line 21) | HORIZONTAL_DOWN = '┬' constant QUOTA_LEFT (line 23) | QUOTA_LEFT = '«' constant QUOTA_RIGHT (line 24) | QUOTA_RIGHT = '»' constant VERTICAL_DASH (line 26) | VERTICAL_DASH = '┊' constant HORIZONTAL_DASH (line 27) | HORIZONTAL_DASH = '┈' FILE: symbols_windows.go constant TOP_LEFT (line 10) | TOP_LEFT = '+' constant TOP_RIGHT (line 11) | TOP_RIGHT = '+' constant BOTTOM_LEFT (line 12) | BOTTOM_LEFT = '+' constant BOTTOM_RIGHT (line 13) | BOTTOM_RIGHT = '+' constant VERTICAL_LINE (line 15) | VERTICAL_LINE = '|' constant HORIZONTAL_LINE (line 16) | HORIZONTAL_LINE = '-' constant VERTICAL_LEFT (line 18) | VERTICAL_LEFT = '+' constant VERTICAL_RIGHT (line 19) | VERTICAL_RIGHT = '+' constant HORIZONTAL_UP (line 20) | HORIZONTAL_UP = '+' constant HORIZONTAL_DOWN (line 21) | HORIZONTAL_DOWN = '+' constant QUOTA_LEFT (line 23) | QUOTA_LEFT = '<' constant QUOTA_RIGHT (line 24) | QUOTA_RIGHT = '>' constant VERTICAL_DASH (line 26) | VERTICAL_DASH = '|' constant HORIZONTAL_DASH (line 27) | HORIZONTAL_DASH = '-' FILE: theme.go type RootTheme (line 27) | type RootTheme struct type BlockTheme (line 45) | type BlockTheme struct type BarChartTheme (line 50) | type BarChartTheme struct type GaugeTheme (line 56) | type GaugeTheme struct type PlotTheme (line 61) | type PlotTheme struct type ListTheme (line 66) | type ListTheme struct type TreeTheme (line 70) | type TreeTheme struct type ParagraphTheme (line 76) | type ParagraphTheme struct type PieChartTheme (line 80) | type PieChartTheme struct type SparklineTheme (line 84) | type SparklineTheme struct type StackedBarChartTheme (line 89) | type StackedBarChartTheme struct type TabTheme (line 95) | type TabTheme struct type TableTheme (line 100) | type TableTheme struct FILE: utils.go function InterfaceSlice (line 18) | func InterfaceSlice(slice interface{}) []interface{} { function TrimString (line 34) | func TrimString(s string, w int) string { function SelectColor (line 44) | func SelectColor(colors []Color, index int) Color { function SelectStyle (line 48) | func SelectStyle(styles []Style, index int) Style { function SumIntSlice (line 54) | func SumIntSlice(slice []int) int { function SumFloat64Slice (line 62) | func SumFloat64Slice(data []float64) float64 { function GetMaxIntFromSlice (line 70) | func GetMaxIntFromSlice(slice []int) (int, error) { function GetMaxFloat64FromSlice (line 83) | func GetMaxFloat64FromSlice(slice []float64) (float64, error) { function GetMaxFloat64From2dSlice (line 96) | func GetMaxFloat64From2dSlice(slices [][]float64) (float64, error) { function RoundFloat64 (line 111) | func RoundFloat64(x float64) float64 { function FloorFloat64 (line 115) | func FloorFloat64(x float64) float64 { function AbsInt (line 119) | func AbsInt(x int) int { function MinFloat64 (line 126) | func MinFloat64(x, y float64) float64 { function MaxFloat64 (line 133) | func MaxFloat64(x, y float64) float64 { function MaxInt (line 140) | func MaxInt(x, y int) int { function MinInt (line 147) | func MinInt(x, y int) int { function WrapCells (line 157) | func WrapCells(cells []Cell, width uint) []Cell { function RunesToStyledCells (line 173) | func RunesToStyledCells(runes []rune, style Style) []Cell { function CellsToString (line 181) | func CellsToString(cells []Cell) string { function TrimCells (line 189) | func TrimCells(cells []Cell, w int) []Cell { function SplitCells (line 200) | func SplitCells(cells []Cell, r rune) [][]Cell { type CellWithX (line 217) | type CellWithX struct function BuildCellWithXArray (line 222) | func BuildCellWithXArray(cells []Cell) []CellWithX { FILE: widgets/barchart.go type BarChart (line 16) | type BarChart struct method Draw (line 41) | func (self *BarChart) Draw(buf *Buffer) { function NewBarChart (line 29) | func NewBarChart() *BarChart { FILE: widgets/gauge.go type Gauge (line 14) | type Gauge struct method Draw (line 30) | func (self *Gauge) Draw(buf *Buffer) { function NewGauge (line 22) | func NewGauge() *Gauge { FILE: widgets/image.go type Image (line 14) | type Image struct method Draw (line 30) | func (self *Image) Draw(buf *Buffer) { method colorAverage (line 105) | func (self *Image) colorAverage(x0, x1, y0, y1 int) colorAverager { function NewImage (line 22) | func NewImage(img image.Image) *Image { type colorAverager (line 120) | type colorAverager struct method add (line 124) | func (self colorAverager) add(col color.Color) colorAverager { method RGBA (line 135) | func (self colorAverager) RGBA() (uint32, uint32, uint32, uint32) { method fgColor (line 145) | func (self colorAverager) fgColor() Color { method ch (line 149) | func (self colorAverager) ch() rune { method monochrome (line 165) | func (self colorAverager) monochrome(threshold uint8, invert bool) bool { type paletteColor (line 169) | type paletteColor struct method RGBA (line 174) | func (self paletteColor) RGBA() (uint32, uint32, uint32, uint32) { function blocksChar (line 189) | func blocksChar(ul, ur, ll, lr colorAverager, threshold uint8, invert bo... FILE: widgets/list.go type List (line 15) | type List struct method Draw (line 33) | func (self *List) Draw(buf *Buffer) { method ScrollAmount (line 91) | func (self *List) ScrollAmount(amount int) { method ScrollUp (line 101) | func (self *List) ScrollUp() { method ScrollDown (line 105) | func (self *List) ScrollDown() { method ScrollPageUp (line 109) | func (self *List) ScrollPageUp() { method ScrollPageDown (line 118) | func (self *List) ScrollPageDown() { method ScrollHalfPageUp (line 122) | func (self *List) ScrollHalfPageUp() { method ScrollHalfPageDown (line 126) | func (self *List) ScrollHalfPageDown() { method ScrollTop (line 130) | func (self *List) ScrollTop() { method ScrollBottom (line 134) | func (self *List) ScrollBottom() { function NewList (line 25) | func NewList() *List { FILE: widgets/paragraph.go type Paragraph (line 13) | type Paragraph struct method Draw (line 28) | func (self *Paragraph) Draw(buf *Buffer) { function NewParagraph (line 20) | func NewParagraph() *Paragraph { FILE: widgets/piechart.go constant piechartOffsetUp (line 11) | piechartOffsetUp = -.5 * math.Pi constant resolutionFactor (line 12) | resolutionFactor = .0001 constant fullCircle (line 13) | fullCircle = 2.0 * math.Pi constant xStretch (line 14) | xStretch = 2.0 type PieChartLabel (line 18) | type PieChartLabel type PieChart (line 20) | type PieChart struct method Draw (line 37) | func (self *PieChart) Draw(buf *Buffer) { function NewPieChart (line 29) | func NewPieChart() *PieChart { type circle (line 82) | type circle struct method at (line 88) | func (self circle) at(phi float64) image.Point { method perimeter (line 95) | func (self circle) perimeter() float64 { type line (line 100) | type line struct method draw (line 105) | func (self line) draw(cell Cell, buf *Buffer) { method size (line 147) | func (self line) size() (w, h int) { FILE: widgets/plot.go type Plot (line 18) | type Plot struct method renderBraille (line 79) | func (self *Plot) renderBraille(buf *Buffer, drawArea image.Rectangle,... method renderDot (line 121) | func (self *Plot) renderDot(buf *Buffer, drawArea image.Rectangle, max... method plotAxes (line 150) | func (self *Plot) plotAxes(buf *Buffer, maxVal float64) { method Draw (line 201) | func (self *Plot) Draw(buf *Buffer) { constant xAxisLabelsHeight (line 37) | xAxisLabelsHeight = 1 constant yAxisLabelsWidth (line 38) | yAxisLabelsWidth = 4 constant xAxisLabelsGap (line 39) | xAxisLabelsGap = 2 constant yAxisLabelsGap (line 40) | yAxisLabelsGap = 1 type PlotType (line 43) | type PlotType constant LineChart (line 46) | LineChart PlotType = iota constant ScatterPlot (line 47) | ScatterPlot type PlotMarker (line 50) | type PlotMarker constant MarkerBraille (line 53) | MarkerBraille PlotMarker = iota constant MarkerDot (line 54) | MarkerDot type DrawDirection (line 57) | type DrawDirection constant DrawLeft (line 60) | DrawLeft DrawDirection = iota constant DrawRight (line 61) | DrawRight function NewPlot (line 64) | func NewPlot() *Plot { FILE: widgets/sparkline.go type Sparkline (line 14) | type Sparkline struct type SparklineGroup (line 24) | type SparklineGroup struct method Draw (line 44) | func (self *SparklineGroup) Draw(buf *Buffer) { function NewSparkline (line 30) | func NewSparkline() *Sparkline { function NewSparklineGroup (line 37) | func NewSparklineGroup(sls ...*Sparkline) *SparklineGroup { FILE: widgets/stacked_barchart.go type StackedBarChart (line 16) | type StackedBarChart struct method Draw (line 41) | func (self *StackedBarChart) Draw(buf *Buffer) { function NewStackedBarChart (line 29) | func NewStackedBarChart() *StackedBarChart { FILE: widgets/table.go type Table (line 22) | type Table struct method Draw (line 46) | func (self *Table) Draw(buf *Buffer) { function NewTable (line 36) | func NewTable() *Table { FILE: widgets/tabs.go type TabPane (line 16) | type TabPane struct method FocusLeft (line 33) | func (self *TabPane) FocusLeft() { method FocusRight (line 39) | func (self *TabPane) FocusRight() { method Draw (line 45) | func (self *TabPane) Draw(buf *Buffer) { function NewTabPane (line 24) | func NewTabPane(names ...string) *TabPane { FILE: widgets/tree.go constant treeIndent (line 12) | treeIndent = " " type TreeNode (line 15) | type TreeNode struct method parseStyles (line 28) | func (self *TreeNode) parseStyles(style Style) []Cell { type TreeWalkFn (line 26) | type TreeWalkFn type Tree (line 46) | type Tree struct method SetNodes (line 69) | func (self *Tree) SetNodes(nodes []*TreeNode) { method prepareNodes (line 74) | func (self *Tree) prepareNodes() { method prepareNode (line 81) | func (self *Tree) prepareNode(node *TreeNode, level int) { method Walk (line 92) | func (self *Tree) Walk(fn TreeWalkFn) { method walk (line 100) | func (self *Tree) walk(n *TreeNode, fn TreeWalkFn) bool { method Draw (line 114) | func (self *Tree) Draw(buf *Buffer) { method ScrollAmount (line 166) | func (self *Tree) ScrollAmount(amount int) { method SelectedNode (line 176) | func (self *Tree) SelectedNode() *TreeNode { method ScrollUp (line 183) | func (self *Tree) ScrollUp() { method ScrollDown (line 187) | func (self *Tree) ScrollDown() { method ScrollPageUp (line 191) | func (self *Tree) ScrollPageUp() { method ScrollPageDown (line 200) | func (self *Tree) ScrollPageDown() { method ScrollHalfPageUp (line 204) | func (self *Tree) ScrollHalfPageUp() { method ScrollHalfPageDown (line 208) | func (self *Tree) ScrollHalfPageDown() { method ScrollTop (line 212) | func (self *Tree) ScrollTop() { method ScrollBottom (line 216) | func (self *Tree) ScrollBottom() { method Collapse (line 220) | func (self *Tree) Collapse() { method Expand (line 225) | func (self *Tree) Expand() { method ToggleExpand (line 233) | func (self *Tree) ToggleExpand() { method ExpandAll (line 241) | func (self *Tree) ExpandAll() { method CollapseAll (line 251) | func (self *Tree) CollapseAll() { function NewTree (line 60) | func NewTree() *Tree {