reanmed to new FML names
This commit is contained in:
@ -472,18 +472,18 @@ class PlayerActions implements EchoListener, CommunicationListener {
|
||||
|
||||
$maniaLink = new ManiaLink(ManialinkManager::MAIN_MLID);
|
||||
$frame = new Frame();
|
||||
$maniaLink->add($frame);
|
||||
$maniaLink->addChild($frame);
|
||||
$frame->setPosition(0, 10);
|
||||
|
||||
// Background
|
||||
$backgroundQuad = new Quad();
|
||||
$frame->add($backgroundQuad);
|
||||
$frame->addChild($backgroundQuad);
|
||||
$backgroundQuad->setSize($width, $height);
|
||||
$backgroundQuad->setStyles($quadStyle, $quadSubstyle);
|
||||
|
||||
// Close Quad (X)
|
||||
$closeQuad = new Quad_Icons64x64_1();
|
||||
$frame->add($closeQuad);
|
||||
$frame->addChild($closeQuad);
|
||||
$closeQuad->setPosition($width * 0.473, $height * 0.457, 3);
|
||||
$closeQuad->setSize(6, 6);
|
||||
$closeQuad->setSubStyle($closeQuad::SUBSTYLE_QuitRace);
|
||||
@ -491,7 +491,7 @@ class PlayerActions implements EchoListener, CommunicationListener {
|
||||
|
||||
// Headline
|
||||
$label = new Label_Text();
|
||||
$frame->add($label);
|
||||
$frame->addChild($label);
|
||||
$label->setY($height / 2 - 5);
|
||||
$label->setStyle($label::STYLE_TextCardMedium);
|
||||
$label->setTextSize(4);
|
||||
@ -502,7 +502,7 @@ class PlayerActions implements EchoListener, CommunicationListener {
|
||||
foreach ($message as $line) {
|
||||
// Message lines
|
||||
$label = new Label_Text();
|
||||
$frame->add($label);
|
||||
$frame->addChild($label);
|
||||
$label->setY($posY);
|
||||
$label->setStyle($label::STYLE_TextCardMedium);
|
||||
$label->setText($line);
|
||||
|
Reference in New Issue
Block a user