mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 13:30:48 +00:00
Prep gcore
splitup: move various symbols into their own modules (#2746)
* move `trait AsU32` from `gcore::vector::misc` to `gcore` * move blending and gradient to their own modules * fix unused warnings * move `Quad`, `Rect` and `BBox` to `gcore::math` * extract `ReferencePoint` and transform nodes from `transform` * move color-related code to `mod color` * fix unused warning in test code * move blending-related nodes and code to `mod blending_nodes` * move ClickTarget code to `mod vector::click_target`
This commit is contained in:
parent
c797877763
commit
2ddae98bcf
44 changed files with 1407 additions and 1341 deletions
|
@ -168,7 +168,7 @@ fn derive_enum(enum_attributes: &[Attribute], name: Ident, input: syn::DataEnum)
|
|||
WidgetHint::Dropdown => quote! { Dropdown },
|
||||
};
|
||||
Ok(quote! {
|
||||
impl #crate_name::vector::misc::AsU32 for #name {
|
||||
impl #crate_name::AsU32 for #name {
|
||||
fn as_u32(&self) -> u32 {
|
||||
*self as u32
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue