Lines Matching refs:cur_attr
439 * @param \stdClass $cur_attr
443 private function processCoordinate(\stdClass $last_attr, \stdClass $cur_attr, $char)
447 if ($last_attr != $cur_attr) {
449 if ($last_attr->foreground != $cur_attr->foreground) {
450 if ($cur_attr->foreground != 'white') {
451 $open .= '<span style="color: ' . $cur_attr->foreground . '">';
457 if ($last_attr->background != $cur_attr->background) {
458 if ($cur_attr->background != 'black') {
459 $open .= '<span style="background: ' . $cur_attr->background . '">';
465 if ($last_attr->bold != $cur_attr->bold) {
466 if ($cur_attr->bold) {
472 if ($last_attr->underline != $cur_attr->underline) {
473 if ($cur_attr->underline) {
479 if ($last_attr->blink != $cur_attr->blink) {
480 if ($cur_attr->blink) {
505 $cur_attr = $this->attrs[$i][$j];
506 $output .= $this->processCoordinate($last_attr, $cur_attr, isset($this->screen[$i][$j]) ? $this->screen[$i][$j] : '');
538 $cur_attr = $this->history_attrs[$i][$j];
539 $scrollback .= $this->processCoordinate($last_attr, $cur_attr, isset($this->history[$i][$j]) ? $this->history[$i][$j] : '');