aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a8539328..1f3fcc96 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -81,6 +81,13 @@ use std::ops::Mul;
pub use grid::Grid;
pub use term::Term;
+/// Facade around [winit's MouseCursor](glutin::MouseCursor)
+#[derive(Debug, Eq, PartialEq, Copy, Clone)]
+pub enum MouseCursor {
+ Arrow,
+ Text,
+}
+
#[derive(Debug, Eq, PartialEq, Copy, Clone, Default, Serialize, Deserialize)]
pub struct Rgb {
pub r: u8,