mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-28 04:16:46 -06:00
refactor(ui-egui): move colorpicker, style_picker, field_math, font_preview, board_picker to widgets/
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user