nothing works :D

This commit is contained in:
kremsy 2013-12-31 11:05:14 +01:00
parent eb66424e3c
commit ede3ed3eed
4 changed files with 7 additions and 7 deletions

View File

@ -95,6 +95,9 @@ class ScriptSettings implements ConfiguratorMenu,CallbackListener {
$pagerNext->setSize($pagerSize, $pagerSize); $pagerNext->setSize($pagerSize, $pagerSize);
$pagerNext->setSubStyle(Quad_Icons64x64_1::SUBSTYLE_ArrowNext); $pagerNext->setSubStyle(Quad_Icons64x64_1::SUBSTYLE_ArrowNext);
$script->addPager($pagerPrev, -1);
$script->addPager($pagerNext, 1);
$pageCountLabel = new Label(); $pageCountLabel = new Label();
$frame->add($pageCountLabel); $frame->add($pageCountLabel);
$pageCountLabel->setHAlign(Control::RIGHT); $pageCountLabel->setHAlign(Control::RIGHT);
@ -176,9 +179,8 @@ class ScriptSettings implements ConfiguratorMenu,CallbackListener {
$y -= $settingHeight; $y -= $settingHeight;
if ($index % $pageMaxCount == $pageMaxCount - 1) { if ($index % $pageMaxCount == $pageMaxCount - 1) {
unset($pageFrame);
}else{
$script->addPage($pageFrame, $index, "test"); //TODO not working $script->addPage($pageFrame, $index, "test"); //TODO not working
unset($pageFrame);
} }
} }

View File

@ -338,8 +338,6 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
$jukeQuad->setAction(self::ACTION_JUKE_MAP . "." . $map->uid); $jukeQuad->setAction(self::ACTION_JUKE_MAP . "." . $map->uid);
$jukeQuad->setText("+"); $jukeQuad->setText("+");
$jukeQuad->setTextColor("09F"); $jukeQuad->setTextColor("09F");
$descriptionLabel->setText("Add Map to Jukebox: {$map->name}"); $descriptionLabel->setText("Add Map to Jukebox: {$map->name}");
$script->addTooltip($jukeQuad, $descriptionLabel); $script->addTooltip($jukeQuad, $descriptionLabel);
} }

View File

@ -258,6 +258,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener {
$descriptionLabel->setVisible(false); $descriptionLabel->setVisible(false);
$descriptionLabel->setText("Advanced Player Actions on " . $listPlayer->nickname); $descriptionLabel->setText("Advanced Player Actions on " . $listPlayer->nickname);
$script->addTooltip($playerQuad, $descriptionLabel); $script->addTooltip($playerQuad, $descriptionLabel);
// $script->addProfileButton($playerQuad, $listPlayer->login);
//Force to Red-Team Quad //Force to Red-Team Quad
$redQuad = new Quad_Emblems(); $redQuad = new Quad_Emblems();

View File

@ -158,9 +158,8 @@ class PluginMenu implements CallbackListener, ConfiguratorMenu {
$y -= $entryHeight; $y -= $entryHeight;
if ($index % $pageMaxCount == $pageMaxCount - 1) { if ($index % $pageMaxCount == $pageMaxCount - 1) {
unset($pageFrame);
}else{
$script->addPage($pageFrame, 1, "test"); $script->addPage($pageFrame, 1, "test");
unset($pageFrame);
} }
} }