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
extern crate prototty;
extern crate cgmath;
extern crate ansi_colour;
#[macro_use] extern crate itertools;
extern crate serde;
#[macro_use] extern crate serde_derive;

mod defaults;

pub mod common;

/// Borders around other elements
pub mod border;

/// Drawing canvas
pub mod canvas;

/// Graphical menus
pub mod menu;

/// Rich text
pub mod rich_text;

/// Plain text
pub mod text;

pub mod elements {
    //! Re-exports all elements

    pub use super::border::Border;
    pub use super::canvas::Canvas;
    pub use super::menu::MenuInstance;
    pub use super::rich_text::RichText;
    pub use super::text::Text;
}