MCPcopy Create free account

hub / github.com/andlabs/libui / functions

Functions1,776 in github.com/andlabs/libui

↓ 3 callersFunctiononCodepointBoundary
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 callersFunctiononEdited
unix/OLD_table.c:191
↓ 3 callersFunctiononEdited
unix/table.c:77
↓ 3 callersFunctionpointLocations
examples/histogram/main.c:43
↓ 3 callersFunctionprintDebug
windows/debug.cpp:6
↓ 3 callersFunctionqueueRedrawSampleText
windows/fontdialog.cpp:177
↓ 3 callersFunctionrecomputeGraphemes
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 callersFunctionrepositionButtons
_doc/misctests/winbuttonexplorertheme.cpp:609
↓ 3 callersFunctionscrollby
windows/areascroll.cpp:51
↓ 3 callersFunctionsetEditable
unix/table.c:56
↓ 3 callersFunctionsetSolidBrush
helper to quickly set a brush color
examples/histogram/main.c:23
↓ 3 callersFunctionshouldRun
windows/events.cpp:69
↓ 3 callersFunctionshowHidePage
windows/tab.cpp:54
↓ 3 callersFunctionstyleChanged
windows/fontdialog.cpp:183
↓ 3 callersFunctionsync
windows/menu.cpp:46
↓ 3 callersFunctiontryFindFamily
windows/fontdialog.cpp:705
↓ 3 callersFunctionuiAttributeFeatures
common/attribute.c:225
↓ 3 callersFunctionuiAttributeUnderlineColor
common/attribute.c:210
↓ 3 callersFunctionuiColorButtonOnChanged
unix/colorbutton.c:51
↓ 3 callersFunctionuiControlEnabled
common/control.c:45
↓ 3 callersFunctionuiDateTimePickerSetTime
unix/datetimepicker.c:587
↓ 3 callersFunctionuiDrawPathLineTo
windows/drawpath.cpp:174
↓ 3 callersFunctionuiDrawTextLayoutLineByteRange
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 callersFunctionuiEntrySetReadOnly
unix/entry.c:53
↓ 3 callersFunctionuiFormSetPadded
unix/form.c:132
↓ 3 callersFunctionuiFreeAttributedString
common/attrstr.c:66
↓ 3 callersFunctionuiMenuItemDisable
unix/menu.c:104
↓ 3 callersFunctionuiNewForm
unix/form.c:144
↓ 3 callersFunctionuiNewPasswordEntry
unix/entry.c:84
↓ 3 callersFunctionuiNewSearchEntry
TODO make it use a separate function to be type-safe
unix/entry.c:94
↓ 3 callersFunctionuiNewUnderlineAttribute
common/attribute.c:186
↓ 3 callersFunctionuiNewVerticalSeparator
unix/separator.c:24
↓ 3 callersFunctionuiOpenFile
unix/stddialogs.c:36
↓ 3 callersFunctionuiSaveFile
unix/stddialogs.c:41
↓ 3 callersFunctionuiSliderValue
unix/slider.c:28
↓ 3 callersFunctionuiTableAppendTextColumn
TODO rename modelCOlumn and params everywhere
unix/table.c:365
↓ 3 callersFunctionuiTableColumnAppendTextPart
unix/OLD_table.c:221
↓ 3 callersFunctionuiWindowContentSize
unix/window.c:128
↓ 3 callersFunctionuiWindowPosition
TODO allow specifying either as NULL on all platforms
_abort/windowevents/unix_window.c:38
↓ 3 callersFunctionuiWindowSetPosition
_abort/windowevents/unix_window.c:47
↓ 3 callersFunctionuiWindowsControlAssignSoleControlIDZOrder
windows/control.cpp:83
↓ 3 callersFunctionuiWindowsSizingStandardPadding
windows/sizing.cpp:57
↓ 3 callersFunctionuiprivChildRemove
unix/child.c:72
↓ 3 callersFunctionuiprivChildSetMargined
unix/child.c:117
↓ 3 callersFunctionuiprivFontCollectionCorrectString
windows/dwrite.cpp:55
↓ 3 callersFunctionuiprivFontCollectionFamilyName
windows/dwrite.cpp:41
↓ 3 callersFunctionuiprivGraphemesTakesUTF16
unix/graphemes.c:5
↓ 3 callersFunctionuiprivItalicToDWriteStyle
windows/fontmatch.cpp:35
↓ 3 callersFunctionuiprivRealloc
windows/alloc.cpp:40
↓ 3 callersFunctionuiprivRunPath
unix/drawpath.c:141
↓ 3 callersFunctionuiprivShouldQuit
common/shouldquit.c:19
↓ 3 callersFunctionuiprivStretchToDWriteStretch
windows/fontmatch.cpp:40
↓ 3 callersFunctionuiprivUTF16EncodeRune
common/utf.h:43
↓ 3 callersFunctionuiprivWeightToDWriteWeight
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 callersFunctionupdatepos
_abort/windowevents/page15.c:23
↓ 3 callersFunctionupdatesize
test/page15.c:188
↓ 3 callersFunctionvalue
windows/spinbox.cpp:16
↓ 2 callersMethodAddRef
_wip/attrstr_metrics/windows_OLD_drawtext.cpp:264
↓ 2 callersFunctionLFtoCRLF
Let's shove these utility routines here too. Prerequisite: lfonly is UTF-8.
windows/utf16.cpp:93
↓ 2 callersFunctionadd
windows/grid.cpp:579
↓ 2 callersFunctionaddAttr
_wip/attrstr_metrics/unix_OLD__old_drawtext.c:192
↓ 2 callersFunctionaddCheckboxColumn
unix/table.c:405
↓ 2 callersFunctionaddImageColumn
unix/table.c:373
↓ 2 callersFunctionapplyClip
windows/draw.cpp:271
↓ 2 callersFunctionapplyColor
unix/OLD_table.c:122
↓ 2 callersFunctionapplyColor
unix/table.c:42
↓ 2 callersFunctionareaKeyEvent
unix/area.c:385
↓ 2 callersFunctionareaKeyEvent
windows/areaevents.cpp:255
↓ 2 callersFunctionattrDelete
returns the old a->next, for forward iteration
common/attrlist.c:128
↓ 2 callersFunctionblend
windows/tabledraw.cpp:511
↓ 2 callersFunctionboxArrangeChildren
windows/box.cpp:246
↓ 2 callersFunctionboxPadding
windows/box.cpp:19
↓ 2 callersFunctionboxRelayout
windows/box.cpp:31
↓ 2 callersMethodbuttonMetrics
TODO for win7: the sizes are correct (according to UI Automation) but they don't visually match?
_doc/misctests/winbuttonexplorertheme.cpp:286
↓ 2 callersMethodbuttonTextArrowSeparationXDIP
_doc/misctests/winbuttonexplorertheme.cpp:192
↓ 2 callersFunctioncapture
windows/areaevents.cpp:60
↓ 2 callersFunctioncbAddString
windows/fontdialog.cpp:38
↓ 2 callersFunctioncbSetCurSel
windows/fontdialog.cpp:86
↓ 2 callersFunctioncbSetItemData
windows/fontdialog.cpp:68
↓ 2 callersFunctioncbWipeAndReleaseData
windows/fontdialog.cpp:102
↓ 2 callersFunctioncellRendererButtonSize
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 callersFunctioncgaddrect
test/drawtests.c:1892
↓ 2 callersFunctioncommonItemDialog
windows/stddialogs.cpp:19
↓ 2 callersFunctionconstructGraph
examples/histogram/main.c:61
↓ 2 callersFunctiond2dScratchDoLButtonDown
windows/d2dscratch.cpp:44
↓ 2 callersFunctiond2dScratchDoPaint
TODO clip rect
windows/d2dscratch.cpp:20
↓ 2 callersFunctiondestroy
common/attribute.c:49
↓ 2 callersFunctiondoPaint
windows/areadraw.cpp:5
↓ 2 callersFunctiondrawArc
windows/drawpath.cpp:84
↓ 2 callersFunctiondrawArrow
windows/colordialog.cpp:572
↓ 2 callersFunctiondrawExplorerBackground
TODO check errors TODO extract colors from the theme
_doc/misctests/winrebarexplorertheme.cpp:65
↓ 2 callersMethoddrawFolderBar
_doc/misctests/winbuttonexplorertheme.cpp:232
↓ 2 callersFunctionendColorDialog
windows/colordialog.cpp:994
↓ 2 callersFunctionendFontDialog
windows/fontdialog.cpp:502
↓ 2 callersFunctionensureMinimumWindowSize
this cannot queue a resize because it's called by the resize handler
windows/window.cpp:502
↓ 2 callersFunctionfamilyChanged
windows/fontdialog.cpp:209
↓ 2 callersFunctionfamilyEdited
TODO search language variants like the sample does
windows/fontdialog.cpp:271
↓ 2 callersFunctionfiledialog
unix/stddialogs.c:9
↓ 2 callersFunctionfilltareas
test/page15.c:32
↓ 2 callersFunctionfinishMultilineEntry
unix/multilineentry.c:88
← previousnext →301–400 of 1,776, ranked by callers