mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 07:28:11 +08:00
Add colors in Rust (#78)
* 🎨 Add colors in Rust * 🌿 Use an option for the properties and #[repr(C)] * ❌ Remove WASM dependency on document. * 😎 Wrap Fill and stroke in a style struct. * 📦 Use crate::Color * Merge Add transactions for temporary modifications to the document * Run cargo fmt * Color without a 'U'
This commit is contained in:
committed by
Keavon Chambers
parent
2849b99b59
commit
46c9ef02ca
@@ -1,7 +1,6 @@
|
||||
#[macro_use]
|
||||
mod macros;
|
||||
|
||||
mod color;
|
||||
mod dispatcher;
|
||||
mod error;
|
||||
pub mod hint;
|
||||
@@ -12,7 +11,7 @@ pub mod workspace;
|
||||
pub use error::EditorError;
|
||||
|
||||
#[doc(inline)]
|
||||
pub use color::Color;
|
||||
pub use document_core::color::Color;
|
||||
|
||||
#[doc(inline)]
|
||||
pub use dispatcher::events;
|
||||
@@ -21,7 +20,7 @@ pub use dispatcher::events;
|
||||
pub use dispatcher::Callback;
|
||||
|
||||
use dispatcher::Dispatcher;
|
||||
use document_core::Document;
|
||||
use document_core::document::Document;
|
||||
use tools::ToolFsmState;
|
||||
use workspace::Workspace;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user