mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-29 12:38:58 -06:00
refactor(ui-egui): move icons.rs into widgets/
This commit is contained in:
@@ -51,7 +51,6 @@ mod editing;
|
||||
pub mod file_watch;
|
||||
pub mod folders_ui;
|
||||
mod home;
|
||||
pub mod icons;
|
||||
pub mod last_session;
|
||||
pub mod last_view;
|
||||
pub mod motion;
|
||||
@@ -152,6 +151,7 @@ use tools::sign_ui;
|
||||
use tools::stamps_ui;
|
||||
use tools::tags_ui;
|
||||
use widgets::icon_data;
|
||||
pub use widgets::icons;
|
||||
use workflows::a11y_ui;
|
||||
use workflows::actions_ui;
|
||||
use workflows::combine_grid;
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
use egui::{Align2, Color32, CornerRadius, Rect, Response, Sense, Stroke, vec2};
|
||||
|
||||
use crate::theme::{self, Tokens};
|
||||
use crate::{PdfCraftApp, icons};
|
||||
use crate::PdfCraftApp;
|
||||
|
||||
pub(super) mod icon_data;
|
||||
pub mod icons;
|
||||
|
||||
/// Horizontal and vertical inset of a single-line field.
|
||||
const FIELD_MARGIN: egui::Margin = egui::Margin::symmetric(10, 6);
|
||||
|
||||
Reference in New Issue
Block a user