refactor(ui-egui): move colorpicker, style_picker, field_math, font_preview, board_picker to widgets/

This commit is contained in:
aiongg
2026-10-26 20:17:48 +00:00
parent 525d5cb6a1
commit 49ca56c3a4
8 changed files with 10 additions and 5 deletions
+5 -5
View File
@@ -7,14 +7,10 @@
pub mod a11y;
pub mod bidi;
mod board_picker;
pub mod canvas;
pub mod cjk;
pub mod colorpicker;
pub mod control;
pub mod dialogs;
pub mod field_math;
pub mod font_preview;
pub mod home;
pub mod home_recents;
pub mod i18n;
@@ -25,7 +21,6 @@ pub mod online;
pub mod pending_open;
pub mod present;
pub mod shortcuts;
pub mod style_picker;
pub mod tabs;
pub mod theme;
pub mod toolbar;
@@ -260,6 +255,11 @@ pub use panels::typography;
pub use panels::variable_ui;
pub use panels::vector_panel;
pub use panels::versions;
use widgets::board_picker;
pub use widgets::colorpicker;
pub use widgets::field_math;
pub use widgets::font_preview;
pub use widgets::style_picker;
use std::collections::BTreeSet;
use std::ffi::OsStr;
+5
View File
@@ -8,6 +8,11 @@ pub use crate::field_math::{Rel, Typed, eval, parse, stepped};
use crate::i18n::tr;
use crate::icons::{self, Icon};
use crate::theme::{Tokens, regular, semibold};
pub(crate) mod board_picker;
pub mod colorpicker;
pub mod field_math;
pub mod font_preview;
pub mod style_picker;
pub const ROW_H: f32 = 32.0;
pub const FIELD_H: f32 = 24.0;