libraries/ManiaLib/Gui/Cards/Navigation/Menu.php
function addItem($topItem = self::BUTTONS_TOP)
    {
        $item = new Button();
        $item->setSubStyle(Bgs1::BgEmpty);
        if ($topItem == self::BUTTONS_TOP) {
            $this->items[] = $item;
        } else {
            $this->bottomItems[] = $item;
        }
        $this->lastItem = $item;
    }
function addItem($topItem = self::BUTTONS_TOP)
    {
        $item = new Button();
        $item->setSubStyle(Bgs1::BgEmpty);
        if ($topItem == self::BUTTONS_TOP) {
            $this->items[] = $item;
        } else {
            $this->bottomItems[] = $item;
        }
        $this->lastItem = $item;
    }
Adds a navigation button to the menu