forked from 1b-agent/opencadstudio-upstream
The Home tab was already titled "Draw"; rename the module to match:
folder modules/home → modules/draw, HomeModule → DrawModule, id "home"
→ "draw". The inner draw/ command folder is kept (modules::draw::draw).
Update build.rs PRIORITY ("home" → "draw") so the tab returns to the
front of the ribbon; registry.rs regenerates accordingly.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
12 lines
311 B
Rust
12 lines
311 B
Rust
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
|
|
|
#[allow(dead_code)]
|
|
pub fn tool() -> ToolDef {
|
|
ToolDef {
|
|
id: "REPORT",
|
|
label: "Report",
|
|
icon: IconKind::Svg(include_bytes!("../../../assets/icons/report.svg")),
|
|
event: ModuleEvent::Command("REPORT".to_string()),
|
|
}
|
|
}
|