1#![allow(dead_code)]
2
3#[macro_use]
5mod shader;
6#[macro_use]
7mod styling;
8#[macro_use]
9mod cx;
10#[macro_use]
11mod liveclient;
12
13#[cfg(all(not(feature="ipc"),target_os = "linux"))]
14mod cx_opengl;
15#[cfg(all(not(feature="ipc"),target_os = "linux"))]
16mod cx_xlib;
17#[cfg(all(not(feature="ipc"),any(target_os = "linux")))]
18mod cx_linux;
19
20#[cfg(all(not(feature="ipc"),target_os = "macos"))]
21mod cx_metal;
22#[cfg(all(not(feature="ipc"),target_os = "macos"))]
23mod cx_metalsl;
24#[cfg(all(not(feature="ipc"),target_os = "macos"))]
25mod cx_cocoa;
26#[cfg(all(not(feature="ipc"),any(target_os = "macos")))]
27mod cx_macos;
28#[cfg(all(not(feature="ipc"),any(target_os = "macos")))]
29mod cx_apple;
30
31#[cfg(all(not(feature="ipc"),target_os = "windows"))]
32mod cx_dx11;
33#[cfg(all(not(feature="ipc"),target_os = "windows"))]
34mod cx_hlsl;
35#[cfg(all(not(feature="ipc"),target_os = "windows"))]
36mod cx_win32;
37#[cfg(all(not(feature="ipc"),any(target_os = "windows")))]
38mod cx_windows;
39
40#[cfg(all(not(feature="ipc"),target_arch = "wasm32"))]
41mod cx_webgl;
42#[cfg(all(not(feature="ipc"),target_arch = "wasm32"))]
43mod cx_wasm32;
44
45#[cfg(all(not(feature="ipc"),any(target_arch = "wasm32", target_os = "linux")))]
46mod cx_glsl;
47
48#[cfg(all(not(feature="ipc"),any(target_os = "linux", target_os="macos", target_os="windows")))]
49mod cx_desktop;
50
51#[cfg(feature="ipc")]
52mod cx_ipc_child;
53
54#[cfg(feature="ipc")]
55pub use crate::cx_ipc_child::*;
56
57#[cfg(all(feature="ipc",target_arch = "wasm32"))]
58mod cx_ipc_wasm32;
59
60#[cfg(all(feature="ipc",target_arch = "wasm32"))]
61pub use crate::cx_ipc_wasm32::*;
62
63#[cfg(all(feature="ipc",any(target_os = "linux", target_os = "macos")))]
64mod cx_ipc_posix;
65
66#[cfg(all(feature="ipc",any(target_os = "linux", target_os = "macos")))]
67pub use crate::cx_ipc_posix::*;
68
69#[cfg(all(feature="ipc",target_os = "windows"))]
70mod cx_ipc_win32;
71
72#[cfg(all(feature="ipc",target_os = "windows"))]
73pub use crate::cx_ipc_win32::*;
74
75mod turtle;
76mod fonts;
77mod cursor;
78mod window;
79mod view;
80mod pass;
81mod texture;
82mod animator;
83mod elements;
84mod math;
85mod colors;
86mod area;
87mod shadergen;
88mod quad;
89mod blit;
90mod text;
91mod events;
92mod menu;
93
94pub use crate::cx::*;
95pub use crate::quad::*;
96pub use crate::blit::*;
97pub use crate::text::*;
98pub use crate::elements::*;