| 1 | package Term::Fabulous::Widget::TextNode; | ||
| 2 | |||
| 3 | use v5.32; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | our $VERSION = '0.05'; | ||
| 7 | |||
| 8 | use Object::Pad 0.825; | ||
| 9 | |||
| 10 | use Clay::UI::Role::Interaction::Focusable; | ||
| 11 | |||
| 12 | # The Clay::UI roles behind Term::Fabulous::Widget::Text, kept in a | ||
| 13 | # parent class so that Text can override their methods (an Object::Pad | ||
| 14 | # class cannot override a method of a role it composes itself). | ||
| 15 | class Term::Fabulous::Widget::TextNode | ||
| 16 | :does(Clay::UI::Text) | ||
| 17 | :does(Clay::UI::Role::Interaction::Focusable) | ||
| 18 | :abstract | ||
| 19 | { | ||
| 20 | } | ||
| 21 | |||
| 22 | 1; | ||
| 23 | |||
| 24 | __END__ |