forked from 1b-agent/opencadstudio-upstream
plot styles: the CTB/STB model and codec come from the codec crate
Cargo: codec d36331d, kernel 60f086b, graph 74aac56. The table model and its file codec now live in `codec::plot_style` (opencadcodec#53) and are re-exported here. What stays is where tables come from: the plot styles folder, the session registry, the shipped tables, and saving to disk, as the `PlotStyleTableExt` trait. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
1070361c0a
commit
74df9ff84a
15 files changed
+55
-981
No files matched your search
@@ -1,4 +1,6 @@
|
||||
use super::*;
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
use crate::io::plot_style::PlotStyleTableExt as _;
|
||||
|
||||
impl OpenCADStudio {
|
||||
pub(super) fn dispatch_fileops(&mut self, cmd: &str, i: usize) -> Option<Task<Message>> {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
use crate::io::plot_style::PlotStyleTableExt as _;
|
||||
use super::*;
|
||||
use crate::scene::model::object::PropValue;
|
||||
|
||||
|
||||
@@ -66,6 +66,7 @@ pub use settings::MAX_SELECTED_GRIPS;
|
||||
/// as they are; only these two names are reachable externally.
|
||||
pub use settings::{CursorType, IsoPlane};
|
||||
|
||||
use crate::io::plot_style::PlotStyleTableExt as _;
|
||||
use document::DocumentTab;
|
||||
|
||||
use crate::modules::ModuleEvent;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
//! `file` arms and helpers, split out of the original `update.rs` (#mechanical decomposition).
|
||||
|
||||
#![allow(unused_imports)]
|
||||
use crate::io::plot_style::PlotStyleTableExt as _;
|
||||
use super::util::*;
|
||||
use super::{format_size, VIEWCUBE_HIT_SIZE};
|
||||
use crate::app::helpers::{
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
use crate::io::plot_style::PlotStyleTableExt as _;
|
||||
use super::{ArrowKey, Message, OpenCADStudio, TextEntryMode};
|
||||
use crate::command::CadCommand;
|
||||
use crate::scene::VIEWCUBE_DRAW_PX;
|
||||
|
||||
Reference in new issue
Block a user