Lines Matching refs:attr_cell
103 private $attr_cell;
147 $attr_cell = new \stdClass();
148 $attr_cell->bold = false;
149 $attr_cell->underline = false;
150 $attr_cell->blink = false;
151 $attr_cell->background = 'black';
152 $attr_cell->foreground = 'white';
153 $attr_cell->reverse = false;
154 $this->base_attr_cell = clone $attr_cell;
155 $this->attr_cell = clone $attr_cell;
290 $attr_cell = &$this->attr_cell;
296 $attr_cell = clone $this->base_attr_cell;
299 $attr_cell->bold = true;
302 $attr_cell->underline = true;
305 $attr_cell->blink = true;
308 $attr_cell->reverse = !$attr_cell->reverse;
309 $temp = $attr_cell->background;
310 $attr_cell->background = $attr_cell->foreground;
311 $attr_cell->foreground = $temp;
314 //$front = $attr_cell->reverse ? &$attr_cell->background : &$attr_cell->foreground;
315 $front = &$attr_cell->{ $attr_cell->reverse ? 'background' : 'foreground' };
316 //$back = $attr_cell->reverse ? &$attr_cell->foreground : &$attr_cell->background;
317 $back = &$attr_cell->{ $attr_cell->reverse ? 'foreground' : 'background' };
385 $this->attrs[$this->y][$this->x] = clone $this->attr_cell;