summaryrefslogtreecommitdiffstats
path: root/native/src/input/mouse/button.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2020-05-05 00:05:47 +0200
committerLibravatar GitHub <noreply@github.com>2020-05-05 00:05:47 +0200
commit7dc02a5e16a3143b7c3ba9270207e3ebda71d567 (patch)
treedd727f138641fbda008af8e7827369cc99420749 /native/src/input/mouse/button.rs
parent27aad74a32fd8ac2b12f9d32df8a3b61a3175457 (diff)
parent93c6be5eef577f0778b5787dac37351c035ed471 (diff)
downloadiced-7dc02a5e16a3143b7c3ba9270207e3ebda71d567.tar.gz
iced-7dc02a5e16a3143b7c3ba9270207e3ebda71d567.tar.bz2
iced-7dc02a5e16a3143b7c3ba9270207e3ebda71d567.zip
Merge pull request #325 from hecrj/feature/canvas-interaction
Canvas interactivity and Game of Life example
Diffstat (limited to 'native/src/input/mouse/button.rs')
-rw-r--r--native/src/input/mouse/button.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/native/src/input/mouse/button.rs b/native/src/input/mouse/button.rs
deleted file mode 100644
index aeb8a55d..00000000
--- a/native/src/input/mouse/button.rs
+++ /dev/null
@@ -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),
-}