Wrapping up bedrock implementation
This commit is contained in:
@@ -3,8 +3,8 @@ use std::borrow::Cow;
|
||||
pub mod root_view;
|
||||
|
||||
extern crate galaxyui;
|
||||
use rust_embed::RustEmbed;
|
||||
use galaxyui::{platform, AssetProvider};
|
||||
use rust_embed::RustEmbed;
|
||||
|
||||
#[derive(Clone, Copy, RustEmbed)]
|
||||
#[folder = "examples/assets"]
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
use pathfinder_color::ColorU;
|
||||
use galaxyui::{
|
||||
elements::{Align, Container},
|
||||
presenter::ChildView,
|
||||
@@ -8,6 +7,7 @@ use galaxyui::{
|
||||
},
|
||||
AppContext, Element, Entity, TypedActionView, View, ViewContext, ViewHandle,
|
||||
};
|
||||
use pathfinder_color::ColorU;
|
||||
|
||||
/// Renders a center-aligned slider component against a black background. When the slider is
|
||||
/// dragged, the updated value is printed to stdout.
|
||||
|
||||
Reference in New Issue
Block a user