MCPcopy Create free account
hub / github.com/OpenSpace/OpenSpace / ScrollbarEx

Method ScrollbarEx

modules/imgui/ext/imgui/imgui_widgets.cpp:894–983  ·  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 7

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

Tested by

no test coverage detected