1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#![deny(missing_docs)]

//! A Simple Window Manager for Functional Reactive Programming in Rust

/// Visual Components and Modifiers which are to be composed into a single render cycle
pub mod view;

/// Input events and limited object state
pub mod events;

/// Implements the render cycle and exposes a very simple API for creating and manipulating windows
pub mod window;

/// Tools to be used from build.rs scripts
pub mod build;

///Macro to be called from main program to preload all assets into their respective caches
#[macro_export]
macro_rules! with_assets {
   ($w: ident) => (
      $w.load_assets(include!("assets.in").to_vec());
   );
}