Crate makepad_platform

Source

Re-exports§

pub use crate::web_socket::WebSocket;
pub use crate::web_socket::WebSocketMessage;
pub use crate::event::VirtualKeyboardEvent;
pub use crate::event::HttpRequest;
pub use crate::event::HttpResponse;
pub use crate::event::HttpMethod;
pub use crate::event::HttpProgress;
pub use crate::event::HttpError;
pub use crate::event::NetworkResponse;
pub use crate::event::NetworkResponsesEvent;
pub use crate::event::Margin;
pub use crate::event::KeyCode;
pub use crate::event::Event;
pub use crate::event::Hit;
pub use crate::event::DragHit;
pub use crate::event::Trigger;
pub use crate::event::Timer;
pub use crate::event::NextFrame;
pub use crate::event::KeyModifiers;
pub use crate::event::DrawEvent;
pub use crate::event::DigitDevice;
pub use crate::event::MouseButton;
pub use crate::event::MouseDownEvent;
pub use crate::event::MouseMoveEvent;
pub use crate::event::MouseUpEvent;
pub use crate::event::FingerDownEvent;
pub use crate::event::FingerMoveEvent;
pub use crate::event::FingerUpEvent;
pub use crate::event::HoverState;
pub use crate::event::FingerHoverEvent;
pub use crate::event::FingerScrollEvent;
pub use crate::event::WindowGeomChangeEvent;
pub use crate::event::WindowMovedEvent;
pub use crate::event::NextFrameEvent;
pub use crate::event::TimerEvent;
pub use crate::event::KeyEvent;
pub use crate::event::KeyFocusEvent;
pub use crate::event::TextInputEvent;
pub use crate::event::TextClipboardEvent;
pub use crate::event::WindowCloseRequestedEvent;
pub use crate::event::WindowClosedEvent;
pub use crate::event::WindowDragQueryResponse;
pub use crate::event::WindowDragQueryEvent;
pub use crate::event::XrController;
pub use crate::event::XrHand;
pub use crate::event::XrAnchor;
pub use crate::event::XrState;
pub use crate::event::XrUpdateEvent;
pub use crate::event::XrLocalEvent;
pub use crate::event::DragEvent;
pub use crate::event::DropEvent;
pub use crate::event::DragState;
pub use crate::event::DragItem;
pub use crate::event::DragResponse;
pub use crate::event::HitOptions;
pub use crate::event::DragHitEvent;
pub use crate::event::DropHitEvent;
pub use crate::event::DesignerPickEvent;
pub use crate::event::HitDesigner;
pub use crate::action::Action;
pub use crate::action::Actions;
pub use crate::action::ActionsBuf;
pub use crate::action::ActionCast;
pub use crate::action::ActionCastRef;
pub use crate::action::ActionTrait;
pub use crate::action::ActionDefaultRef;
pub use crate::live_traits::LiveHookDeref;
pub use crate::live_traits::LiveBody;
pub use crate::live_traits::LiveRegister;
pub use crate::live_traits::LiveNew;
pub use crate::live_traits::LiveApply;
pub use crate::live_traits::LiveHook;
pub use crate::live_traits::LiveApplyValue;
pub use crate::live_traits::LiveApplyReset;
pub use crate::live_traits::LiveRead;
pub use crate::live_traits::ToLiveValue;
pub use crate::live_traits::Apply;
pub use crate::live_traits::ApplyFrom;
pub use makepad_futures;
pub use makepad_shader_compiler;
pub use makepad_shader_compiler::makepad_derive_live;
pub use makepad_shader_compiler::makepad_math;
pub use makepad_shader_compiler::makepad_live_tokenizer;
pub use makepad_shader_compiler::makepad_micro_serde;
pub use makepad_shader_compiler::makepad_live_compiler;
pub use makepad_shader_compiler::makepad_live_id;
pub use smallvec;
pub use log::*;
pub use crate::os::*;
pub use crate::scope::*;
pub use crate::midi::*;
pub use crate::audio::*;
pub use crate::thread::*;
pub use crate::video::*;
pub use crate::ui_runner::*;

Modules§

action
audio
audio_stream
complex
display_context
event
file_dialogs
live_atomic
live_cx
live_error_origin
live_id
live_traits
log
makepad_live_id_macros
math_f32
math_f64
math_usize
midi
os
scope
shader
studio
thread
ui_runner
video
web_socket

Macros§

app_main
color
error
fmt_over
fmt_over_ref
generate_any_send_trait_api
generate_any_trait_api
get_component
gl_flush_error
gl_log_error
id
id_lut
ids
live
live_array
live_design
live_error_origin
live_id
live_id_num
live_object
live_primitive
log
profile_end
profile_end_log
register_component_factory
some_id
warning

Structs§

Animator
CameraFov
ComponentList
ComponentMap
Cx
CxDrawCall
CxDrawItem
CxDrawListPool
CxRectArea
CxRef
CxWindowPool
DVec2
DVec3
DVec4
DrawList
DrawListId
DrawMatrix
DrawShaderPtr
DrawVars
Geometry
GeometryField
GeometryFingerprint
GeometryId
GeometryRef
InlineString
InstanceArea
LiveBinding
LiveComponentInfo
LiveDependency
LiveErrorOrigin
LiveFileId
LiveId
LiveIdHasher
LiveIdHasherBuilder
LiveIdInterner
LiveIdMap
LiveIdPath
LiveModuleId
LiveNode
LiveNodeOrigin
LiveProp
LivePtr
LiveRegistry
LiveTypeField
LiveTypeInfo
Mat4
Pass
PassId
Plane
PointUsize
Pose
PrettyPrintedF32
PrettyPrintedF64
Quat
Rect
RectArea
RectUsize
ShaderEnum
ShaderRegistry
SizeUsize
SmallVec
A Vec-like container that can store a small number of elements inline.
Texture
TextureAnimation
TextureId
Vec2
Vec3
Vec4
WindowHandle
WindowId

Enums§

Animate
AnimatorAction
ArcStringMut
Area
CxOsOp
CxPassParent
CxPassRect
Ease
GpuPerformance
InternLiveId
LiveFieldKind
LivePropType
LiveValue
MacosMenu
MouseCursor
OpenUrlInPlace
OsType
PassClearColor
PassClearDepth
Play
ShaderTy
TextureFormat
TextureSize
TextureUpdated
Vec2Index

Constants§

LIVE_ID_SEED
V0F0
V00F
VF00

Traits§

AnimatorImpl
AppMain
CxMediaApi
CxOsApi
GeometryFields
LiveComponentRegistry
LiveIdAsProp
LiveNodeSliceApi
LiveNodeSliceToCbor
LiveNodeVecApi
LiveNodeVecFromCbor
ShaderMath
Vec4Ext

Functions§

abs
acos
acosh
asin
asinh
atan
atanh
ceil
clamp
cos
cosh
dvec2
exp
exp2
floor
fract
ln
log2
log10
max
min
pow
powf
powi
rect
shader_enum
sin
sinh
tan
tanh
vec2
vec3
vec4

Type Aliases§

LiveNodeSlice
LiveNodeVec
LiveRef
LiveType

Derive Macros§

DefaultNone
FromLiveId
Live
LiveAtomic
LiveComponentRegistry
LiveHook
LiveRead
LiveRegister