Exemple #1
0
 protected function preFilter()
 {
     if (!$this->isSelected && $this->text->getText()) {
         $this->text->setText(self::$unselectedTextStyle . $this->text->getText());
     }
     $this->text->addLink($this);
     $this->icon->addLink($this);
 }
Exemple #2
0
 protected function preFilter()
 {
     $this->subTitle->setText('$o$999' . $this->subTitle->getText());
     if ($this->showQuitButton) {
         $this->quitButton->text->setText('$09f' . $this->quitButton->text->getText());
         $this->quitButton->text->setPosX($this->quitButton->text->getPosX() - 1);
         $this->addCardElement($this->quitButton);
     }
 }