mirror of
https://github.com/griffi-gh/hUI.git
synced 2025-04-13 11:17:21 -05:00
remove commented out winit 29 support
This commit is contained in:
parent
a1b23ff13b
commit
c7c66d5e39
hui-winit
|
@ -19,12 +19,9 @@ include = [
|
||||||
[dependencies]
|
[dependencies]
|
||||||
hui = { version = "=0.1.0-alpha.7", path = "../hui", default-features = false }
|
hui = { version = "=0.1.0-alpha.7", path = "../hui", default-features = false }
|
||||||
winit = { version = "0.30", default-features = false, features = ["x11"] }
|
winit = { version = "0.30", default-features = false, features = ["x11"] }
|
||||||
# winit_30 = { package = "winit", version = "0.30", default-features = false, optional = true }
|
|
||||||
# winit_29 = { package = "winit", version = "0.29", default-features = false, optional = true }
|
|
||||||
glam = "0.30"
|
glam = "0.30"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
# winit_30 = ["dep:winit_30"]
|
|
||||||
# winit_29 = ["dep:winit_29"]
|
|
||||||
|
|
|
@ -1,10 +1,3 @@
|
||||||
// #[cfg(all(feature = "winit_30", feature = "winit_29"))]
|
|
||||||
// compile_error!("Only one of the winit_30 and winit_29 features can be enabled at a time");
|
|
||||||
// #[cfg(not(any(feature = "winit_30", feature = "winit_29")))]
|
|
||||||
// compile_error!("One of the winit_30 and winit_29 features must be enabled");
|
|
||||||
// #[cfg(feature = "winit_30")] extern crate winit_30 as winit;
|
|
||||||
// #[cfg(feature = "winit_29")] extern crate winit_29 as winit;
|
|
||||||
|
|
||||||
use glam::vec2;
|
use glam::vec2;
|
||||||
use hui::{event::UiEvent, UiInstance};
|
use hui::{event::UiEvent, UiInstance};
|
||||||
use winit::event::{Event, WindowEvent, MouseButton, ElementState};
|
use winit::event::{Event, WindowEvent, MouseButton, ElementState};
|
||||||
|
|
Loading…
Reference in a new issue