2026-03-22 14:56:27 +03:00
|
|
|
/// 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;
|
|
|
|
|
|
2026-06-14 10:42:39 +03:00
|
|
|
pub mod color_select;
|
2026-03-22 14:56:27 +03:00
|
|
|
pub mod command_line;
|
2026-06-18 12:29:32 +03:00
|
|
|
pub mod icons;
|
2026-06-16 18:59:13 +03:00
|
|
|
pub mod modal;
|
2026-03-22 14:56:27 +03:00
|
|
|
pub mod overlay;
|
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 <noreply@anthropic.com>
2026-06-26 23:34:10 +03:00
|
|
|
pub mod popup;
|
2026-03-22 14:56:27 +03:00
|
|
|
pub mod properties;
|
|
|
|
|
pub mod ribbon;
|
2026-06-12 02:07:26 +03:00
|
|
|
pub mod side_toolbar;
|
2026-03-22 14:56:27 +03:00
|
|
|
pub mod statusbar;
|
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 <noreply@anthropic.com>
2026-06-26 23:34:10 +03:00
|
|
|
pub mod style;
|
2026-06-09 19:04:18 +03:00
|
|
|
pub mod text_util;
|
refactor: group ui/ statusbar and window subdirs
Continue tidying the flat ui/ root:
- ui/statusbar/: statusbar.rs becomes statusbar/mod.rs (its
crate::ui::statusbar::* paths are preserved) and absorbs
statusbar_config.rs + statusbar_menu.rs.
- ui/window/: the standalone manager/dialog windows move here —
about, layout_manager, page_setup, plugin_manager, shortcuts,
layers, update_notice, open_progress. The crate::ui::LayerPanel
re-export is repointed so callers are unchanged.
Call sites repointed to the new paths; no compat re-exports beyond the
existing LayerPanel one. ui/ root drops from 21 to 10 flat files with
five subdirs (ribbon, style, popup, statusbar, window).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 23:52:26 +03:00
|
|
|
pub mod window;
|
2026-03-22 14:56:27 +03:00
|
|
|
|
|
|
|
|
pub use command_line::CommandLine;
|
|
|
|
|
pub use properties::PropertiesPanel;
|
|
|
|
|
pub use ribbon::Ribbon;
|
|
|
|
|
pub use statusbar::StatusBar;
|
refactor: group ui/ statusbar and window subdirs
Continue tidying the flat ui/ root:
- ui/statusbar/: statusbar.rs becomes statusbar/mod.rs (its
crate::ui::statusbar::* paths are preserved) and absorbs
statusbar_config.rs + statusbar_menu.rs.
- ui/window/: the standalone manager/dialog windows move here —
about, layout_manager, page_setup, plugin_manager, shortcuts,
layers, update_notice, open_progress. The crate::ui::LayerPanel
re-export is repointed so callers are unchanged.
Call sites repointed to the new paths; no compat re-exports beyond the
existing LayerPanel one. ui/ root drops from 21 to 10 flat files with
five subdirs (ribbon, style, popup, statusbar, window).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 23:52:26 +03:00
|
|
|
pub use window::layers::LayerPanel;
|