scaffold
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
//! GPUI components that feel native to the operating system.
|
||||
//!
|
||||
//! A thin facade: depend on `gpui-native-core` (and later siblings) directly
|
||||
//! for a lean build, or on this crate for everything behind features.
|
||||
|
||||
pub use gpui_native_icons as icons;
|
||||
pub use gpui_native_theme as theme;
|
||||
|
||||
#[cfg(feature = "core")]
|
||||
#[allow(unused_imports)] // empty until the first component lands
|
||||
pub use gpui_native_core::*;
|
||||
|
||||
use gpui::App;
|
||||
|
||||
/// Initializes the framework: installs the theme global from the current
|
||||
/// system appearance. Call once before opening windows.
|
||||
pub fn init(cx: &mut App) {
|
||||
theme::Theme::init(cx);
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
Reference in New Issue
Block a user