1#![cfg_attr(all(unix, use_unstable_unix_socket_ancillary_data_2021), feature(unix_socket_ancillary_data))]
2
3pub mod os;
4
5#[macro_use]
6mod live_prims;
7
8#[macro_use]
9mod cx;
10mod cx_api;
11
12pub mod live_traits;
13pub mod live_cx;
14pub mod live_atomic;
15
16pub mod thread;
17pub mod audio;
18pub mod midi;
19pub mod video;
20
21mod draw_matrix;
22mod draw_shader;
23mod draw_list;
24mod draw_vars;
25
26mod id_pool;
27pub mod event;
28mod area;
29mod window;
30mod pass;
31mod texture;
32mod cursor;
33mod macos_menu;
34mod animator;
35mod gpu_info;
36mod geometry;
37mod debug;
38mod component_map;
39
40pub mod audio_stream;
41
42mod media_api;
43mod decoding_api;
44
45#[macro_use]
46mod app_main;
47
48#[cfg(target_arch = "wasm32")]
49pub use makepad_wasm_bridge;
50
51#[cfg(any(target_os = "macos", target_os = "ios"))]
52pub use makepad_objc_sys;
53
54#[cfg(target_os = "windows")]
55pub use ::makepad_windows as windows;
56
57pub use makepad_futures;
58
59pub use {
60 makepad_shader_compiler,
61 makepad_shader_compiler::makepad_derive_live,
62 makepad_shader_compiler::makepad_math,
63 makepad_shader_compiler::makepad_live_tokenizer,
64 makepad_shader_compiler::makepad_micro_serde,
65 makepad_shader_compiler::makepad_live_compiler,
66 makepad_shader_compiler::makepad_live_id,
67 makepad_shader_compiler::makepad_error_log,
68 makepad_derive_live::*,
70 makepad_error_log::*,
71 makepad_math::*,
72 makepad_live_id::*,
73 app_main::AppMain,
74 makepad_live_compiler::{
75 vec4_ext::*,
76 live_error_origin,
77 live_eval,
78 LiveEval,
79 LiveErrorOrigin,
80 LiveNodeOrigin,
81 LiveRegistry,
82 LiveId,
83 LiveIdMap,
84 LiveFileId,
85 LivePtr,
86 LiveRef,
87 LiveNode,
88 LiveType,
89 LiveTypeInfo,
90 LiveTypeField,
91 LiveFieldKind,
92 LiveComponentInfo,
93 LiveComponentRegistry,
94 LivePropType,
95 LiveProp,
96 LiveIdAsProp,
97 LiveValue,
98 InlineString,
99 LiveBinding,
100 LiveIdPath,
101 LiveNodeSliceToCbor,
102 LiveNodeVecFromCbor,
103 LiveModuleId,
104 LiveNodeSlice,
105 LiveNodeVec,
106 LiveNodeSliceApi,
107 LiveNodeVecApi,
108 },
109 component_map::ComponentMap,
110 makepad_shader_compiler::{
111 ShaderRegistry,
112 ShaderEnum,
113 DrawShaderPtr,
114 ShaderTy,
115 },
116 crate::{
117 os::*,
118 decoding_api::CxDecodingApi,
119 cx_api::CxOsApi,
120 media_api::CxMediaApi,
121 draw_list::{
122 CxDrawItem,
123 CxRectArea,
124 CxDrawCall,
125 DrawList,
126 DrawListId,
127 CxDrawListPool
128 },
129 cx::{
130 Cx,
131 CxRef,
132 OsType
133 },
134 area::{
135 Area,
136 RectArea,
137 InstanceArea
138 },
139 midi::*,
140 audio::*,
141 thread::*,
142 video::*,
143 event::{
144 VirtualKeyboardEvent,
145 HttpRequest,
146 HttpResponse,
147 HttpMethod,
148 NetworkResponse,
149 NetworkResponseEvent,
150 Margin,
151 KeyCode,
152 Event,
153 Hit,
154 DragHit,
155 Trigger,
156 Timer,
158 NextFrame,
159 KeyModifiers,
160 DrawEvent,
161 DigitDevice,
162 MouseDownEvent,
163 MouseMoveEvent,
164 MouseUpEvent,
165 FingerDownEvent,
166 FingerMoveEvent,
167 FingerUpEvent,
168 HoverState,
169 FingerHoverEvent,
170 FingerScrollEvent,
171 WindowGeomChangeEvent,
172 WindowMovedEvent,
173 NextFrameEvent,
174 TimerEvent,
175 KeyEvent,
176 KeyFocusEvent,
177 TextInputEvent,
178 TextClipboardEvent,
179 WindowCloseRequestedEvent,
180 WindowClosedEvent,
181 WindowDragQueryResponse,
182 WindowDragQueryEvent,
183 XRButton,
184 XRInput,
185 XRUpdateEvent,
186 DragEvent,
187 DropEvent,
188 DragState,
189 DragItem,
190 DragResponse,
191 HitOptions,
192 DragHitEvent,
193 DropHitEvent,
194 VideoColorFormat,
195 },
196 cursor::MouseCursor,
197 macos_menu::MacosMenu,
198 draw_matrix::DrawMatrix,
199 window::WindowHandle,
200 pass::{
201 PassId,
202 CxPassParent,
203 CxPassRect,
204 Pass,
205 PassClearColor,
206 PassClearDepth
207 },
208 texture::{
209 Texture,
210 TextureId,
211 TextureFormat,
212 TextureDesc
213 },
214 live_prims::{
215 LiveDependency,
216 RcStringMut,
217 },
218 live_traits::{
219 LiveHookDeref,
220 LiveBody,
221 LiveNew,
222 LiveApply,
223 LiveHook,
224 LiveApplyValue,
225 LiveRead,
226 ToLiveValue,
227 ApplyFrom,
228 },
229 animator::{
230 Ease,
231 Play,
232 Animate,
233 Animator,
234 AnimatorImpl,
235 AnimatorAction,
236 },
237 draw_vars::{
238 shader_enum,
239 DrawVars
240 },
241 geometry::{
242 GeometryFingerprint,
243 GeometryField,
244 GeometryFields,
245 GeometryId,
246 GeometryRef,
247 Geometry,
248 },
249 gpu_info::GpuPerformance,
250 },
251};
252