nothing works :D
This commit is contained in:
parent
eb66424e3c
commit
ede3ed3eed
@ -94,7 +94,10 @@ class ScriptSettings implements ConfiguratorMenu,CallbackListener {
|
||||
$pagerNext->setPosition($width * 0.45, $height * -0.44, 2);
|
||||
$pagerNext->setSize($pagerSize, $pagerSize);
|
||||
$pagerNext->setSubStyle(Quad_Icons64x64_1::SUBSTYLE_ArrowNext);
|
||||
|
||||
|
||||
$script->addPager($pagerPrev, -1);
|
||||
$script->addPager($pagerNext, 1);
|
||||
|
||||
$pageCountLabel = new Label();
|
||||
$frame->add($pageCountLabel);
|
||||
$pageCountLabel->setHAlign(Control::RIGHT);
|
||||
@ -176,9 +179,8 @@ class ScriptSettings implements ConfiguratorMenu,CallbackListener {
|
||||
|
||||
$y -= $settingHeight;
|
||||
if ($index % $pageMaxCount == $pageMaxCount - 1) {
|
||||
unset($pageFrame);
|
||||
}else{
|
||||
$script->addPage($pageFrame, $index, "test"); //TODO not working
|
||||
unset($pageFrame);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -338,8 +338,6 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
|
||||
$jukeQuad->setAction(self::ACTION_JUKE_MAP . "." . $map->uid);
|
||||
$jukeQuad->setText("+");
|
||||
$jukeQuad->setTextColor("09F");
|
||||
|
||||
|
||||
$descriptionLabel->setText("Add Map to Jukebox: {$map->name}");
|
||||
$script->addTooltip($jukeQuad, $descriptionLabel);
|
||||
}
|
||||
|
@ -258,6 +258,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener {
|
||||
$descriptionLabel->setVisible(false);
|
||||
$descriptionLabel->setText("Advanced Player Actions on " . $listPlayer->nickname);
|
||||
$script->addTooltip($playerQuad, $descriptionLabel);
|
||||
// $script->addProfileButton($playerQuad, $listPlayer->login);
|
||||
|
||||
//Force to Red-Team Quad
|
||||
$redQuad = new Quad_Emblems();
|
||||
|
@ -158,9 +158,8 @@ class PluginMenu implements CallbackListener, ConfiguratorMenu {
|
||||
|
||||
$y -= $entryHeight;
|
||||
if ($index % $pageMaxCount == $pageMaxCount - 1) {
|
||||
unset($pageFrame);
|
||||
}else{
|
||||
$script->addPage($pageFrame, 1, "test");
|
||||
unset($pageFrame);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user