| 1 | ##---------------------------------------------------------------------------- | ||||||||||
| 2 | ## HTML Object - ~/lib/HTML/Object/DOM/Screen.pm | ||||||||||
| 3 | ## Version v0.2.0 | ||||||||||
| 4 | ## Copyright(c) 2021 DEGUEST Pte. Ltd. | ||||||||||
| 5 | ## Author: Jacques Deguest <jack@deguest.jp> | ||||||||||
| 6 | ## Created 2021/12/31 | ||||||||||
| 7 | ## Modified 2022/09/18 | ||||||||||
| 8 | ## All rights reserved. | ||||||||||
| 9 | ## | ||||||||||
| 10 | ## | ||||||||||
| 11 | ## This program is free software; you can redistribute it and/or modify it | ||||||||||
| 12 | ## under the same terms as Perl itself. | ||||||||||
| 13 | ##---------------------------------------------------------------------------- | ||||||||||
| 14 | package HTML::Object::DOM::Screen; | ||||||||||
| 15 | BEGIN | ||||||||||
| 16 | { | ||||||||||
| 17 | 35 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 18 | 35 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 19 | 35 | ▶ | warnings::register_categories( 'HTML::Object' ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 20 | 35 | ▶ | use parent qw( HTML::Object::EventTarget ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 21 | 35 | ▶ | use vars qw( $VERSION ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 22 | 35 | our $VERSION = 'v0.2.0'; | |||||||||
| 23 | }; | ||||||||||
| 24 | |||||||||||
| 25 | 35 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 26 | 35 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 27 | |||||||||||
| 28 | sub init | ||||||||||
| 29 | { | ||||||||||
| 30 | 35 | ▶ | my $self = shift( @_ ); | ||||||||
|
Subroutine
init: called CC=2 SCAR=7.0
Pod
documented
| |||||||||||
| 31 | 35 | $self->{tag} = 'screen'; | |||||||||
| 32 | 35 | $self->{_init_strict_use_sub} = 1; | |||||||||
| 33 | 35 | ▶ | $self->SUPER::init( @_ ) || return( $self->pass_error ); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 34 | 35 | return( $self ); | |||||||||
| 35 | } | ||||||||||
| 36 | |||||||||||
| 37 | # Note: property availHeight | ||||||||||
| 38 | 0 | ▶ | sub availHeight : lvalue { return( shift->_set_get_number( 'availheight', @_ ) ); } | ||||||||
|
Subroutine
availHeight: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 39 | |||||||||||
| 40 | # Note: property availLeft | ||||||||||
| 41 | 0 | ▶ | sub availLeft : lvalue { return( shift->_set_get_number( 'availleft', @_ ) ); } | ||||||||
|
Subroutine
availLeft: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 42 | |||||||||||
| 43 | # Note: property availTop | ||||||||||
| 44 | 0 | ▶ | sub availTop : lvalue { return( shift->_set_get_number( 'availtop', @_ ) ); } | ||||||||
|
Subroutine
availTop: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 45 | |||||||||||
| 46 | # Note: property availWidth | ||||||||||
| 47 | 0 | ▶ | sub availWidth : lvalue { return( shift->_set_get_number( 'availwidth', @_ ) ); } | ||||||||
|
Subroutine
availWidth: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 48 | |||||||||||
| 49 | # Note: property colorDepth | ||||||||||
| 50 | 0 | ▶ | sub colorDepth : lvalue { return( shift->_set_get_number( 'colordepth', @_ ) ); } | ||||||||
|
Subroutine
colorDepth: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 51 | |||||||||||
| 52 | # Note: property height | ||||||||||
| 53 | 0 | ▶ | sub height : lvalue { return( shift->_set_get_number( 'height', @_ ) ); } | ||||||||
|
Subroutine
height: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 54 | |||||||||||
| 55 | # Note: property left | ||||||||||
| 56 | 0 | ▶ | sub left : lvalue { return( shift->_set_get_number( 'left', @_ ) ); } | ||||||||
|
Subroutine
left: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 57 | |||||||||||
| 58 | 0 | ▶ | sub lockOrientation { return( shift->_set_get_scalar_as_object( 'lockorientation', @_ ) ); } | ||||||||
|
Subroutine
lockOrientation: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 59 | |||||||||||
| 60 | # Note: property mozBrightness | ||||||||||
| 61 | 0 | ▶ | sub mozBrightness : lvalue { return( shift->_set_get_number( 'mozbrightness', @_ ) ); } | ||||||||
|
Subroutine
mozBrightness: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 62 | |||||||||||
| 63 | # Note: property mozEnabled | ||||||||||
| 64 | 0 | ▶ | sub mozEnabled : lvalue { return( shift->_set_get_boolean( 'mozenabled', @_ ) ); } | ||||||||
|
Subroutine
mozEnabled: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 65 | |||||||||||
| 66 | # Note: property orientation | ||||||||||
| 67 | 0 | ▶ | sub orientation : lvalue { return( shift->_set_get_scalar_as_object( 'orientation', @_ ) ); } | ||||||||
|
Subroutine
orientation: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 68 | |||||||||||
| 69 | # Note: property pixelDepth | ||||||||||
| 70 | 0 | ▶ | sub pixelDepth : lvalue { return( shift->_set_get_number( 'pixeldepth', @_ ) ); } | ||||||||
|
Subroutine
pixelDepth: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 71 | |||||||||||
| 72 | # Note: property top | ||||||||||
| 73 | 0 | ▶ | sub top : lvalue { return( shift->_set_get_number( 'top', @_ ) ); } | ||||||||
|
Subroutine
top: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 74 | |||||||||||
| 75 | 0 | ▶ | sub unlockOrientation { return; } | ||||||||
|
Subroutine
unlockOrientation: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 76 | |||||||||||
| 77 | # Note: property width | ||||||||||
| 78 | 0 | ▶ | sub width : lvalue { return( shift->_set_get_number( 'width', @_ ) ); } | ||||||||
|
Subroutine
width: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 79 | |||||||||||
| 80 | 35 | 1; | |||||||||
| 81 | # NOTE: POD | ||||||||||
| 82 | __END__ | ||||||||||