MCPcopy Create free account
hub / github.com/Veerzeng/GraphicAlgorithm / Scrollbar

Method Scrollbar

SDK/imgui_master/imgui_widgets.cpp:698–801  ·  view source on GitHub ↗

Vertical/Horizontal scrollbar The entire piece of code below is rather confusing because: - We handle absolute seeking (when first clicking outside the grab) and relative manipulation (afterward or when clicking inside the grab) - We store values as normalized ratio and in a form that allows the window content to change while we are holding on a scrollbar - We handle both horizontal and vertical s

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 9

ImVec2Class · 0.85
ImClampFunction · 0.85
ImMaxFunction · 0.85
ImSaturateFunction · 0.85
ImLerpFunction · 0.85
ImMinFunction · 0.85
GetIDMethod · 0.80
AddRectFilledMethod · 0.80
ImRectFunction · 0.70

Tested by

no test coverage detected