mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-18 18:38:05 +08:00
19 lines
396 B
Rust
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!()
|
|
}
|