Move reusable mouse types to iced_core
This commit is contained in:
parent
20d79a43cc
commit
56dbd68326
10 changed files with 23 additions and 12 deletions
|
|
@ -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),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue