Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though

This commit is contained in:
Ryan Ward
2026-05-07 11:29:34 -05:00
parent f4e2475c60
commit a41cbd8cc7
2433 changed files with 14208 additions and 9409 deletions
@@ -0,0 +1,25 @@
use pathfinder_color::ColorU;
use galaxyui::{elements::Rect, AppContext, Element, Entity, TypedActionView, View};
pub struct RootView {}
// Implement the entity trait.
impl Entity for RootView {
type Event = ();
}
// Implement the view trait so RootView could be considered as a view.
impl View for RootView {
fn ui_name() -> &'static str {
"RootView"
}
// Let's render a simple black rect background.
fn render(&self, _: &AppContext) -> Box<dyn Element> {
Rect::new().with_background_color(ColorU::black()).finish()
}
}
impl TypedActionView for RootView {
type Action = ();
}