summaryrefslogtreecommitdiffstats
path: root/glow/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-05-19 17:15:44 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-05-19 17:15:44 +0200
commit05af8d00d4c0f7b8e0ece85224fd90a92da86da8 (patch)
tree98e4774a2c0d4a2a0a01aff1d772f89c4cb0aa5e /glow/src/lib.rs
parentd4743183d40c6044ce6fa39e2a52919a32912cda (diff)
downloadiced-05af8d00d4c0f7b8e0ece85224fd90a92da86da8.tar.gz
iced-05af8d00d4c0f7b8e0ece85224fd90a92da86da8.tar.bz2
iced-05af8d00d4c0f7b8e0ece85224fd90a92da86da8.zip
Draft new `iced_graphics` crate :tada:
Diffstat (limited to 'glow/src/lib.rs')
-rw-r--r--glow/src/lib.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/glow/src/lib.rs b/glow/src/lib.rs
index ce447192..27c39b99 100644
--- a/glow/src/lib.rs
+++ b/glow/src/lib.rs
@@ -4,10 +4,8 @@
//#![forbid(unsafe_code)]
#![forbid(rust_2018_idioms)]
-mod defaults;
-mod primitive;
+mod backend;
mod quad;
-mod renderer;
mod text;
mod transformation;
mod triangle;
@@ -17,15 +15,15 @@ pub mod settings;
pub mod widget;
pub mod window;
-pub use defaults::Defaults;
-pub use primitive::Primitive;
-pub use renderer::Renderer;
pub use settings::Settings;
pub use viewport::Viewport;
+pub(crate) use backend::Backend;
pub(crate) use quad::Quad;
pub(crate) use transformation::Transformation;
+pub type Renderer = iced_graphics::Renderer<Backend>;
+
#[doc(no_inline)]
pub use widget::*;