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