Scroller(3I)
π Scroller β scrolling an interactor β¨
okay bestie, welcome to Scroller(3I), from the InterViews Reference Manual π β this is the glow-up your interactor's perspective has been waiting for π«Ά
πΈ NAME πΈ
Scroller, HScroller, VScroller β literally just scrolling an interactor, that's the whole vibe π
π SYNOPSIS π
#include <InterViews/scroller.h>
β¨ DESCRIPTION β¨
so a scroller is an interactor whose whole main character energy is manipulating the perspective of another interactor π«. It's got a bar, and that bar's position and size are reflecting the current origin and size inside the other interactor's perspective β like a little mirror of where you are, no cap πͺ.
Click and drag in the scroller? Boom, you just modified the attached interactor's perspective. That's it, that's the job π .
VScrollerβ the class for defining vertical scrollers, she goes up and down π¦HScrollerβ the class for defining horizontal scrollers, she goes side to side π
π PUBLIC OPERATIONS π
HScroller(Interactor*, int size = 0)VScroller(Interactor*, int size = 0)
Create a scroller of a given size β and yes, that size means height for a horizontal scroller and width for a vertical scroller π. Passing a size of zero means: bestie, just use the default size, she knows what she's doing πβοΈ.
virtual void Update()
Redisplay the scroller so it reflects a change in the interactor's perspective π. It's giving "refresh the mirror, queen."
π X DEFAULTS π
The syncScroll resource is the one deciding whether your scroller works in real-time or not β±οΈ.
- When synchronized scrolling is employed, the interactor scrolls synchronously as the scroller's bar is dragged β instant, live, no delay, obsessed πβ¨
- Otherwise, only the bar's outline follows the mouse while you're dragging, and the interactor is scrolled only after the user stops dragging the bar π±οΈ (so, like, a little suspense first).
Scrollers will scroll synchronously if their syncScroll resource is set to on or true β
.
π‘ little hack for you: the state of thesyncScrollattribute can be toggled temporarily by holding down thecontrolkey while the scroller is manipulated ππ₯
π¦ SEE ALSO π¦
Interactor(3I)Perspective(3I)
okay that's the whole page, you ate it up fr fr π go scroll something, you've earned it π«Ά
InterViews β 15 June 1987 β signing off, mwah ππβ¨
π¦ where this page comes from
- debian bookworm: ivtools-dev 2.0.11d.a1-1+b4
- debian trixie: ivtools-dev 2.0.11d.a1-3+b4
- ubuntu jammy: ivtools-dev 2.0.11d.a1-1build1
- ubuntu noble: ivtools-dev 2.0.11d.a1-3build1
- ubuntu questing: ivtools-dev 2.0.11d.a1-3build7
- ubuntu resolute: ivtools-dev 2.0.11d.a1-3build9
- ubuntu stonking: ivtools-dev 2.1.1+git.2025.07.26.a1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms