fixed labelline + FML control update

This commit is contained in:
kremsy 2017-03-30 17:11:27 +02:00
parent 63ee8a9ae4
commit e39b903ebd
3 changed files with 888 additions and 856 deletions

View File

@ -243,7 +243,7 @@ class ManiaExchangeList implements CallbackListener, ManialinkPageAnswerListener
$labelLine->addLabelEntryText($map->id, $posX + 3.5, 9);
$labelLine->addLabelEntryText($map->name, $posX + 12.5, 38.5);
$labelLine->addLabelEntryText($map->author, $posX + 59,-1,self::ACTION_GET_MAPS_FROM_AUTHOR . '.' . $map->author); //FIXME with > 1 disables the ml
$labelLine->addLabelEntryText($map->author, $posX + 59, 44, self::ACTION_GET_MAPS_FROM_AUTHOR . '.' . $map->author);
$labelLine->addLabelEntryText(str_replace('Arena', '', $map->maptype), $posX + 103, 15);
$labelLine->addLabelEntryText($map->mood, $posX + 118, 12);
$labelLine->addLabelEntryText($time, $posX + 130, $width - ($posX + 130));
@ -251,7 +251,6 @@ class ManiaExchangeList implements CallbackListener, ManialinkPageAnswerListener
$labelLine->setPrefix('$s');
$labelLine->render();
$mapFrame->setY($posY);
$mxQuad = new Quad();

View File

@ -52,6 +52,7 @@ class LabelLine implements UsageInformationAble {
}
if ($width) {
$label->setWidth($width);
$label->setHeight(5); //TODO verify if 5 is ok for everywhere
}
$this->addLabel($label);
}

File diff suppressed because it is too large Load Diff