From aa63841e2c80ca8130adf41d25e5d731409b92f4 Mon Sep 17 00:00:00 2001 From: Tom Date: Sat, 21 Aug 2021 10:31:26 -0700 Subject: Implement textual hit testing --- core/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/src/lib.rs') diff --git a/core/src/lib.rs b/core/src/lib.rs index c4288158..7c4c3c0c 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -22,6 +22,7 @@ mod align; mod background; mod color; mod font; +mod hit_test; mod length; mod padding; mod point; @@ -33,6 +34,7 @@ pub use align::{Align, HorizontalAlignment, VerticalAlignment}; pub use background::Background; pub use color::Color; pub use font::Font; +pub use hit_test::HitTestResult; pub use length::Length; pub use menu::Menu; pub use padding::Padding; -- cgit From 7614127d3641cf3224798c2f0ff07b6ae57d9a53 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 26 Aug 2021 14:41:33 +0700 Subject: Rename `HitTestResult` to `Hit` ... and also move it to a new `text` module in `iced_core` --- core/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/src/lib.rs') diff --git a/core/src/lib.rs b/core/src/lib.rs index 7c4c3c0c..a0decdab 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -17,12 +17,12 @@ pub mod keyboard; pub mod menu; pub mod mouse; +pub mod text; mod align; mod background; mod color; mod font; -mod hit_test; mod length; mod padding; mod point; @@ -34,7 +34,6 @@ pub use align::{Align, HorizontalAlignment, VerticalAlignment}; pub use background::Background; pub use color::Color; pub use font::Font; -pub use hit_test::HitTestResult; pub use length::Length; pub use menu::Menu; pub use padding::Padding; -- cgit