summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2023-12-24 22:02:42 +1300
committerBen Bridle <bridle.benjamin@gmail.com>2023-12-24 22:02:42 +1300
commite2d9f83b27f894794fb4563e32a7bf8b21c15d07 (patch)
tree138d60d8d8891f6f1f55727cda4eec3915fa08a2 /src/lib.rs
parentb57645384a2ab3ef2ea56629fae44073060db646 (diff)
downloadphosphor-e2d9f83b27f894794fb4563e32a7bf8b21c15d07.zip
Use geometry types forwarded by buffer
Previously, this crate was defining its own set of aliases for types from the geometry crate, which were clashing with the aliases already defined by the buffer crate. The buffer aliases are now used instead.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a73f3df..3255b0a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -8,7 +8,7 @@ pub use window::*;
pub use window_controller::*;
pub use window_manager::*;
-pub use buffer::{Buffer, Colour};
+pub use buffer::*;
pub use winit::{
event::{ModifiersState, ElementState},
event::VirtualKeyCode as KeyCode,
@@ -16,10 +16,6 @@ pub use winit::{
};
pub use std::num::NonZeroU32;
-pub type Point = geometry::Point<i32>;
-pub type Dimensions = geometry::Dimensions<u32>;
-pub type Rect = geometry::Rect<i32, u32>;
-
// -----------------------------------------------------------------------------
#[derive(Copy, Clone)]