line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# You may distribute under the terms of the GNU General Public License |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# (C) Paul Evans, 2008-2010 -- leonerd@leonerd.org.uk |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Circle::Widget; |
6
|
|
|
|
|
|
|
|
7
|
4
|
|
|
4
|
|
41
|
use strict; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
81
|
|
8
|
4
|
|
|
4
|
|
12
|
use warnings; |
|
4
|
|
|
|
|
4
|
|
|
4
|
|
|
|
|
76
|
|
9
|
|
|
|
|
|
|
|
10
|
4
|
|
|
4
|
|
10
|
use base qw( Tangence::Object ); |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
472
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub new |
13
|
|
|
|
|
|
|
{ |
14
|
0
|
|
|
0
|
0
|
|
my $class = shift; |
15
|
0
|
|
|
|
|
|
my %args = @_; |
16
|
|
|
|
|
|
|
|
17
|
0
|
|
|
|
|
|
my $self = $class->SUPER::new( @_ ); |
18
|
|
|
|
|
|
|
|
19
|
0
|
0
|
|
|
|
|
$self->set_prop_classes( $args{classes} ) if $args{classes}; |
20
|
0
|
0
|
|
|
|
|
$self->set_prop_focussed( 1 ) if $args{focussed}; |
21
|
|
|
|
|
|
|
|
22
|
0
|
|
|
|
|
|
return $self; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
0x55AA; |