Move reusable mouse types to iced_core

This commit is contained in:
Héctor Ramón Jiménez 2020-04-28 03:11:01 +02:00
parent 20d79a43cc
commit 56dbd68326
10 changed files with 23 additions and 12 deletions

View file

@ -1,15 +0,0 @@
/// The button of a mouse.
#[derive(Debug, Hash, PartialEq, Eq, Clone, Copy)]
pub enum Button {
/// The left mouse button.
Left,
/// The right mouse button.
Right,
/// The middle (wheel) button.
Middle,
/// Some other button.
Other(u8),
}