start pluginmenu

This commit is contained in:
kremsy 2013-12-09 20:38:37 +01:00
parent afb0b35540
commit 9490908fc1

View File

@ -2,6 +2,7 @@
namespace ManiaControl\Plugins; namespace ManiaControl\Plugins;
use FML\Controls\Labels\Label_Button;
use FML\Controls\Quad; use FML\Controls\Quad;
use FML\Controls\Quads\Quad_Icons64x64_1; use FML\Controls\Quads\Quad_Icons64x64_1;
use ManiaControl\ManiaControl; use ManiaControl\ManiaControl;
@ -104,6 +105,15 @@ class PluginMenu implements ConfiguratorMenu {
$tooltips->add($nameLabel, $descriptionLabel); $tooltips->add($nameLabel, $descriptionLabel);
//TODO set aktive button //TODO set aktive button
$aktivButton = new Quad();
$aktivButton->setBgColor("Red");
$aktivButton->setHeight(10);
$aktivButton->setWidth(10);
$aktivButton->setX($width * 0.2);
$settingFrame->add($aktivButton);
//$aktivButton = new Labels\Label_Button();
$y -= $entryHeight; $y -= $entryHeight;
// if ($index % $pageMaxCount == $pageMaxCount - 1) { // if ($index % $pageMaxCount == $pageMaxCount - 1) {
// unset($pageFrame); // unset($pageFrame);