Move datastructures::Color into graphics

This commit is contained in:
Simon Hausmann 2020-08-03 13:27:35 +02:00
parent fa87363dc5
commit 1b270f42d0
7 changed files with 94 additions and 94 deletions

View file

@ -7,10 +7,11 @@ use lyon::tessellation::{
FillAttributes, FillOptions, FillTessellator, StrokeAttributes, StrokeOptions,
StrokeTessellator,
};
use sixtyfps_corelib::abi::datastructures::{Color, ComponentWindow, ComponentWindowOpaque};
use sixtyfps_corelib::abi::datastructures::{ComponentWindow, ComponentWindowOpaque};
use sixtyfps_corelib::graphics::{
FillStyle, Frame as GraphicsFrame, GraphicsBackend, GraphicsWindow, HasRenderingPrimitive,
HighLevelRenderingPrimitive, Point, Rect, RenderingPrimitivesBuilder, Resource, Size,
Color, FillStyle, Frame as GraphicsFrame, GraphicsBackend, GraphicsWindow,
HasRenderingPrimitive, HighLevelRenderingPrimitive, Point, Rect, RenderingPrimitivesBuilder,
Resource, Size,
};
use smallvec::{smallvec, SmallVec};
use std::cell::RefCell;