Skip to main content

fc_ui/capabilities/foundation/
gpui_ext.rs

1pub use gpui::{
2    actions, anchored, black, canvas, conic_gradient, container_query, deferred, div, font, hsla,
3    img, linear_color_stop, linear_gradient, multi_stop_linear_gradient, opaque_grey, point,
4    prelude::FluentBuilder, px, radial_gradient, relative, rems, rgb, rgba, sampled_easing, size,
5    svg, transparent_black, white, Animation, AnimationExt, AnimationPhase, AnyElement, AnyView,
6    AnyWindowHandle, App, AppContext as _, Application, AvailableSpace, Axis, Background,
7    BlendMode, BorrowAppContext, Bounds, BoxShadow, ClipboardEntry, ClipboardItem, ContainerQuery,
8    Context, Corners, CursorStyle, DefiniteLength, DismissEvent, Display, Div, DragMoveEvent,
9    Edges, Element, ElementId, Entity, EntityId, EventEmitter, Fill, FlexDirection, FocusHandle,
10    Focusable, Font, FontFeatures, FontStyle, FontWeight, Global, HighlightStyle, Hitbox, Hsla,
11    InteractiveElement, InteractiveText, Interpolate, IntoElement, KeyBinding, KeyDownEvent,
12    KeyUpEvent, Length, LinearColorStop, MouseButton, MouseDownEvent, MouseMoveEvent, MouseUpEvent,
13    Overflow, ParentElement, Pixels, Point, QuitMode, Render, RenderOnce, Rgba, ScrollEvent,
14    ScrollHandle, SharedString, Size, SpringAnimation, SpringConfig, SpringPlayback, SpringState,
15    SpringTarget, Stateful, StatefulInteractiveElement, StrikethroughStyle, StyleRefinement,
16    Styled, StyledText, Task, TextRun, TitlebarOptions, UnderlineStyle, VisualContext as _, Window,
17    WindowBounds, WindowHandle, WindowOptions,
18};
19
20/// Compatibility alias for the pre-0.12 GPUI scroll event name.
21#[deprecated(note = "use ScrollEvent instead")]
22pub type ScrollWheelEvent = ScrollEvent;