forked from 1b-agent/opencadstudio-upstream
Add Graphic Attributes palette toggle and persistence
This commit is contained in:
1 parent
3b74c7e7ea
commit
3e45331de1
14 files changed
+220
-71
No files matched your search
@@ -0,0 +1,14 @@
|
||||
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
||||
|
||||
pub const ICON: IconKind = IconKind::Svg(include_bytes!(
|
||||
"../../../assets/icons/graphic_attributes.svg"
|
||||
));
|
||||
|
||||
pub fn tool() -> ToolDef {
|
||||
ToolDef {
|
||||
id: "GRAPHICATTRIBUTES",
|
||||
label: "Graphic Attributes",
|
||||
icon: ICON,
|
||||
event: ModuleEvent::Command("GRAPHICATTRIBUTES".to_string()),
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user