Wrapping up bedrock implementation

This commit is contained in:
Ryan Ward
2026-05-13 10:04:59 -05:00
parent ed53aa99eb
commit cee61e2af0
1144 changed files with 2954 additions and 2660 deletions
+7 -7
View File
@@ -1,13 +1,6 @@
use std::{borrow::Cow, sync::Arc, time::Duration};
use anyhow::{Result, anyhow};
use pathfinder_geometry::vector::Vector2F;
use rust_embed::RustEmbed;
use ui_components::{
Component as _, Options, button, dialog,
lightbox::{self, LightboxImage, LightboxImageSource, NavigationDirection},
switch, tooltip,
};
use galaxy_core::ui::{Icon, appearance::Appearance, theme::color::internal_colors};
use galaxyui::{
AssetProvider, SingletonEntity, Tracked,
@@ -19,6 +12,13 @@ use galaxyui::{
platform,
prelude::*,
};
use pathfinder_geometry::vector::Vector2F;
use rust_embed::RustEmbed;
use ui_components::{
Component as _, Options, button, dialog,
lightbox::{self, LightboxImage, LightboxImageSource, NavigationDirection},
switch, tooltip,
};
#[derive(Clone, Copy, RustEmbed)]
#[folder = "../../app/assets"]
+1 -1
View File
@@ -1,7 +1,7 @@
use pathfinder_color::ColorU;
use galaxy_core::ui::{
appearance::Appearance, color::coloru_with_opacity, theme::Fill, theme::color::internal_colors,
};
use pathfinder_color::ColorU;
/// Theming delegate for a button.
pub trait Theme {
+1 -1
View File
@@ -1,6 +1,5 @@
use std::sync::Arc;
use pathfinder_geometry::vector::{Vector2F, vec2f};
use galaxy_core::ui::{Icon, appearance::Appearance};
use galaxyui::{
assets::asset_cache::AssetSource,
@@ -8,6 +7,7 @@ use galaxyui::{
keymap::Keystroke,
prelude::{stack::*, *},
};
use pathfinder_geometry::vector::{Vector2F, vec2f};
use crate::{Component, Options as _, button};