Move the ItemRenderer to the item_rendering module

This commit is contained in:
Olivier Goffart 2021-01-06 10:19:39 +01:00 committed by Simon Hausmann
parent b0fd400cd1
commit c7ff67d0fc
7 changed files with 50 additions and 51 deletions

View file

@ -20,7 +20,7 @@ When adding an item or a property, it needs to be kept in sync with different pl
- Don't forget to update the documentation
*/
use super::{Item, ItemConsts, ItemRc, ItemRenderer};
use super::{Item, ItemConsts, ItemRc};
use crate::eventloop::ComponentWindow;
use crate::font::HasFont;
use crate::graphics::{Color, Point, Rect};
@ -28,7 +28,7 @@ use crate::input::{
FocusEvent, InputEventResult, KeyEvent, KeyEventResult, KeyboardModifiers, MouseEvent,
MouseEventType,
};
use crate::item_rendering::CachedRenderingData;
use crate::item_rendering::{CachedRenderingData, ItemRenderer};
use crate::layout::LayoutInfo;
#[cfg(feature = "rtti")]
use crate::rtti::*;