Пример #1
0
 function destroy()
 {
     parent::destroy();
     $this->buttonMin = null;
     $this->buttonMax = null;
     $thumbnail = GuiHandler::getInstance()->getThumbnail($this);
     if ($thumbnail) {
         $thumbnail->destroy();
     }
 }
Пример #2
0
 function destroy()
 {
     parent::destroy();
     $this->options->destroy();
 }
Пример #3
0
 protected function onResize($oldX, $oldY)
 {
     parent::onResize($oldX, $oldY);
     $this->text->setSize($this->sizeX - 4, $this->sizeY - 6);
 }