1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
pub mod application;
pub mod messenger;
#[macro_use]
pub mod props;
pub mod renderer;
pub mod state;
#[macro_use]
pub mod widget;
pub mod layout;
pub mod signals;

pub type Scalar = f32;
pub type Integer = i32;

pub mod prelude {
    pub use crate::{
        application::*,
        layout::default_layout_engine::*,
        layout::*,
        messenger::*,
        props::*,
        renderer::*,
        signals::*,
        state::*,
        widget::*,
        widget::{
            component::*,
            context::*,
            node::*,
            unit::*,
            unit::{content::*, flex::*, grid::*, image::*, size::*, text::*},
            utils::*,
        },
        Integer, Scalar,
    };
}