| 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 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | 4 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 4 | ▶ | use base qw( Tangence::Object ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | |||||||||||
| 11 | 4 | our $VERSION = '0.173320'; | |||||||||
| 12 | |||||||||||
| 13 | sub new | ||||||||||
| 14 | 10 | ▶ | { | ||||||||
|
Subroutine
new: called CC=3 SCAR=11.0
Pod
undocumented
| |||||||||||
| 15 | 10 | my $class = shift; | |||||||||
| 16 | 10 | my %args = @_; | |||||||||
| 17 | |||||||||||
| 18 | 10 | my $self = $class->SUPER::new( @_ ); | |||||||||
| 19 | |||||||||||
| 20 | 10 | ▶ | $self->set_prop_classes( $args{classes} ) if $args{classes}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 21 | 10 | ▶ | $self->set_prop_focussed( 1 ) if $args{focussed}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 22 | |||||||||||
| 23 | 10 | return $self; | |||||||||
| 24 | } | ||||||||||
| 25 | |||||||||||
| 26 | 4 | 0x55AA; | |||||||||