summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-02-28 20:47:13 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-02-28 20:47:13 +0100
commit3f6e28fa9b1b8d911f765c9efb5249a9e0c942d5 (patch)
tree5dc0bd03ae19c9285c36017519a3b048f561620e /src
parentfd06de5d9c5afa05c5b11cda730b0769aef92caa (diff)
downloadiced-3f6e28fa9b1b8d911f765c9efb5249a9e0c942d5.tar.gz
iced-3f6e28fa9b1b8d911f765c9efb5249a9e0c942d5.tar.bz2
iced-3f6e28fa9b1b8d911f765c9efb5249a9e0c942d5.zip
Use `iced_renderer` instead of `iced_graphics` in root crate
Diffstat (limited to 'src')
-rw-r--r--src/error.rs2
-rw-r--r--src/widget.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/error.rs b/src/error.rs
index 0bfa3ff1..5326718f 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -13,7 +13,7 @@ pub enum Error {
/// The application graphics context could not be created.
#[error("the application graphics context could not be created")]
- GraphicsCreationFailed(iced_graphics::Error),
+ GraphicsCreationFailed(iced_renderer::Error),
}
impl From<iced_winit::Error> for Error {
diff --git a/src/widget.rs b/src/widget.rs
index e2b0537e..04cb0e50 100644
--- a/src/widget.rs
+++ b/src/widget.rs
@@ -165,7 +165,7 @@ pub use vertical_slider::VerticalSlider;
#[cfg(feature = "canvas")]
#[cfg_attr(docsrs, doc(cfg(feature = "canvas")))]
-pub use iced_graphics::widget::canvas;
+pub use iced_renderer::widget::canvas;
#[cfg(feature = "canvas")]
#[cfg_attr(docsrs, doc(cfg(feature = "canvas")))]
@@ -192,7 +192,7 @@ pub mod image {
#[cfg(feature = "qr_code")]
#[cfg_attr(docsrs, doc(cfg(feature = "qr_code")))]
-pub use iced_graphics::widget::qr_code;
+pub use iced_renderer::widget::qr_code;
#[cfg(feature = "svg")]
#[cfg_attr(docsrs, doc(cfg(feature = "svg")))]