summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-28 03:11:01 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-28 03:11:01 +0200
commit56dbd683269b82da16d8eae3f98f352301750bf5 (patch)
tree50d986a0c10f6bdab915b9ae3b53e170dd5497bf /src/lib.rs
parent20d79a43cce5a1bf0cb48a7668ac90d0ac82dfdc (diff)
downloadiced-56dbd683269b82da16d8eae3f98f352301750bf5.tar.gz
iced-56dbd683269b82da16d8eae3f98f352301750bf5.tar.bz2
iced-56dbd683269b82da16d8eae3f98f352301750bf5.zip
Move reusable `mouse` types to `iced_core`
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4f66cc73..77044984 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -185,6 +185,7 @@ mod sandbox;
pub mod executor;
pub mod keyboard;
+pub mod mouse;
pub mod settings;
pub mod widget;
pub mod window;
@@ -208,3 +209,6 @@ pub use runtime::{
futures, Align, Background, Color, Command, Font, HorizontalAlignment,
Length, Point, Size, Subscription, Vector, VerticalAlignment,
};
+
+#[cfg(not(target_arch = "wasm32"))]
+pub use runtime::input::ButtonState;