mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 02:48:12 +08:00
* Fix indentation * Set the correct name of the crate in root Cargo.toml * Fix all compile errors
21 lines
427 B
Rust
21 lines
427 B
Rust
use crate::wrappers::Color;
|
|
use wasm_bindgen::prelude::*;
|
|
|
|
/// 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!()
|
|
}
|
|
|
|
/// Update working colors
|
|
#[wasm_bindgen]
|
|
pub fn update_colors(primary_color: Color, secondary_color: Color) {
|
|
todo!()
|
|
}
|