diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/button_state.rs | 9 | ||||
-rw-r--r-- | core/src/lib.rs | 2 |
2 files changed, 0 insertions, 11 deletions
diff --git a/core/src/button_state.rs b/core/src/button_state.rs deleted file mode 100644 index 988043ba..00000000 --- a/core/src/button_state.rs +++ /dev/null @@ -1,9 +0,0 @@ -/// The state of a button. -#[derive(Debug, Hash, Ord, PartialOrd, PartialEq, Eq, Clone, Copy)] -pub enum ButtonState { - /// The button is pressed. - Pressed, - - /// The button is __not__ pressed. - Released, -} diff --git a/core/src/lib.rs b/core/src/lib.rs index f0072f61..ec1e185a 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -19,7 +19,6 @@ pub mod mouse; mod align; mod background; -mod button_state; mod color; mod font; mod length; @@ -31,7 +30,6 @@ mod vector; pub use align::{Align, HorizontalAlignment, VerticalAlignment}; pub use background::Background; -pub use button_state::ButtonState; pub use color::Color; pub use font::Font; pub use length::Length; |