12 me.mouseFocusedChild =
NULL;
25 me.setFocus(me,
NULL);
37 for (ff = f.prevSibling; ff; ff = ff.prevSibling)
39 if (!ff.focusable)
continue;
44 if (!f || me.isTabRoot)
46 for (ff = me.lastChild; ff; ff = ff.prevSibling)
48 if (!ff.focusable)
continue;
59 for (ff = f.nextSibling; ff; ff = ff.nextSibling)
61 if (!ff.focusable)
continue;
66 if (!f || me.isTabRoot)
68 for (ff = me.firstChild; ff; ff = ff.nextSibling)
70 if (!ff.focusable)
continue;
83 entity e = this.itemFromPoint(
this, pos);
84 if (e && !e.focusable) e =
NULL;
86 this.mouseFocusedChild = e;
89 this.setFocus(
this, e);
90 if (e && e.instanceOfInputContainer)
92 e.focusedChild =
NULL;
93 e._changeFocusXY(e,
globalToBox(pos, e.Container_origin, e.Container_size));
102 if (pos.x >= 0 && pos.y >= 0 && pos.x < 1 && pos.y < 1)
return 1;
107 if (me.mouseFocusedChild != me.focusedChild)
108 me.mouseFocusedChild =
NULL;
109 if (me._changeFocusXY(me, pos))
111 if (pos.x >= 0 && pos.y >= 0 && pos.x < 1 && pos.y < 1)
return 1;
116 this.mouseFocusedChild =
NULL;
119 if (pos.x >= 0 && pos.y >= 0 && pos.x < 1 && pos.y < 1)
return true;
126 if (me._changeFocusXY(me, pos))
return 1;
127 if (pos.x >= 0 && pos.y >= 0 && pos.x < 1 && pos.y < 1)
return 1;
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
#define METHOD(cname, name, prototype)