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-04-22 22:22:33 +03:00
|
|
|
pub mod about;
|
2026-03-22 14:56:27 +03:00
|
|
|
pub mod app_menu;
|
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-04 23:56:24 +03:00
|
|
|
pub mod cycle_popup;
|
2026-04-08 22:56:51 +03:00
|
|
|
pub mod dimstyle;
|
feat(styles): unify the five style managers behind a shared frame
The text/dimension/table/multileader/multiline managers were hand-copied,
so their list CRUD kept drifting and breaking: Dimension's New created
nothing (#73), new text styles never reached the ribbon dropdown (#74),
and several were added with a NULL handle (dropped on DWG save, #67).
Collapse the duplicated parts into three shared pieces and leave only the
per-manager property editor bespoke:
- app/style_ops.rs: one StyleKind-dispatched CRUD layer (new / copy /
delete / rename) handling handle allocation, ribbon sync, Table re-key
and name-reference rewrites in a single place.
- ui/style_manager.rs: the window scaffold — uniform toolbar (New / Copy /
Delete on the left, Set Current + Apply on the right), style list and
chrome. Each manager now only builds its editor.
- ui/style_list.rs: the list row — single click selects, double click
starts an inline rename.
New capabilities, now consistent across all five:
- Copy duplicates the selected style.
- Double-click a name to rename it inline.
- Right side is always Set Current + Apply (added Table set-current;
MLine apply is a documented placeholder until its editor is editable).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 15:03:34 +03:00
|
|
|
pub mod isolate_popup;
|
2026-03-22 14:56:27 +03:00
|
|
|
pub mod layers;
|
2026-04-08 22:56:51 +03:00
|
|
|
pub mod layout_manager;
|
2026-06-03 20:25:14 +03:00
|
|
|
pub mod mleaderstyle;
|
2026-04-08 22:56:51 +03:00
|
|
|
pub mod mlstyle;
|
2026-05-13 09:59:07 +03:00
|
|
|
pub mod open_progress;
|
2026-03-22 14:56:27 +03:00
|
|
|
pub mod overlay;
|
2026-04-08 22:56:51 +03:00
|
|
|
pub mod page_setup;
|
|
|
|
|
pub mod plotstyle;
|
2026-03-22 14:56:27 +03:00
|
|
|
pub mod properties;
|
|
|
|
|
pub mod ribbon;
|
2026-05-06 17:50:46 +03:00
|
|
|
pub mod scale_popup;
|
2026-06-04 23:39:48 +03:00
|
|
|
pub mod selection_filter_popup;
|
2026-06-12 02:07:26 +03:00
|
|
|
pub mod side_toolbar;
|
2026-05-12 10:36:15 +03:00
|
|
|
pub mod shortcuts;
|
2026-03-22 14:56:27 +03:00
|
|
|
pub mod snap_popup;
|
|
|
|
|
pub mod statusbar;
|
2026-06-04 19:14:04 +03:00
|
|
|
pub mod statusbar_config;
|
|
|
|
|
pub mod statusbar_menu;
|
feat(styles): unify the five style managers behind a shared frame
The text/dimension/table/multileader/multiline managers were hand-copied,
so their list CRUD kept drifting and breaking: Dimension's New created
nothing (#73), new text styles never reached the ribbon dropdown (#74),
and several were added with a NULL handle (dropped on DWG save, #67).
Collapse the duplicated parts into three shared pieces and leave only the
per-manager property editor bespoke:
- app/style_ops.rs: one StyleKind-dispatched CRUD layer (new / copy /
delete / rename) handling handle allocation, ribbon sync, Table re-key
and name-reference rewrites in a single place.
- ui/style_manager.rs: the window scaffold — uniform toolbar (New / Copy /
Delete on the left, Set Current + Apply on the right), style list and
chrome. Each manager now only builds its editor.
- ui/style_list.rs: the list row — single click selects, double click
starts an inline rename.
New capabilities, now consistent across all five:
- Copy duplicates the selected style.
- Double-click a name to rename it inline.
- Right side is always Set Current + Apply (added Table set-current;
MLine apply is a documented placeholder until its editor is editable).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 15:03:34 +03:00
|
|
|
pub mod style_list;
|
|
|
|
|
pub mod style_manager;
|
2026-04-08 22:56:51 +03:00
|
|
|
pub mod tablestyle;
|
2026-06-09 19:04:18 +03:00
|
|
|
pub mod text_util;
|
2026-04-08 22:56:51 +03:00
|
|
|
pub mod textstyle;
|
2026-06-04 22:06:42 +03:00
|
|
|
pub mod units_popup;
|
feat(styles): unify the five style managers behind a shared frame
The text/dimension/table/multileader/multiline managers were hand-copied,
so their list CRUD kept drifting and breaking: Dimension's New created
nothing (#73), new text styles never reached the ribbon dropdown (#74),
and several were added with a NULL handle (dropped on DWG save, #67).
Collapse the duplicated parts into three shared pieces and leave only the
per-manager property editor bespoke:
- app/style_ops.rs: one StyleKind-dispatched CRUD layer (new / copy /
delete / rename) handling handle allocation, ribbon sync, Table re-key
and name-reference rewrites in a single place.
- ui/style_manager.rs: the window scaffold — uniform toolbar (New / Copy /
Delete on the left, Set Current + Apply on the right), style list and
chrome. Each manager now only builds its editor.
- ui/style_list.rs: the list row — single click selects, double click
starts an inline rename.
New capabilities, now consistent across all five:
- Copy duplicates the selected style.
- Double-click a name to rename it inline.
- Right side is always Set Current + Apply (added Table set-current;
MLine apply is a documented placeholder until its editor is editable).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 15:03:34 +03:00
|
|
|
pub mod update_notice;
|
2026-03-22 14:56:27 +03:00
|
|
|
|
|
|
|
|
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;
|