Files
OneCAD-Draft/src/ui/mod.rs
T
Hakan SevenandClaude Opus 4.8 9cd0479047 refactor: group ui/ style+popup dirs, rename cmd_result driver
- Group the flat src/ui/ dir: move the 9 style editors into ui/style/
  (dimstyle, mleaderstyle, mlstyle, plotstyle, textstyle, tablestyle,
  point_style, style_list, style_manager) and the 6 popups into
  ui/popup/ (cycle, isolate, scale, selection_filter, snap, units).
  Call sites repointed to crate::ui::style::/crate::ui::popup::; no
  compat re-exports. ui/ root drops from 36 to 21 files.
- Rename app/cmd_result.rs -> app/command_driver.rs: the file is the
  StepInput->feed_command driver, not the CmdResult type (which lives
  in command.rs). Name now matches contents.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-26 23:34:10 +03:00

35 lines
804 B
Rust

/// Single source of truth for UI row height (px).
/// Change this to scale the ribbon, layer manager rows, and property panel rows uniformly.
pub const ROW_H: f32 = 26.0;
pub mod about;
pub mod app_menu;
pub mod color_select;
pub mod command_line;
pub mod icons;
pub mod layers;
pub mod layout_manager;
pub mod modal;
pub mod open_progress;
pub mod overlay;
pub mod page_setup;
pub mod plugin_manager;
pub mod popup;
pub mod properties;
pub mod ribbon;
pub mod side_toolbar;
pub mod shortcuts;
pub mod statusbar;
pub mod statusbar_config;
pub mod statusbar_menu;
pub mod style;
pub mod text_util;
pub mod update_notice;
pub use app_menu::AppMenu;
pub use command_line::CommandLine;
pub use layers::LayerPanel;
pub use properties::PropertiesPanel;
pub use ribbon::Ribbon;
pub use statusbar::StatusBar;