| line |
true |
false |
branch |
|
65
|
1 |
0 |
unless (defined $args{-'width'} and defined $args{-'height'}) |
|
66
|
0 |
1 |
if defined $args{-'text'} |
|
72
|
1 |
0 |
unless (defined $args{-'height'}) |
|
75
|
0 |
1 |
if $l <= 0 |
|
82
|
0 |
1 |
unless defined $args{-'width'} or not defined $args{-'text'} |
|
86
|
1 |
0 |
unless defined $args{-'text'} |
|
99
|
0 |
2 |
unless $this->SUPER::layout |
|
129
|
1 |
1 |
if (defined $text) { } |
|
157
|
0 |
1 |
if (defined $$this{-'textalignment'}) |
|
159
|
0 |
0 |
if ($$this{-'textalignment'} eq 'right') { } |
|
|
0 |
0 |
elsif ($$this{-'textalignment'} eq 'middle') { } |
|
165
|
0 |
1 |
if $xpos < 0 |
|
175
|
0 |
1 |
unless $this->SUPER::draw(1) |
|
185
|
0 |
1 |
if $$this{-'reverse'} |
|
186
|
0 |
1 |
if $$this{-'bold'} |
|
187
|
0 |
1 |
if $$this{-'underline'} |
|
188
|
0 |
1 |
if $$this{-'blink'} |
|
189
|
0 |
1 |
if $$this{-'dim'} |
|
192
|
0 |
1 |
if ($Curses::UI::color_support) |
|
207
|
1 |
0 |
if (length $line > $this->canvaswidth) { } |
|
|
0 |
0 |
elsif ($$this{-'paddingspaces'}) { } |
|
222
|
0 |
1 |
unless $no_doupdate |