Files
vectorcraft/crates/ui-egui/src/addons.rs
T
BFlat 1380e9c480 Merge pull request #7675 from dotCooCoo/feat/unit-converter
Unit Converter: one length in every unit, read from and applied to the selection
2026-11-18 10:16:26 +07:00

46 lines
1.5 KiB
Rust
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//! The module defines VectorCraft's built-in add-on menus and panels. Object › Plug-ins lists their tools and commands.
pub mod arrange;
pub mod cleanup;
pub mod color;
pub mod compounds;
pub mod contour;
pub mod cutting;
pub mod document;
pub mod enclosing_lasso;
pub mod image;
pub mod packaging;
pub mod pathtools;
pub mod pen;
pub mod polygonal_lasso;
pub mod select;
pub mod shapes;
pub mod typetools;
pub mod units;
use crate::menus::Item;
/// The add-ons' submenus, then a separator: the head of Object › Plug-ins.
pub fn plugin_menu() -> Vec<Item> {
vec![
Item::Sub("3D Box", shapes::menu()),
Item::Sub("Arrange Tools", arrange::menu()),
Item::Sub("Artwork Cleanup", cleanup::menu()),
Item::Sub("Color Effects", color::menu()),
Item::Sub("Compound Shapes", compounds::menu()),
Item::Sub("Contour", contour::menu()),
Item::Sub("Cutting Tools", cutting::menu()),
Item::Sub("Document Tools", document::menu()),
Item::Sub("Enclosing Lasso", enclosing_lasso::menu()),
Item::Sub("Image Tools", image::menu()),
Item::Sub("Packaging Tools", packaging::menu()),
Item::Sub("Path Precision Tools", pathtools::menu()),
Item::Sub("Polygonal Lasso", polygonal_lasso::menu()),
Item::Sub("Selection Tools", select::menu()),
Item::Sub("Smart Pen", pen::menu()),
Item::Sub("Type Tools", typetools::menu()),
Item::Sub("Unit Converter", units::menu()),
Item::Sep,
]
}