lgui-core 0.2.1

Platform-neutral runtime and UI primitives for LGUI
Documentation
pub use crate::application::{
    AppView, Application, ApplicationBackend, ApplicationContext, ApplicationHandle, RenderError,
    RenderErrorStage,
};
pub use crate::command::{
    invoke, Command, CommandContext, CommandFuture, CommandHandle, CommandHandler,
};
pub use crate::core::{
    async_handler, async_handler_with, component, context_provider, group, Align, Axis, Color,
    EdgeInsets, Element, ElementKey, ImageCachePolicy, ImageDecodePolicy, ImageRequest, RenderCx,
    RootComponent, ShadowStyle, Size, State, StateSetter, Stroke, TextAlign, TextStyle,
    UiAsyncContext, UiEventContext, UiRect, VisualStyle,
};
pub use crate::events::{
    emit, listen, listen_async, listen_async_with, listen_with, AsyncEventHandler, Event,
    EventFuture, EventKey, EventSubscription, InvalidEventKey,
};
pub use crate::memory::{
    CacheDomain, CachePriority, CacheScope, MemoryAction, MemoryBudget, MemoryDomainBudgets,
    MemoryEventPolicy, MemoryOptions, MemorySnapshot, RetentionClass, TrimReason,
};
pub use crate::platform::{
    dpi::{ScaleContext, ScalePreference, WorkArea},
    InputSink, WakeHandle,
};
pub use crate::resources::Resources;
pub use crate::session::UiSession;
pub use crate::text::{
    FontAsset, TextAffinity, TextCluster, TextDirection, TextFeature, TextFontSlant, TextFontWidth,
    TextHit, TextLayout, TextLayoutRequest, TextLineMetrics, TextSpan, TextVerticalAlign,
};
pub use crate::window::{
    ClosePolicy, WindowCloseHandler, WindowHandle, WindowId, WindowManager, WindowMode,
    WindowOptions, WindowPosition,
};