| 1 | package Term::Fabulous::Widget::Element; | ||
| 2 | |||
| 3 | 4 | ▶ | use v5.32; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 4 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | our $VERSION = '0.05'; | ||
| 7 | |||
| 8 | 4 | ▶ | use Object::Pad 0.825; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | # The Clay::UI roles a container widget is made of. Term::Fabulous::Widget | ||
| 11 | # inherits them from here so that it can override the role methods (an | ||
| 12 | # Object::Pad class cannot override a method of a role it composes itself). | ||
| 13 | class Term::Fabulous::Widget::Element | ||
| 14 | :does(Clay::UI::Role::Core::Container) | ||
| 15 | |||
| 16 | :does(Clay::UI::Role::Events::Listener) | ||
| 17 | :does(Clay::UI::Role::Events::Emitter) | ||
| 18 | |||
| 19 | :does(Clay::UI::Role::Layout::HasFloating) | ||
| 20 | :does(Clay::UI::Role::Layout::HasLayout) | ||
| 21 | :does(Clay::UI::Role::Layout::HasParent) | ||
| 22 | :does(Clay::UI::Role::Layout::HasSizingGroup) | ||
| 23 | |||
| 24 | :does(Clay::UI::Role::Style::HasBackground) | ||
| 25 | :does(Clay::UI::Role::Style::HasStates) | ||
| 26 | |||
| 27 | :does(Clay::UI::Role::Style::HasBorder) | ||
| 28 | 0 | ▶ | :abstract { |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 29 | } | ||
| 30 | |||
| 31 | 1; | ||
| 32 | |||
| 33 | __END__ | ||