#![allow(unused, dead_code, deprecated)]
pub fn system_font_paths() -> &'static [&'static str] {
#[cfg(target_os = "macos")]
{
&[
"/System/Library/Fonts/SFNS.ttf", "/System/Library/Fonts/Helvetica.ttc", ]
}
#[cfg(all(target_os = "linux", not(target_env = "ohos")))]
{
&[
"/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf",
"/usr/share/fonts/TTF/DejaVuSans.ttf",
]
}
#[cfg(target_os = "windows")]
{
&["C:\\Windows\\Fonts\\segoeui.ttf"]
}
#[cfg(target_os = "android")]
{
&[
"/system/fonts/Roboto-Regular.ttf",
"/system/fonts/NotoSansCJK-Regular.ttc",
"/system/fonts/DroidSans.ttf",
]
}
#[cfg(target_os = "ios")]
{
&[
"/System/Library/Fonts/Core/SFUI.ttf", "/System/Library/Fonts/Core/SFUIMono.ttf", "/System/Library/Fonts/Core/Helvetica.ttc", "/System/Library/Fonts/Core/HelveticaNeue.ttc", "/System/Library/Fonts/Core/Avenir.ttc", "/System/Library/Fonts/CoreUI/Menlo.ttc", ]
}
#[cfg(target_os = "fuchsia")]
{
&[
"/pkg/data/fonts/Roboto-Regular.ttf",
"/system/fonts/Roboto-Regular.ttf",
]
}
#[cfg(target_env = "ohos")]
{
&[
"/system/fonts/HarmonyOS_Sans_SC_Regular.ttf",
"/system/fonts/Roboto-Regular.ttf",
"/system/fonts/NotoSansCJK-Regular.ttc",
]
}
#[cfg(not(any(
target_os = "macos",
target_os = "linux",
target_os = "windows",
target_os = "android",
target_os = "ios",
target_os = "fuchsia",
target_env = "ohos"
)))]
{
&[]
}
}
mod app;
mod context;
mod error;
mod svg_atlas;
mod text_measurer;
#[cfg(any(
feature = "windowed",
all(feature = "android", target_os = "android"),
all(feature = "ios", target_os = "ios"),
all(feature = "fuchsia", target_os = "fuchsia"),
all(feature = "harmony", target_env = "ohos")
))]
pub mod windowed;
#[cfg(feature = "rfd")]
pub mod dialog;
pub mod window_state;
pub mod tray;
pub mod notify;
pub mod hotkey;
pub mod dnd;
#[cfg(all(feature = "android", target_os = "android"))]
pub mod android;
#[cfg(all(feature = "android", target_os = "android"))]
pub use android::AndroidApp;
#[cfg(all(feature = "ios", target_os = "ios"))]
pub mod ios;
#[cfg(all(feature = "fuchsia", target_os = "fuchsia"))]
pub mod fuchsia;
#[cfg(all(feature = "fuchsia", target_os = "fuchsia"))]
pub use fuchsia::FuchsiaApp;
#[cfg(test)]
mod tests;
pub use app::{BlincApp, BlincConfig};
pub use context::{DebugMode, RenderContext};
pub use error::{BlincError, Result};
pub use text_measurer::{init_text_measurer, init_text_measurer_with_registry, FontTextMeasurer};
pub use blinc_layout::prelude::*;
pub use blinc_layout::RenderTree;
pub use blinc_platform::WindowConfig;
pub use blinc_macros::BlincComponent;
pub mod prelude {
pub use crate::app::{BlincApp, BlincConfig};
pub use crate::context::{DebugMode, RenderContext};
pub use crate::error::{BlincError, Result};
pub use crate::text_measurer::{init_text_measurer, init_text_measurer_with_registry};
pub use blinc_layout::prelude::*;
pub use blinc_layout::RenderTree;
pub use blinc_core::{Color, Point, Rect, Size};
pub use blinc_core::reactive::{Derived, Effect, ReactiveGraph, Signal};
pub use blinc_platform::WindowConfig;
pub use blinc_macros::BlincComponent;
pub use blinc_theme::{ColorScheme, ColorToken, RadiusToken, SpacingToken, ThemeState};
}