MCPcopy Create free account

hub / github.com/gizak/termui / functions

Functions157 in github.com/gizak/termui

↓ 44 callersMethodSetRect
(int, int, int, int)
v3/render.go:16
↓ 42 callersFunctionNewStyle
NewStyle takes 1 to 3 arguments 1st argument = Fg 2nd argument = optional Bg 3rd argument = optional Modifier
v3/style.go:51
↓ 38 callersMethodSetCell
(c Cell, p image.Point)
v3/buffer.go:57
↓ 27 callersFunctionNewCell
NewCell takes 1 to 2 arguments 1st argument = rune 2nd argument = optional style
v3/buffer.go:27
↓ 14 callersMethodDraw
(*Buffer)
v3/render.go:17
↓ 14 callersFunctionNewBlock
()
v3/block.go:33
↓ 11 callersMethodSetString
(s string, style Style, p image.Point)
v3/buffer.go:69
↓ 10 callersFunctionSelectColor
(colors []Color, index int)
v3/utils.go:44
↓ 8 callersMethodFill
(c Cell, rect image.Rectangle)
v3/buffer.go:61
↓ 6 callersMethodScrollAmount
ScrollAmount scrolls by amount given. If amount is < 0, then scroll up. There is no need to set self.topRow, as this will be set automatically when dr
v3/widgets/tree.go:166
↓ 6 callersMethodScrollAmount
ScrollAmount scrolls by amount given. If amount is < 0, then scroll up. There is no need to set self.topRow, as this will be set automatically when dr
v3/widgets/list.go:91
↓ 6 callersFunctionSelectStyle
(styles []Style, index int)
v3/utils.go:48
↓ 6 callersMethodprepareNodes
()
v3/widgets/tree.go:74
↓ 5 callersMethodcolorAverage
(x0, x1, y0, y1 int)
v3/widgets/image.go:105
↓ 4 callersFunctionBuildCellWithXArray
(cells []Cell)
v3/utils.go:222
↓ 4 callersFunctionFloorFloat64
(x float64)
v3/utils.go:115
↓ 4 callersFunctionParseStyles
ParseStyles parses a string for embedded Styles and returns []Cell with the correct styling. Uses defaultStyle for any text without an embedded style.
v3/style_parser.go:77
↓ 4 callersFunctionRoundFloat64
(x float64)
v3/utils.go:111
↓ 4 callersFunctionTrimString
TrimString trims a string to a max length and adds '…' to the end if it was trimmed.
v3/utils.go:34
↓ 4 callersMethodmonochrome
(threshold uint8, invert bool)
v3/widgets/image.go:165
↓ 3 callersFunctionMinInt
(x, y int)
v3/utils.go:147
↓ 3 callersFunctionRunesToStyledCells
(runes []rune, style Style)
v3/utils.go:173
↓ 3 callersFunctionWrapCells
[]Cell ---------------------------------------------------------------------- WrapCells takes []Cell and inserts Cells containing '\n' wherever a line
v3/utils.go:157
↓ 2 callersFunctionAbsInt
(x int)
v3/utils.go:119
↓ 2 callersFunctionCellsToString
(cells []Cell)
v3/utils.go:181
↓ 2 callersFunctionGetMaxFloat64FromSlice
(slice []float64)
v3/utils.go:83
↓ 2 callersMethodScrollTop
()
v3/widgets/tree.go:212
↓ 2 callersMethodScrollTop
()
v3/widgets/list.go:130
↓ 2 callersMethodSetPoint
(p image.Point, color Color)
v3/drawille/drawille.go:33
↓ 2 callersMethodString
()
_examples/tree.go:14
↓ 2 callersFunctionSumFloat64Slice
(data []float64)
v3/utils.go:62
↓ 2 callersMethodWalk
(fn TreeWalkFn)
v3/widgets/tree.go:92
↓ 2 callersFunctionabsInt
(x int)
v3/drawille/drawille.go:85
↓ 2 callersMethodat
computes the point at a given angle phi
v3/widgets/piechart.go:88
↓ 1 callersMethodCollapseAll
()
v3/widgets/tree.go:251
↓ 1 callersMethodDraw
(buf *Buffer)
v3/canvas.go:29
↓ 1 callersMethodExpandAll
()
v3/widgets/tree.go:241
↓ 1 callersMethodFocusLeft
()
v3/widgets/tabs.go:33
↓ 1 callersMethodFocusRight
()
v3/widgets/tabs.go:39
↓ 1 callersMethodGetCells
()
v3/drawille/drawille.go:47
↓ 1 callersFunctionGetMaxFloat64From2dSlice
(slices [][]float64)
v3/utils.go:96
↓ 1 callersMethodGetRect
()
v3/render.go:15
↓ 1 callersFunctionInterfaceSlice
InterfaceSlice takes an []interface{} represented as an interface{} and converts it https://stackoverflow.com/questions/12753805/type-converting-slice
v3/utils.go:18
↓ 1 callersFunctionMaxFloat64
(x, y float64)
v3/utils.go:133
↓ 1 callersFunctionMaxInt
(x, y int)
v3/utils.go:140
↓ 1 callersFunctionMinFloat64
(x, y float64)
v3/utils.go:126
↓ 1 callersFunctionNewBuffer
(r image.Rectangle)
v3/buffer.go:44
↓ 1 callersFunctionNewCanvas
()
v3/drawille/drawille.go:27
↓ 1 callersMethodRGBA
()
v3/widgets/image.go:174
↓ 1 callersMethodScrollBottom
()
v3/widgets/tree.go:216
↓ 1 callersMethodScrollBottom
()
v3/widgets/list.go:134
↓ 1 callersMethodScrollDown
()
v3/widgets/tree.go:187
↓ 1 callersMethodScrollDown
()
v3/widgets/list.go:105
↓ 1 callersMethodScrollHalfPageDown
()
v3/widgets/tree.go:208
↓ 1 callersMethodScrollHalfPageDown
()
v3/widgets/list.go:126
↓ 1 callersMethodScrollHalfPageUp
()
v3/widgets/tree.go:204
↓ 1 callersMethodScrollHalfPageUp
()
v3/widgets/list.go:122
↓ 1 callersMethodScrollPageDown
()
v3/widgets/tree.go:200
↓ 1 callersMethodScrollPageDown
()
v3/widgets/list.go:118
↓ 1 callersMethodScrollPageUp
()
v3/widgets/tree.go:191
↓ 1 callersMethodScrollPageUp
()
v3/widgets/list.go:109
↓ 1 callersMethodScrollUp
()
v3/widgets/tree.go:183
↓ 1 callersMethodScrollUp
()
v3/widgets/list.go:101
↓ 1 callersMethodSet
Set is used to add Columns and Rows to the grid. It recursively searches the GridItems, adding leaves to the grid and calculating the dimensions of th
v3/grid.go:72
↓ 1 callersMethodSetLine
(p0, p1 image.Point, color Color)
v3/canvas.go:25
↓ 1 callersMethodSetLine
(p0, p1 image.Point, color Color)
v3/drawille/drawille.go:41
↓ 1 callersMethodSetNodes
(nodes []*TreeNode)
v3/widgets/tree.go:69
↓ 1 callersFunctionSplitCells
(cells []Cell, r rune)
v3/utils.go:200
↓ 1 callersMethodToggleExpand
()
v3/widgets/tree.go:233
↓ 1 callersFunctionTrimCells
(cells []Cell, w int)
v3/utils.go:189
↓ 1 callersMethodadd
(col color.Color)
v3/widgets/image.go:124
↓ 1 callersFunctionblocksChar
(ul, ur, ll, lr colorAverager, threshold uint8, invert bool)
v3/widgets/image.go:189
↓ 1 callersMethodch
()
v3/widgets/image.go:149
↓ 1 callersFunctionconvertTermboxEvent
convertTermboxEvent turns a termbox event into a termui event.
v3/events.go:191
↓ 1 callersFunctionconvertTermboxKeyboardEvent
convertTermboxKeyboardEvent converts a termbox keyboard event to a more friendly string format. Combines modifiers into the string instead of having t
v3/events.go:142
↓ 1 callersFunctionconvertTermboxMouseEvent
(e tb.Event)
v3/events.go:173
↓ 1 callersMethoddraw
draws the line
v3/widgets/piechart.go:105
↓ 1 callersMethoddrawBorder
(buf *Buffer)
v3/block.go:46
↓ 1 callersMethodfgColor
()
v3/widgets/image.go:145
↓ 1 callersFunctionis_target
(fpath)
_scripts/copyright_header.py:18
↓ 1 callersFunctionline
(p0, p1 image.Point)
v3/drawille/drawille.go:55
↓ 1 callersFunctionmain
()
_scripts/copyright_header.py:42
↓ 1 callersMethodparseStyles
(style Style)
v3/widgets/tree.go:28
↓ 1 callersMethodplotAxes
(buf *Buffer, maxVal float64)
v3/widgets/plot.go:150
↓ 1 callersMethodprepareNode
(node *TreeNode, level int)
v3/widgets/tree.go:81
↓ 1 callersFunctionreadStyle
readStyle translates an []rune like `fg:red,mod:bold,bg:white` to a style
v3/style_parser.go:54
↓ 1 callersMethodrenderBraille
(buf *Buffer, drawArea image.Rectangle, maxVal float64)
v3/widgets/plot.go:79
↓ 1 callersMethodrenderDot
(buf *Buffer, drawArea image.Rectangle, maxVal float64)
v3/widgets/plot.go:121
↓ 1 callersMethodsetHelper
(item GridItem, parentWidthRatio, parentHeightRatio float64)
v3/grid.go:82
↓ 1 callersMethodsize
width and height of a line
v3/widgets/piechart.go:147
↓ 1 callersFunctionupdate_copyright
(fpath)
_scripts/copyright_header.py:24
↓ 1 callersMethodwalk
(n *TreeNode, fn TreeWalkFn)
v3/widgets/tree.go:100
FunctionClear
()
v3/backend.go:33
FunctionClose
Close closes termbox-go.
v3/backend.go:23
MethodCollapse
()
v3/widgets/tree.go:220
MethodDraw
(buf *Buffer)
v3/grid.go:135
MethodDraw
Draw implements the Drawable interface.
v3/block.go:80
MethodDraw
(buf *Buffer)
v3/widgets/piechart.go:37
MethodDraw
(buf *Buffer)
v3/widgets/tree.go:114
MethodDraw
(buf *Buffer)
v3/widgets/image.go:30
next →1–100 of 157, ranked by callers