git.lucas.co / cce-ui
GPU-accelerated UI toolkit (Vulkan)
git clone https://git.lucas.co/cce-ui.git

src/engine.rs (1.7K)

 1 //! The client-facing names, re-exported in one place: what an app's
 2 //! `use cce_ui::engine::{...}` reaches. The portable contract first; the
 3 //! native shell's entry point and Wayland-typed items after it.
 4 
 5 pub use crate::backend::app::{
 6     Application, AppSender, LogicalPosition, LogicalSize, RenderContext, Stage3D, WindowAction, WindowSettings,
 7 };
 8 pub use crate::draw::lit::{LitDraw, LitLight, LitMaterial, LitMeshId, LitStage3D, LitVertex};
 9 pub use crate::draw::rt::{PreparedRtScene, RtCamera, RtEnvironment, RtImage, RtMaterial, RtTriangle};
10 pub use crate::draw::scene::{MeshId, SceneDraw, SceneImage, Vertex3D};
11 pub use crate::backend::driver::PressedKey;
12 pub use crate::backend::tessellate::{
13     Vertex, LineCap,
14     quad_vertices, quad_vertices_with_clip, quad_vertices_clipped, line_vertices,
15     vector_vertices, rounded_rect_vertices_corners, push_rounded_rect_vertices_corners,
16     rounded_rect_vertices, push_rounded_rect_vertices, plate_bevel_vertices,
17     push_plate_bevel_vertices,
18     extra_quad_vertices, push_extra_quad_vertices, extra_quad_vertices_clipped,
19     push_extra_quad_vertices_clipped, circle_vertices, circle_border_vertices,
20     arc_background_vertices, push_arc_background_vertices, push_plate_solid_border_vertices,
21 };
22 pub use crate::backend::text::{get_text_buffer_laid_out, shaped_cluster_offsets, shaping_for};
23 pub use cursor_icon::CursorIcon;
24 
25 #[cfg(not(any(target_arch = "wasm32", target_os = "macos")))]
26 pub use crate::backend::app::{LayerAnchor, LayerKeyboardInteractivity, LayerKind, LayerSettings};
27 #[cfg(not(any(target_arch = "wasm32", target_os = "macos")))]
28 pub use crate::backend::window_runner::{run, xdg_toplevel, EngineState};
29 #[cfg(target_os = "macos")]
30 pub use crate::mac::run;