forked from 1b-agent/opencadstudio-upstream
commit
efa4bdd5e1
3 files changed
+6
-2
No files matched your search
@@ -1,6 +1,5 @@
|
|||||||
// Draw module — Draw, Modify, Annotation and Layer tools.
|
// Draw module — Draw, Modify, Annotation and Layer tools.
|
||||||
|
|
||||||
mod about;
|
|
||||||
mod changelog;
|
mod changelog;
|
||||||
pub mod clipboard;
|
pub mod clipboard;
|
||||||
pub mod defaults;
|
pub mod defaults;
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
||||||
|
|
||||||
#[allow(dead_code)]
|
|
||||||
pub fn tool() -> ToolDef {
|
pub fn tool() -> ToolDef {
|
||||||
ToolDef {
|
ToolDef {
|
||||||
id: "ABOUT",
|
id: "ABOUT",
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
// Manage module — customization and drawing cleanup tools.
|
// Manage module — customization and drawing cleanup tools.
|
||||||
|
|
||||||
|
mod about;
|
||||||
mod audit;
|
mod audit;
|
||||||
mod cui_export;
|
mod cui_export;
|
||||||
mod cui_import;
|
mod cui_import;
|
||||||
@@ -75,6 +76,11 @@ impl CadModule for ManageModule {
|
|||||||
RibbonItem::Tool(audit::tool()),
|
RibbonItem::Tool(audit::tool()),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
// ── Application ───────────────────────────────────────────────────
|
||||||
|
RibbonGroup {
|
||||||
|
title: "Application",
|
||||||
|
tools: vec![RibbonItem::LargeTool(about::tool())],
|
||||||
|
},
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user