first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
+7 -8
View File
@@ -6,9 +6,8 @@ pub mod switch;
pub mod tooltip;
pub use keyboard_shortcut::KeyboardShortcut;
use galaxy_core::ui::appearance::Appearance;
use galaxyui::Element;
use galaxyui_core::Element;
/// A reusable UI component that can be rendered with configurable parameters.
///
@@ -32,7 +31,7 @@ use galaxyui::Element;
/// ```rust
/// use ui_components::{Component, Options, button};
/// use galaxy_core::ui::appearance::Appearance;
/// use galaxyui::prelude::*;
/// use galaxyui_core::prelude::*;
///
/// // Store component as a field in your view.
/// struct MyView {
@@ -40,7 +39,7 @@ use galaxyui::Element;
/// }
///
/// impl MyView {
/// fn render_button(&self, appearance: &Appearance) -> Box<dyn galaxyui::Element> {
/// fn render_button(&self, appearance: &Appearance) -> Box<dyn galaxyui_core::Element> {
/// self.my_button.render(
/// appearance,
/// button::Params {
@@ -63,7 +62,7 @@ use galaxyui::Element;
/// ```rust
/// use ui_components::Component;
/// use galaxy_core::ui::appearance::Appearance;
/// use galaxyui::prelude::*;
/// use galaxyui_core::prelude::*;
///
/// // 1. Define the component struct with any persistent state.
/// #[derive(Default)]
@@ -233,7 +232,7 @@ pub trait Options {
/// ```rust
/// use ui_components::{Renderable, Options};
/// use galaxy_core::ui::appearance::Appearance;
/// use galaxyui::prelude::*;
/// use galaxyui_core::prelude::*;
///
/// pub struct SwitchOptions<'a> {
/// pub disabled: bool,
@@ -283,8 +282,8 @@ where
/// A function that handles mouse events.
pub type MouseEventHandler = Box<
dyn FnMut(
&mut galaxyui::EventContext,
&galaxyui::AppContext,
&mut galaxyui_core::EventContext,
&galaxyui_core::AppContext,
pathfinder_geometry::vector::Vector2F,
),
>;