From 0459a945cee8644e03f4a4eaa49b4aef80dfb561 Mon Sep 17 00:00:00 2001 From: kremsy Date: Sun, 5 Jan 2014 19:10:11 +0100 Subject: [PATCH] mc settings tab --- .../core/Configurators/ManiaControlSettings.php | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/application/core/Configurators/ManiaControlSettings.php b/application/core/Configurators/ManiaControlSettings.php index cf3a490f..aa5a8ab9 100644 --- a/application/core/Configurators/ManiaControlSettings.php +++ b/application/core/Configurators/ManiaControlSettings.php @@ -7,6 +7,7 @@ namespace ManiaControl\Configurators; +use FML\Controls\Frame; use FML\Script\Script; use ManiaControl\ManiaControl; use ManiaControl\Players\Player; @@ -50,8 +51,19 @@ class ManiaControlSettings implements ConfiguratorMenu{ * @return \FML\Controls\Frame */ public function getMenu($width, $height, Script $script) { - var_dump($this->maniaControl->settingManager->getSettings()); - // TODO: Implement getMenu() method. + $pagesId = 'ScriptSettingsPages'; + $frame = new Frame(); + + /** @var ManiaControl/SettingManager $this->maniaControl->settingManager */ + $settings = $this->maniaControl->settingManager->getSettings(); + + foreach($settings as $setting){ + var_dump($setting); + + + } + + return $frame; } /**