From 80517cb2038cd0cd4d39b8d3077cb17931cfcbea Mon Sep 17 00:00:00 2001 From: Sanko Robinson Date: Tue, 22 Aug 2023 15:12:29 -0400 Subject: [PATCH] Split different types of entry controls into their own packages --- lib/LibUI.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/LibUI.pm b/lib/LibUI.pm index e6c46a4..ae1581a 100644 --- a/lib/LibUI.pm +++ b/lib/LibUI.pm @@ -1211,7 +1211,9 @@ You may import these functions with the C<:entry> tag. =cut - typedef 'LibUI::Entry' => Type ['LibUI::Control']; + typedef 'LibUI::Entry' => Type ['LibUI::Control']; + typedef 'LibUI::PasswordEntry' => Type ['LibUI::Entry']; + typedef 'LibUI::SearchEntry' => Type ['LibUI::Entry']; =head3 C @@ -1291,7 +1293,7 @@ The entered text is NOT readable by the user but masked as C<*******>. =cut - affix $lib, 'uiNewPasswordEntry', [] => Type ['LibUI::Entry']; + affix $lib, 'uiNewPasswordEntry', [] => Type ['LibUI::PasswordEntry']; =head3 C @@ -1304,7 +1306,7 @@ for a more natural feel. =cut - affix $lib, 'uiNewSearchEntry', [] => Type ['LibUI::Entry']; + affix $lib, 'uiNewSearchEntry', [] => Type ['LibUI::SearchEntry']; =head2 Label Functions