mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 11:18:11 +08:00
- Move message handler payload data into structs
- Organize the file structure used by `editor/src/messages/portfolio/document` `/node_graph` and `/graph_operation`
- Make derive attributes use `serde::Serialize, serde::Deserialize` consistently instead of `use serde::{Deserialize, Serialize};` imports
- Various other code cleanup and refactoring
12 lines
292 B
Rust
12 lines
292 B
Rust
use crate::messages::prelude::*;
|
|
|
|
#[derive(PartialEq, Eq, Clone, Debug, serde::Serialize, serde::Deserialize, Hash)]
|
|
#[impl_message(Message, BroadcastMessage, TriggerEvent)]
|
|
pub enum BroadcastEvent {
|
|
AnimationFrame,
|
|
CanvasTransformed,
|
|
ToolAbort,
|
|
SelectionChanged,
|
|
WorkingColorChanged,
|
|
}
|