MCPcopy Create free account

hub / github.com/aarzilli/nucular / functions

Functions604 in github.com/aarzilli/nucular

↓ 6 callersMethodDraw
(z *nstyle.Style, out *command.Buffer)
drawing.go:145
↓ 6 callersMethodFillCircle
(r rect.Rect, c color.RGBA)
command/command.go:124
↓ 6 callersMethodGet
(sel Sel)
richtext/rtxt.go:356
↓ 6 callersMethodLayoutSpacePushScaled
Like LayoutSpacePush but with scaled units
nucular.go:1313
↓ 6 callersFunctionNewFace
NewFace returns a new face by parsing the ttf font.
font/font_shiny.go:21
↓ 6 callersFunctionNewMasterWindow
(flags WindowFlags, title string, updatefn UpdateFn)
masterwindow.go:49
↓ 6 callersMethodRatio
Starts new row with a fixed number of columns of width proportional to the size of the window.
nucular.go:1074
↓ 6 callersMethodStaticScaled
Like Static but with scaled sizes.
nucular.go:1148
↓ 6 callersMethodUpdate
()
context.go:68
↓ 6 callersMethodValid
()
richtext/click.go:250
↓ 6 callersMethodWalk
(WindowWalkFn)
masterwindow.go:40
↓ 6 callersFunctionbasicWidgetStateControl
(state *nstyle.WidgetStates, in *Input, bounds rect.Rect)
util.go:109
↓ 6 callersMethodchunkWidthEx
(chunkIdx int, startByteIdx int32, tgtChunk chunk, adv []fixed.Int26_6)
richtext/draw.go:807
↓ 6 callersMethodscale
(x int)
nucular.go:1015
↓ 6 callersMethodtonl
Moves to the beginning or end of a line
text.go:416
↓ 5 callersMethodLabelColored
NON-INTERACTIVE WIDGETS LabelColored draws a text label with the specified background color.
nucular.go:1574
↓ 5 callersMethodMenubarBegin
MenubarBegin adds a menubar to the current window. A menubar is an area displayed at the top of the window that is unaffected by scrolling. Remember t
nucular.go:746
↓ 5 callersMethodMenubarEnd
MenubarEnd signals that all widgets have been added to the menubar.
nucular.go:787
↓ 5 callersFunctionSet
(text string)
clipboard/clipboard_darwin.go:74
↓ 5 callersMethodSpaceBegin
Starts new row that will contain widget_count widgets. The size and position of widgets inside this row will be specified by callling LayoutSpacePush/
nucular.go:1202
↓ 5 callersFunctionbuttonBehaviorDo
BUTTON
nucular.go:1679
↓ 5 callersFunctiondrawButton
BUTTON
drawing.go:237
↓ 5 callersFunctiondrawChunk
(w *nucular.Window, out *command.Buffer, p *image.Point, chunk chunk, styleSel styleSel, width, lineh, lineasc
richtext/draw.go:330
↓ 5 callersFunctioninternAtom
(conn *xgb.Conn, n string)
clipboard/clipboard_x11.go:194
↓ 5 callersFunctionminFloat
(x, y float64)
util.go:71
↓ 5 callersMethodspecialPanelBegin
()
nucular.go:462
↓ 5 callersMethodtowd
(start int32, dir int, forceAdvance bool)
richtext/click.go:130
↓ 5 callersFunctionunify
(a rect.Rect, b rect.Rect)
util.go:151
↓ 4 callersMethodAt
()
nucular.go:1378
↓ 4 callersFunctionC
(color color.RGBA)
label/label.go:60
↓ 4 callersMethodComboSimple
Adds a drop-down list to win. The contents are specified by items, with selected being the index of the selected item.
nucular.go:2940
↓ 4 callersMethodDelete
Deletes a chunk of text in the editor.
text.go:357
↓ 4 callersFunctionFromTable
(table ColorTable, scaling float64)
style/style.go:373
↓ 4 callersMethodGetPerf
()
masterwindow.go:33
↓ 4 callersMethodLabelWrap
LabelWrap draws a text label, autowrapping its contents.
nucular.go:1618
↓ 4 callersMethodMenu
MENU Adds a menu to win with a text label. If width == 0 the width will be automatically adjusted to fit the largest MenuItem
nucular.go:2966
↓ 4 callersMethodNext
()
gio.go:707
↓ 4 callersMethodSetColor
SetColor sets the color to paint the spans.
shiny.go:752
↓ 4 callersMethodSetPerf
(bool)
masterwindow.go:34
↓ 4 callersMethodTooltip
Shows a tooltip window containing the specified text.
nucular.go:2863
↓ 4 callersFunctioncreateWindow
(ctx *context, title string)
nucular.go:162
↓ 4 callersMethoddrawSelectedChunk
(w *nucular.Window, out *command.Buffer, p *image.Point, chunk chunk, styleSel styleSel, width, lineh, lineasc
richtext/draw.go:324
↓ 4 callersFunctiondrawSymbol
(out *command.Buffer, type_ label.SymbolType, content rect.Rect, background color.RGBA, foreground color.RGBA,
drawing.go:14
↓ 4 callersFunctionfloatP
(x, y float64)
shiny.go:698
↓ 4 callersFunctionhsv2rgb
(inh, ins, inv int)
style-editor/styled.go:385
↓ 4 callersFunctionmin2
(a, b float32)
gio.go:675
↓ 4 callersFunctionnewDockedLeaf
(win *Window)
context.go:435
↓ 4 callersFunctionremoveEmptySels
(styleSels []styleSel)
richtext/rtxt.go:839
↓ 4 callersMethodsel
()
richtext/rtxt.go:206
↓ 4 callersMethodsortselection
()
text.go:385
↓ 4 callersMethodstr
()
richtext/rtxt.go:144
↓ 4 callersFunctiontoNRGBA
(c color.RGBA)
gio.go:866
↓ 4 callersMethodverticalCursorMove
(e key.Event, font font.Face, row_height int, offset int)
text.go:796
↓ 3 callersMethodAdvance
(off int32)
richtext/rtxt.go:895
↓ 3 callersMethodAdvanceTo
(pos int32)
richtext/draw.go:764
↓ 3 callersFunctionAsset
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
internal/assets/assets.go:94
↓ 3 callersMethodDrawText
(r rect.Rect, str string, face font.Face, fg color.RGBA)
command/command.go:156
↓ 3 callersFunctionFromTheme
(theme Theme, scaling float64)
style/style.go:1024
↓ 3 callersMethodHasClickInRect
(id mouse.Button, b rect.Rect)
input.go:63
↓ 3 callersMethodIndex
()
grouplist.go:83
↓ 3 callersMethodInit
(rtxt *RichText)
richtext/draw.go:713
↓ 3 callersMethodInit
(rtxt *RichText)
richtext/rtxt.go:857
↓ 3 callersMethodInvisible
Will return (false, false) if the last widget is visible, (true, false) if it is above the visible area, (false, true) if it is below the visible area
nucular.go:1374
↓ 3 callersFunctionItemHide
()
style/style.go:912
↓ 3 callersMethodNext
()
richtext/rtxt.go:865
↓ 3 callersMethodNextRune
()
richtext/click.go:314
↓ 3 callersMethodParagraphStyle
(align Align, color color.RGBA)
richtext/rtxt.go:525
↓ 3 callersMethodSliderFloat
Adds a slider with a floating point value to win. Returns true when the slider's value is changed.
nucular.go:2362
↓ 3 callersFunction_filePath
(dir, name string)
internal/assets/assets.go:232
↓ 3 callersFunctionbenchFillOver
(bnc *testing.B, fo fillOverFunc)
drawfillover_test.go:109
↓ 3 callersMethodchunkAdvance
(chunkIdx int)
richtext/draw.go:854
↓ 3 callersFunctionclampInt
(i, v, x int)
util.go:95
↓ 3 callersMethodclearState
(type_ TextEditType)
text.go:955
↓ 3 callersMethodcloseSels
()
richtext/rtxt.go:711
↓ 3 callersFunctioncolorProgress
(w *nucular.Window, x *int, slider *[256]color.RGBA, pimg **image.RGBA)
style-editor/styled.go:306
↓ 3 callersMethodcoordToIndex
(p image.Point, chunkIdx int, adv []fixed.Int26_6)
richtext/click.go:186
↓ 3 callersMethoddockWindow
(win *Window)
context.go:503
↓ 3 callersMethoddrag
(coord image.Point, font font.Face, row_height int)
text.go:300
↓ 3 callersMethoddrawRows
(w *nucular.Window, viewporth int)
richtext/draw.go:54
↓ 3 callersMethodfindLine
(q int32)
richtext/click.go:174
↓ 3 callersMethodgrab
(rtxt *RichText, w *nucular.Window)
richtext/click.go:526
↓ 3 callersMethodgroupOrBlock
(w *nucular.Window, name string, flags nucular.WindowFlags)
_examples/demo/demo.go:287
↓ 3 callersMethodhandleClick
(w *nucular.Window, r rect.Rect, in *nucular.Input, styleSel styleSel, line *line, chunkIdx int, hovering *boo
richtext/click.go:19
↓ 3 callersMethodhorizontalnw
(bounds rect.Rect, scaling float64)
split.go:49
↓ 3 callersFunctionid
(fn func(*nucular.Window))
_examples/demo/demo.go:29
↓ 3 callersMethodlocateCoord
(p image.Point, font font.Face, row_height int)
text.go:186
↓ 3 callersMethodlookForward
(forceAdvance bool)
text.go:1626
↓ 3 callersFunctionmakeSlider
(slider *[256]color.RGBA, fn func(x int) (r, g, b uint8))
style-editor/styled.go:299
↓ 3 callersFunctionmax2
(a, b float32)
gio.go:686
↓ 3 callersMethodmoveToLast
()
text.go:404
↓ 3 callersMethodnonblockOpen
POPUP
nucular.go:2692
↓ 3 callersFunctionpanelAllocSpace
(bounds *rect.Rect, win *Window)
nucular.go:830
↓ 3 callersFunctionpanelBegin
(ctx *context, win *Window, title string)
nucular.go:235
↓ 3 callersFunctionpanelEnd
(ctx *context, window *Window)
nucular.go:530
↓ 3 callersMethodpopupOpen
(title string, flags WindowFlags, rect rect.Rect, scale bool, updateFn UpdateFn)
nucular.go:2713
↓ 3 callersMethodreflow
()
richtext/draw.go:403
↓ 3 callersMethodreset
()
nucular.go:189
↓ 3 callersMethodselectLine
(end int)
text.go:327
↓ 3 callersFunctionsendSelectionNotify
(e xproto.SelectionRequestEvent)
clipboard/clipboard_x11.go:180
↓ 3 callersFunctionseparateStyles
separateStyles takes a slice of possibly overlapping styles and makes it non-overlapping.
richtext/rtxt.go:723
← previousnext →101–200 of 604, ranked by callers