public Inventory(Coord c, Coord sz, Widget parent) {
		super(c, invSqSizeSubOne.mul(sz).add(new Coord(17, 1)), parent);
		isz = sz;
		if (parent.canhastrash) {
			trash = new IButton(Coord.z, this, tbtni[0], tbtni[1], tbtni[2]);
			trash.visible = true;
		} else {
			trash = null;
		}
		recalcsz();
	}