Files
Graphite/web-frontend/wasm-wrapper/src/viewport.rs
2021-03-21 19:32:56 +01:00

19 lines
396 B
Rust

/// Modify the currently selected tool in the document state store
#[wasm_bindgen]
pub fn select_tool(tool: String) {
todo!()
}
/// Mouse movement with the bounds of the canvas
#[wasm_bindgen]
pub fn on_mouse_move(x: u32, y: u32) {
todo!()
}
use graphite_editor::Color;
/// Update working colors
#[wasm_bindgen]
pub fn update_colors(primary_color: Color, secondary_color: Color) {
todo!()
}