forked from 1b-agent/opencadstudio-upstream
first commit
This commit is contained in:
1 parent
d52c6440ff
commit
d2fdac7f1e
274 files changed
+89330
No files matched your search
@@ -0,0 +1,24 @@
|
||||
// Layout module — paper space tools (viewports, scale, plot settings).
|
||||
// This tab is only shown when the active layout is not "Model".
|
||||
|
||||
pub mod mview;
|
||||
|
||||
use crate::modules::{CadModule, RibbonGroup};
|
||||
|
||||
pub struct LayoutModule;
|
||||
|
||||
impl CadModule for LayoutModule {
|
||||
fn id(&self) -> &'static str {
|
||||
"layout"
|
||||
}
|
||||
fn title(&self) -> &'static str {
|
||||
"Layout"
|
||||
}
|
||||
|
||||
fn ribbon_groups(&self) -> Vec<RibbonGroup> {
|
||||
vec![RibbonGroup {
|
||||
title: "Viewport",
|
||||
tools: vec![mview::tool().into()],
|
||||
}]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user