diff --git a/wmakerlib/src/defaults.rs b/wmakerlib/src/defaults.rs new file mode 100644 index 00000000..1a3e31f4 --- /dev/null +++ b/wmakerlib/src/defaults.rs @@ -0,0 +1,13 @@ +pub mod ffi { + use std::ffi::{c_char, c_int}; + + unsafe extern "C" { + pub fn wDefaultFillAttributes( + instance: *const c_char, + class: *const c_char, + attr: *mut crate::window::WindowAttributes, + mask: *mut crate::window::WindowAttributes, + use_global_default: c_int, + ); + } +} diff --git a/wmakerlib/src/lib.rs b/wmakerlib/src/lib.rs index 7d21b01a..0aa47138 100644 --- a/wmakerlib/src/lib.rs +++ b/wmakerlib/src/lib.rs @@ -1,6 +1,7 @@ pub mod application; pub mod app_icon; pub mod app_menu; +pub mod defaults; pub mod icon; pub mod screen; pub mod window;