12 this.scrollToItem(
this, 0);
14 float m = p.firstChild.
rows / this.viewportHeight;
18 p.resizeNotify(p, relOrigin, relSize, absOrigin, absSize);
21 #define X(mouseFunc) \ 22 METHOD(XonoticScrollPanel, mouseFunc, bool(XonoticScrollPanel this, vector pos)) \ 24 SUPER(XonoticScrollPanel).mouseFunc(this, pos); \ 25 XonoticTab p = this.currentPanel; \ 26 this.setFocus(this, p); \ 28 vector o = -eY * this.scrollPos; \ 29 vector s = eX * (1 - this.controlWidth) + eY * this.itemHeight; \ 30 return p.mouseFunc(p, globalToBox(pos, o, s)); \ 39 METHOD(XonoticScrollPanel, keyFunc, bool(XonoticScrollPanel this, int key, int ascii, bool shift)) \ 41 XonoticTab p = this.currentPanel; \ 42 return p.keyFunc(p, key, ascii, shift) || SUPER(XonoticScrollPanel).keyFunc(this, key, ascii, shift); \
#define METHOD(cname, name, prototype)
vector(float skel, float bonenum) _skel_get_boneabs_hidden