1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//! # Vizia

#[cfg(all(not(feature = "baseview"), feature = "winit"))]
pub use vizia_winit::application::{Application, ApplicationError};
#[cfg(all(not(feature = "baseview"), feature = "winit"))]
pub use vizia_winit::GetRawWindowHandle;

#[cfg(all(not(feature = "winit"), feature = "baseview"))]
pub use vizia_baseview::{Application, ApplicationError, ParentWindow, WindowScalePolicy};

pub use vizia_core::*;

#[doc(hidden)]
pub mod prelude {
    pub use vizia_core::prelude::*;

    #[cfg(all(not(feature = "baseview"), feature = "winit"))]
    pub use vizia_winit::application::{Application, ApplicationError};
    #[cfg(all(not(feature = "baseview"), feature = "winit"))]
    pub use vizia_winit::GetRawWindowHandle;

    #[cfg(all(not(feature = "winit"), feature = "baseview"))]
    pub use vizia_baseview::{Application, ApplicationError};
}