ref: 0adb432869b58347d874cd8961584817cd478c26
dir: /scroll.h/
typedef struct Scroll Scroll; struct Scroll { Rectangle r; uint p₀, p₁, tot; Image *image, *cols[NCOL]; }; Rectangle scrollinit(Scroll *s, Rectangle r, Image *b, Image **cols); void scrollpos(Scroll *s, uint p₀, uint p₁, uint tot); int scrollactive(Scroll *s, Mouse *m); uint scrollscr(Scroll *s, Mouse *m);