Remove ButtonState

This commit is contained in:
Héctor Ramón Jiménez 2020-04-30 04:54:49 +02:00
parent e55cd9652e
commit d8b9e03481
5 changed files with 1 additions and 28 deletions

View file

@ -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,
}

View file

@ -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;