makepad-platform 1.0.0

Makepad platform layer
Documentation
//#![cfg_attr(all(unix), feature(unix_socket_ancillary_data))]

pub mod os;

#[macro_use]
pub mod log;

#[macro_use]
mod live_prims;

#[macro_use]
mod cx;
mod cx_api;

pub mod action;

pub mod live_traits;
pub mod live_cx;
pub mod live_atomic;

pub mod thread;
pub mod audio;
pub mod midi;
pub mod video;
pub mod scope;

mod draw_matrix;
mod draw_shader; 
mod draw_list;
mod draw_vars;

mod id_pool;
pub mod event;
mod area;
mod window;
mod pass;
mod texture;
mod cursor;
mod macos_menu;
mod animator;
mod gpu_info;
mod geometry;
mod debug;
mod component_map;
mod component_list;
mod performance_stats;
pub mod studio;

pub mod web_socket;

pub mod audio_stream;

pub mod file_dialogs;

mod media_api;

pub mod ui_runner;

pub mod display_context;

#[macro_use]
mod app_main;

#[cfg(target_arch = "wasm32")]
pub use makepad_wasm_bridge;

#[cfg(any(target_os = "macos", target_os = "ios", target_os="tvos"))]
pub use makepad_objc_sys;

#[cfg(target_os = "windows")]
pub use ::windows as windows;

pub use makepad_futures;
 
pub use {
    makepad_shader_compiler,
    makepad_shader_compiler::makepad_derive_live,
    makepad_shader_compiler::makepad_math,
    makepad_shader_compiler::makepad_live_tokenizer,
    makepad_shader_compiler::makepad_micro_serde,
    makepad_shader_compiler::makepad_live_compiler,
    makepad_shader_compiler::makepad_live_id,
    smallvec,
    smallvec::SmallVec,
    //makepad_image_formats::image,
    makepad_derive_live::*,
    log::*,
    makepad_math::*,
    makepad_live_id::*,
    app_main::*,
    makepad_live_compiler::{
        vec4_ext::*,
        live_error_origin,
        LiveErrorOrigin,
        LiveNodeOrigin,
        LiveRegistry,
        LiveId,
        LiveIdMap,
        LiveFileId,
        LivePtr,
        LiveRef,
        LiveNode,
        LiveType,
        LiveTypeInfo,
        LiveTypeField,
        LiveFieldKind,
        LiveComponentInfo,
        LiveComponentRegistry,
        LivePropType,
        LiveProp,
        LiveIdAsProp,
        LiveValue,
        InlineString,
        LiveBinding,
        LiveIdPath,
        LiveNodeSliceToCbor,
        LiveNodeVecFromCbor,
        LiveModuleId,
        LiveNodeSlice,
        LiveNodeVec,
        LiveNodeSliceApi,
        LiveNodeVecApi,
    },
    component_map::ComponentMap,
    component_list::ComponentList,
    makepad_shader_compiler::{
        ShaderRegistry,
        ShaderEnum,
        DrawShaderPtr,
        ShaderTy,
    },
    crate::{
        os::*,
        cx_api::{CxOsApi,OpenUrlInPlace, CxOsOp},
        media_api::CxMediaApi,
        scope::*,
        draw_list::{
            CxDrawItem,
            CxRectArea,
            CxDrawCall,
            DrawList,
            DrawListId,
            CxDrawListPool
        },
        cx::{
            Cx,
            CxRef,
            OsType
        },
        area::{
            Area,
            RectArea,
            InstanceArea
        },
        midi::*,
        audio::*,
        thread::*,
        video::*,
        web_socket::{WebSocket,WebSocketMessage},
        event::{
            VirtualKeyboardEvent,
            HttpRequest,
            HttpResponse,
            HttpMethod,
            HttpProgress,
            HttpError,
            NetworkResponse,
            NetworkResponsesEvent,
            Margin,
            KeyCode,
            Event,
            Hit,
            DragHit,
            Trigger,
            //MidiInputListEvent,
            Timer,
            NextFrame,
            KeyModifiers,
            DrawEvent,
            DigitDevice,
            MouseButton,
            MouseDownEvent,
            MouseMoveEvent,
            MouseUpEvent,
            FingerDownEvent,
            FingerMoveEvent,
            FingerUpEvent,
            HoverState,
            FingerHoverEvent,
            FingerScrollEvent,
            WindowGeomChangeEvent,
            WindowMovedEvent,
            NextFrameEvent,
            TimerEvent,
            KeyEvent,
            KeyFocusEvent,
            TextInputEvent,
            TextClipboardEvent,
            WindowCloseRequestedEvent,
            WindowClosedEvent,
            WindowDragQueryResponse,
            WindowDragQueryEvent,
            XrController,
            XrHand,
            XrAnchor,
            XrState,
            XrUpdateEvent,
            XrLocalEvent,
            DragEvent,
            DropEvent,
            DragState,
            DragItem,
            DragResponse,
            HitOptions,
            DragHitEvent,
            DropHitEvent,
            DesignerPickEvent,
            HitDesigner,
        },
        action::{
            Action,
            Actions,
            ActionsBuf, 
            ActionCast,
            ActionCastRef,
            ActionTrait,
            ActionDefaultRef
        },
        cursor::MouseCursor,
        macos_menu::MacosMenu,
        draw_matrix::DrawMatrix,
        window::{WindowHandle,CxWindowPool, WindowId},
        pass::{
            PassId,
            CxPassParent,
            CxPassRect,
            Pass,
            PassClearColor,
            PassClearDepth
        },
        texture::{
            Texture,
            TextureId,
            TextureFormat,
            TextureSize,
            TextureUpdated,
            TextureAnimation,
        },
        live_prims::{
            LiveDependency,
            ArcStringMut,
        },
        live_traits::{
            LiveHookDeref,
            LiveBody,
            LiveRegister,
            LiveNew,
            LiveApply,
            LiveHook,
            LiveApplyValue,
            LiveApplyReset,
            LiveRead,
            ToLiveValue,
            Apply,
            ApplyFrom,
        },
        animator::{
            Ease,
            Play,
            Animate,
            Animator,
            AnimatorImpl,
            AnimatorAction,
        },
        draw_vars::{
            shader_enum,
            DrawVars
        },
        geometry::{
            GeometryFingerprint,
            GeometryField,
            GeometryFields,
            GeometryId,
            GeometryRef,
            Geometry,
        },
        gpu_info::GpuPerformance,     
        ui_runner::*,  
    },
};