1pub mod os;
4
5#[macro_use]
6pub mod log;
7
8#[macro_use]
9mod live_prims;
10
11#[macro_use]
12mod cx;
13mod cx_api;
14
15pub mod action;
16
17pub mod live_traits;
18pub mod live_cx;
19pub mod live_atomic;
20
21pub mod thread;
22pub mod audio;
23pub mod midi;
24pub mod video;
25pub mod scope;
26
27mod draw_matrix;
28mod draw_shader;
29mod draw_list;
30mod draw_vars;
31
32mod id_pool;
33pub mod event;
34mod area;
35mod window;
36mod pass;
37mod texture;
38mod cursor;
39mod macos_menu;
40mod animator;
41mod gpu_info;
42mod geometry;
43mod debug;
44mod component_map;
45mod component_list;
46mod performance_stats;
47pub mod studio;
48
49pub mod web_socket;
50
51pub mod audio_stream;
52
53pub mod file_dialogs;
54
55mod media_api;
56
57pub mod ui_runner;
58
59pub mod display_context;
60
61#[macro_use]
62mod app_main;
63
64#[cfg(target_arch = "wasm32")]
65pub use makepad_wasm_bridge;
66
67#[cfg(any(target_os = "macos", target_os = "ios", target_os="tvos"))]
68pub use makepad_objc_sys;
69
70#[cfg(target_os = "windows")]
71pub use ::windows as windows;
72
73pub use makepad_futures;
74
75pub use {
76 makepad_shader_compiler,
77 makepad_shader_compiler::makepad_derive_live,
78 makepad_shader_compiler::makepad_math,
79 makepad_shader_compiler::makepad_live_tokenizer,
80 makepad_shader_compiler::makepad_micro_serde,
81 makepad_shader_compiler::makepad_live_compiler,
82 makepad_shader_compiler::makepad_live_id,
83 smallvec,
84 smallvec::SmallVec,
85 makepad_derive_live::*,
87 log::*,
88 makepad_math::*,
89 makepad_live_id::*,
90 app_main::*,
91 makepad_live_compiler::{
92 vec4_ext::*,
93 live_error_origin,
94 LiveErrorOrigin,
95 LiveNodeOrigin,
96 LiveRegistry,
97 LiveId,
98 LiveIdMap,
99 LiveFileId,
100 LivePtr,
101 LiveRef,
102 LiveNode,
103 LiveType,
104 LiveTypeInfo,
105 LiveTypeField,
106 LiveFieldKind,
107 LiveComponentInfo,
108 LiveComponentRegistry,
109 LivePropType,
110 LiveProp,
111 LiveIdAsProp,
112 LiveValue,
113 InlineString,
114 LiveBinding,
115 LiveIdPath,
116 LiveNodeSliceToCbor,
117 LiveNodeVecFromCbor,
118 LiveModuleId,
119 LiveNodeSlice,
120 LiveNodeVec,
121 LiveNodeSliceApi,
122 LiveNodeVecApi,
123 },
124 component_map::ComponentMap,
125 component_list::ComponentList,
126 makepad_shader_compiler::{
127 ShaderRegistry,
128 ShaderEnum,
129 DrawShaderPtr,
130 ShaderTy,
131 },
132 crate::{
133 os::*,
134 cx_api::{CxOsApi,OpenUrlInPlace, CxOsOp},
135 media_api::CxMediaApi,
136 scope::*,
137 draw_list::{
138 CxDrawItem,
139 CxRectArea,
140 CxDrawCall,
141 DrawList,
142 DrawListId,
143 CxDrawListPool
144 },
145 cx::{
146 Cx,
147 CxRef,
148 OsType
149 },
150 area::{
151 Area,
152 RectArea,
153 InstanceArea
154 },
155 midi::*,
156 audio::*,
157 thread::*,
158 video::*,
159 web_socket::{WebSocket,WebSocketMessage},
160 event::{
161 VirtualKeyboardEvent,
162 HttpRequest,
163 HttpResponse,
164 HttpMethod,
165 HttpProgress,
166 HttpError,
167 NetworkResponse,
168 NetworkResponsesEvent,
169 Margin,
170 KeyCode,
171 Event,
172 Hit,
173 DragHit,
174 Trigger,
175 Timer,
177 NextFrame,
178 KeyModifiers,
179 DrawEvent,
180 DigitDevice,
181 MouseButton,
182 MouseDownEvent,
183 MouseMoveEvent,
184 MouseUpEvent,
185 FingerDownEvent,
186 FingerMoveEvent,
187 FingerUpEvent,
188 HoverState,
189 FingerHoverEvent,
190 FingerScrollEvent,
191 WindowGeomChangeEvent,
192 WindowMovedEvent,
193 NextFrameEvent,
194 TimerEvent,
195 KeyEvent,
196 KeyFocusEvent,
197 TextInputEvent,
198 TextClipboardEvent,
199 WindowCloseRequestedEvent,
200 WindowClosedEvent,
201 WindowDragQueryResponse,
202 WindowDragQueryEvent,
203 XrController,
204 XrHand,
205 XrAnchor,
206 XrState,
207 XrUpdateEvent,
208 XrLocalEvent,
209 DragEvent,
210 DropEvent,
211 DragState,
212 DragItem,
213 DragResponse,
214 HitOptions,
215 DragHitEvent,
216 DropHitEvent,
217 DesignerPickEvent,
218 HitDesigner,
219 },
220 action::{
221 Action,
222 Actions,
223 ActionsBuf,
224 ActionCast,
225 ActionCastRef,
226 ActionTrait,
227 ActionDefaultRef
228 },
229 cursor::MouseCursor,
230 macos_menu::MacosMenu,
231 draw_matrix::DrawMatrix,
232 window::{WindowHandle,CxWindowPool, WindowId},
233 pass::{
234 PassId,
235 CxPassParent,
236 CxPassRect,
237 Pass,
238 PassClearColor,
239 PassClearDepth
240 },
241 texture::{
242 Texture,
243 TextureId,
244 TextureFormat,
245 TextureSize,
246 TextureUpdated,
247 TextureAnimation,
248 },
249 live_prims::{
250 LiveDependency,
251 ArcStringMut,
252 },
253 live_traits::{
254 LiveHookDeref,
255 LiveBody,
256 LiveRegister,
257 LiveNew,
258 LiveApply,
259 LiveHook,
260 LiveApplyValue,
261 LiveApplyReset,
262 LiveRead,
263 ToLiveValue,
264 Apply,
265 ApplyFrom,
266 },
267 animator::{
268 Ease,
269 Play,
270 Animate,
271 Animator,
272 AnimatorImpl,
273 AnimatorAction,
274 },
275 draw_vars::{
276 shader_enum,
277 DrawVars
278 },
279 geometry::{
280 GeometryFingerprint,
281 GeometryField,
282 GeometryFields,
283 GeometryId,
284 GeometryRef,
285 Geometry,
286 },
287 gpu_info::GpuPerformance,
288 ui_runner::*,
289 },
290};
291