Example #1
0
 function __construct($sx = 187.5, $sy = 200)
 {
     parent::__construct($sx, $sy);
     $this->setStyle(Quad::Bgs1);
     $this->setSubStyle(Bgs1::BgWindow2);
     $this->cardElementsHalign = 'center';
     $this->titleBg = new Quad(0, 16.25);
     $this->titleBg->setHalign('center');
     $this->titleBg->setStyle(Quad::Bgs1InRace);
     $this->titleBg->setSubStyle(Bgs1InRace::BgTitle3_1);
     $this->addCardElement($this->titleBg);
     $this->title = new Label();
     $this->title->setAlign('center', 'center2');
     $this->title->setPositionY(-8.25);
     $this->title->setStyle(Label::TextTitle3);
     $this->addCardElement($this->title);
     $this->panelBg = new Quad();
     $this->panelBg->setHalign('center');
     $this->addCardElement($this->panelBg);
 }