Lines Matching defs:x
68 private $x;
166 * @param int $x
169 public function setDimensions($x, $y)
171 $this->max_x = $x - 1;
173 $this->x = $this->y = 0;
231 $this->old_x = $this->x;
233 $this->x = $this->y = 0;
248 $this->screen[$this->y] = substr($this->screen[$this->y], 0, $this->x);
250 array_splice($this->attrs[$this->y], $this->x + 1, $this->max_x - $this->x, array_fill($this->x, $this->max_x - ($this->x - 1), $this->base_attr_cell));
253 $this->screen[$this->y] = str_repeat(' ', $this->x);
262 $this->x = 0;
271 $this->old_x = $this->x;
273 $this->x = $match[2] - 1;
277 $this->old_x = $this->x;
278 $this->x += $match[1];
281 $this->old_x = $this->x;
282 $this->x -= $match[1];
283 if ($this->x < 0) {
284 $this->x = 0;
358 $this->x = 0;
364 if ($this->x) {
365 $this->x--;
366 $this->attrs[$this->y][$this->x] = clone $this->base_attr_cell;
370 $this->x,
385 $this->attrs[$this->y][$this->x] = clone $this->attr_cell;
386 if ($this->x > strlen($this->screen[$this->y])) {
387 $this->screen[$this->y] = str_repeat(' ', $this->x);
392 $this->x,
396 if ($this->x > $this->max_x) {
397 $this->x = 0;
400 $this->x++;
528 * Returns the current screen and the x previous lines