예제 #1
0
 public function __construct(Window $parent, $rows = 0, $cols = 0, $y = 0, $x = 0)
 {
     $width = 80;
     $height = 10;
     $x = ($parent->getMaxX() - $width) / 2;
     $y = ($parent->getMaxY() - $height) / 2;
     parent::__construct($parent, $height, $width, $y, $x);
 }