Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andlabs/libui
/ functions
Functions
1,776 in github.com/andlabs/libui
⨍
Functions
1,776
◇
Types & classes
288
↓ 3 callers
Function
onCodepointBoundary
this works (and returns true, which is what we want) at s->len too because s->s[s->len] is always going to be 0 due to us allocating s->len + 1 bytes
common/attrstr.c:110
↓ 3 callers
Function
onEdited
unix/OLD_table.c:191
↓ 3 callers
Function
onEdited
unix/table.c:77
↓ 3 callers
Function
pointLocations
examples/histogram/main.c:43
↓ 3 callers
Function
printDebug
windows/debug.cpp:6
↓ 3 callers
Function
queueRedrawSampleText
windows/fontdialog.cpp:177
↓ 3 callers
Function
recomputeGraphemes
TODO make sure that all implementations of uiprivNewGraphemes() work fine with empty strings; in particular, the Windows one might not
common/attrstr.c:45
↓ 3 callers
Function
repositionButtons
_doc/misctests/winbuttonexplorertheme.cpp:609
↓ 3 callers
Function
scrollby
windows/areascroll.cpp:51
↓ 3 callers
Function
setEditable
unix/table.c:56
↓ 3 callers
Function
setSolidBrush
helper to quickly set a brush color
examples/histogram/main.c:23
↓ 3 callers
Function
shouldRun
windows/events.cpp:69
↓ 3 callers
Function
showHidePage
windows/tab.cpp:54
↓ 3 callers
Function
styleChanged
windows/fontdialog.cpp:183
↓ 3 callers
Function
sync
windows/menu.cpp:46
↓ 3 callers
Function
tryFindFamily
windows/fontdialog.cpp:705
↓ 3 callers
Function
uiAttributeFeatures
common/attribute.c:225
↓ 3 callers
Function
uiAttributeUnderlineColor
common/attribute.c:210
↓ 3 callers
Function
uiColorButtonOnChanged
unix/colorbutton.c:51
↓ 3 callers
Function
uiControlEnabled
common/control.c:45
↓ 3 callers
Function
uiDateTimePickerSetTime
unix/datetimepicker.c:587
↓ 3 callers
Function
uiDrawPathLineTo
windows/drawpath.cpp:174
↓ 3 callers
Function
uiDrawTextLayoutLineByteRange
DirectWrite doesn't provide a direct way to do this, so we have to do this manually TODO does that comment still apply here or to the code at the top
_wip/attrstr_metrics/windows_OLD_drawtext.cpp:540
↓ 3 callers
Function
uiEntrySetReadOnly
unix/entry.c:53
↓ 3 callers
Function
uiFormSetPadded
unix/form.c:132
↓ 3 callers
Function
uiFreeAttributedString
common/attrstr.c:66
↓ 3 callers
Function
uiMenuItemDisable
unix/menu.c:104
↓ 3 callers
Function
uiNewForm
unix/form.c:144
↓ 3 callers
Function
uiNewPasswordEntry
unix/entry.c:84
↓ 3 callers
Function
uiNewSearchEntry
TODO make it use a separate function to be type-safe
unix/entry.c:94
↓ 3 callers
Function
uiNewUnderlineAttribute
common/attribute.c:186
↓ 3 callers
Function
uiNewVerticalSeparator
unix/separator.c:24
↓ 3 callers
Function
uiOpenFile
unix/stddialogs.c:36
↓ 3 callers
Function
uiSaveFile
unix/stddialogs.c:41
↓ 3 callers
Function
uiSliderValue
unix/slider.c:28
↓ 3 callers
Function
uiTableAppendTextColumn
TODO rename modelCOlumn and params everywhere
unix/table.c:365
↓ 3 callers
Function
uiTableColumnAppendTextPart
unix/OLD_table.c:221
↓ 3 callers
Function
uiWindowContentSize
unix/window.c:128
↓ 3 callers
Function
uiWindowPosition
TODO allow specifying either as NULL on all platforms
_abort/windowevents/unix_window.c:38
↓ 3 callers
Function
uiWindowSetPosition
_abort/windowevents/unix_window.c:47
↓ 3 callers
Function
uiWindowsControlAssignSoleControlIDZOrder
windows/control.cpp:83
↓ 3 callers
Function
uiWindowsSizingStandardPadding
windows/sizing.cpp:57
↓ 3 callers
Function
uiprivChildRemove
unix/child.c:72
↓ 3 callers
Function
uiprivChildSetMargined
unix/child.c:117
↓ 3 callers
Function
uiprivFontCollectionCorrectString
windows/dwrite.cpp:55
↓ 3 callers
Function
uiprivFontCollectionFamilyName
windows/dwrite.cpp:41
↓ 3 callers
Function
uiprivGraphemesTakesUTF16
unix/graphemes.c:5
↓ 3 callers
Function
uiprivItalicToDWriteStyle
windows/fontmatch.cpp:35
↓ 3 callers
Function
uiprivRealloc
windows/alloc.cpp:40
↓ 3 callers
Function
uiprivRunPath
unix/drawpath.c:141
↓ 3 callers
Function
uiprivShouldQuit
common/shouldquit.c:19
↓ 3 callers
Function
uiprivStretchToDWriteStretch
windows/fontmatch.cpp:40
↓ 3 callers
Function
uiprivUTF16EncodeRune
common/utf.h:43
↓ 3 callers
Function
uiprivWeightToDWriteWeight
for the most part, DirectWrite weights correlate to ours the differences: - Minimum — libui: 0, DirectWrite: 1 - Maximum — libui: 1000, DirectWrite: 9
windows/fontmatch.cpp:30
↓ 3 callers
Function
updatepos
_abort/windowevents/page15.c:23
↓ 3 callers
Function
updatesize
test/page15.c:188
↓ 3 callers
Function
value
windows/spinbox.cpp:16
↓ 2 callers
Method
AddRef
_wip/attrstr_metrics/windows_OLD_drawtext.cpp:264
↓ 2 callers
Function
LFtoCRLF
Let's shove these utility routines here too. Prerequisite: lfonly is UTF-8.
windows/utf16.cpp:93
↓ 2 callers
Function
add
windows/grid.cpp:579
↓ 2 callers
Function
addAttr
_wip/attrstr_metrics/unix_OLD__old_drawtext.c:192
↓ 2 callers
Function
addCheckboxColumn
unix/table.c:405
↓ 2 callers
Function
addImageColumn
unix/table.c:373
↓ 2 callers
Function
applyClip
windows/draw.cpp:271
↓ 2 callers
Function
applyColor
unix/OLD_table.c:122
↓ 2 callers
Function
applyColor
unix/table.c:42
↓ 2 callers
Function
areaKeyEvent
unix/area.c:385
↓ 2 callers
Function
areaKeyEvent
windows/areaevents.cpp:255
↓ 2 callers
Function
attrDelete
returns the old a->next, for forward iteration
common/attrlist.c:128
↓ 2 callers
Function
blend
windows/tabledraw.cpp:511
↓ 2 callers
Function
boxArrangeChildren
windows/box.cpp:246
↓ 2 callers
Function
boxPadding
windows/box.cpp:19
↓ 2 callers
Function
boxRelayout
windows/box.cpp:31
↓ 2 callers
Method
buttonMetrics
TODO for win7: the sizes are correct (according to UI Automation) but they don't visually match?
_doc/misctests/winbuttonexplorertheme.cpp:286
↓ 2 callers
Method
buttonTextArrowSeparationXDIP
_doc/misctests/winbuttonexplorertheme.cpp:192
↓ 2 callers
Function
capture
windows/areaevents.cpp:60
↓ 2 callers
Function
cbAddString
windows/fontdialog.cpp:38
↓ 2 callers
Function
cbSetCurSel
windows/fontdialog.cpp:86
↓ 2 callers
Function
cbSetItemData
windows/fontdialog.cpp:68
↓ 2 callers
Function
cbWipeAndReleaseData
windows/fontdialog.cpp:102
↓ 2 callers
Function
cellRendererButtonSize
this is based on what GtkCellRendererText in GTK+ 3.22.30 does TODO compare to 3.10.9 (https://gitlab.gnome.org/GNOME/gtk/blob/3.10.9/gtk/gtkcellrende
unix/cellrendererbutton.c:109
↓ 2 callers
Function
cgaddrect
test/drawtests.c:1892
↓ 2 callers
Function
commonItemDialog
windows/stddialogs.cpp:19
↓ 2 callers
Function
constructGraph
examples/histogram/main.c:61
↓ 2 callers
Function
d2dScratchDoLButtonDown
windows/d2dscratch.cpp:44
↓ 2 callers
Function
d2dScratchDoPaint
TODO clip rect
windows/d2dscratch.cpp:20
↓ 2 callers
Function
destroy
common/attribute.c:49
↓ 2 callers
Function
doPaint
windows/areadraw.cpp:5
↓ 2 callers
Function
drawArc
windows/drawpath.cpp:84
↓ 2 callers
Function
drawArrow
windows/colordialog.cpp:572
↓ 2 callers
Function
drawExplorerBackground
TODO check errors TODO extract colors from the theme
_doc/misctests/winrebarexplorertheme.cpp:65
↓ 2 callers
Method
drawFolderBar
_doc/misctests/winbuttonexplorertheme.cpp:232
↓ 2 callers
Function
endColorDialog
windows/colordialog.cpp:994
↓ 2 callers
Function
endFontDialog
windows/fontdialog.cpp:502
↓ 2 callers
Function
ensureMinimumWindowSize
this cannot queue a resize because it's called by the resize handler
windows/window.cpp:502
↓ 2 callers
Function
familyChanged
windows/fontdialog.cpp:209
↓ 2 callers
Function
familyEdited
TODO search language variants like the sample does
windows/fontdialog.cpp:271
↓ 2 callers
Function
filedialog
unix/stddialogs.c:9
↓ 2 callers
Function
filltareas
test/page15.c:32
↓ 2 callers
Function
finishMultilineEntry
unix/multilineentry.c:88
← previous
next →
301–400 of 1,776, ranked by callers