2022-12-06 16:12:59 +01:00
|
|
|
// Copyright 2022 System76 <info@system76.com>
|
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
|
2022-12-23 15:10:13 +01:00
|
|
|
#![allow(clippy::module_name_repetitions)]
|
|
|
|
|
|
2023-05-30 12:03:15 -04:00
|
|
|
pub use cosmic_config;
|
2023-02-27 19:23:02 -05:00
|
|
|
pub use cosmic_theme;
|
2022-09-30 09:35:55 -06:00
|
|
|
pub use iced;
|
2023-06-01 16:12:57 -06:00
|
|
|
pub use iced_core;
|
|
|
|
|
pub use iced_futures;
|
|
|
|
|
pub use iced_renderer;
|
2023-05-30 12:03:15 -04:00
|
|
|
pub use iced_runtime;
|
2023-01-18 15:13:03 -08:00
|
|
|
#[cfg(feature = "wayland")]
|
|
|
|
|
pub use iced_sctk;
|
2022-10-18 10:07:32 -06:00
|
|
|
pub use iced_style;
|
2023-05-30 12:03:15 -04:00
|
|
|
pub use iced_widget;
|
2022-11-15 23:11:48 +01:00
|
|
|
#[cfg(feature = "winit")]
|
2022-10-07 05:20:06 +02:00
|
|
|
pub use iced_winit;
|
2023-05-30 12:03:15 -04:00
|
|
|
#[cfg(feature = "wayland")]
|
|
|
|
|
pub use sctk;
|
2023-01-27 03:43:48 +01:00
|
|
|
pub mod executor;
|
2022-09-30 09:35:55 -06:00
|
|
|
pub mod font;
|
2023-01-10 13:58:13 +01:00
|
|
|
pub mod keyboard_nav;
|
2022-10-28 21:59:41 -07:00
|
|
|
pub mod theme;
|
2022-09-30 09:35:55 -06:00
|
|
|
pub mod widget;
|
|
|
|
|
|
2023-01-18 15:09:55 -08:00
|
|
|
#[cfg(feature = "tokio")]
|
2023-01-27 03:43:48 +01:00
|
|
|
pub use executor::single::Executor as SingleThreadExecutor;
|
2023-01-18 15:09:55 -08:00
|
|
|
|
2023-01-05 14:16:27 +01:00
|
|
|
pub mod settings;
|
2023-02-20 14:26:31 -08:00
|
|
|
pub use settings::{settings, settings_with_flags};
|
2023-01-05 14:16:27 +01:00
|
|
|
|
2022-12-06 16:12:59 +01:00
|
|
|
mod ext;
|
|
|
|
|
pub use ext::ElementExt;
|
|
|
|
|
|
2022-10-28 21:59:41 -07:00
|
|
|
pub use theme::Theme;
|
|
|
|
|
pub type Renderer = iced::Renderer<Theme>;
|
|
|
|
|
pub type Element<'a, Message> = iced::Element<'a, Message, Renderer>;
|