function postFilter(\ManiaLib\Gui\Component $item) { $this->yIndex -= $item->getRealSizeY() + $this->marginHeight; if (!$this->maxWidth || $item->getRealSizeX() > $this->maxWidth) { $this->maxWidth = $item->getRealSizeX(); } $this->currentColumnElementCount++; }
function postFilter(\ManiaLib\Gui\Component $item) { $this->xIndex += $item->getRealSizeX() + $this->marginWidth; if (!$this->maxHeight || $item->getRealSizeY() > $this->maxHeight) { $this->maxHeight = $item->getRealSizeY(); } $this->currentLineElementCount++; }
function postFilter(\ManiaLib\Gui\Component $item) { if ($this->direction == self::DIRECTION_DOWN) { $this->yIndex -= $item->getRealSizeY() + $this->marginHeight; } }
final function updateComponent(\ManiaLib\Gui\Component $item) { $item->incPosX($this->xIndex); $item->incPosY($this->yIndex); $item->incPosZ($this->zIndex); }
function postFilter(\ManiaLib\Gui\Component $item) { $this->xIndex += $item->getRealSizeX() + $this->marginWidth; }