Rename Layer to overlay::Content
This commit is contained in:
parent
a264236624
commit
0ff5a02550
9 changed files with 41 additions and 40 deletions
|
|
@ -1,6 +1,4 @@
|
|||
//! Organize rendering primitives into a flattened list of layers.
|
||||
mod menu;
|
||||
|
||||
use crate::image;
|
||||
use crate::svg;
|
||||
use crate::triangle;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
#![forbid(rust_2018_idioms)]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||
mod antialiasing;
|
||||
mod overlay;
|
||||
mod primitive;
|
||||
mod renderer;
|
||||
mod transformation;
|
||||
|
|
|
|||
1
graphics/src/overlay.rs
Normal file
1
graphics/src/overlay.rs
Normal file
|
|
@ -0,0 +1 @@
|
|||
mod menu;
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
use crate::backend::Backend;
|
||||
use crate::{Primitive, Renderer};
|
||||
use iced_native::{
|
||||
layer, mouse, Background, Color, Font, HorizontalAlignment, Point,
|
||||
mouse, overlay, Background, Color, Font, HorizontalAlignment, Point,
|
||||
Rectangle, VerticalAlignment,
|
||||
};
|
||||
|
||||
impl<B> layer::menu::Renderer for Renderer<B>
|
||||
impl<B> overlay::menu::Renderer for Renderer<B>
|
||||
where
|
||||
B: Backend,
|
||||
{
|
||||
Loading…
Add table
Add a link
Reference in a new issue