euv-example 0.48.0

Cross-platform native showcase application demonstrating euv fine-grained reactivity, multi-mode rendering, window controls, and euv-ui components.
Documentation
pub(crate) const RENDER_TITLE: &str = "Rendering & GPU Effects";
pub(crate) const RENDER_SUBTITLE: &str = "Widget-scoped pipeline preview, SDF vector rasterization, BackdropBlur, shadows, gradients, and partial-damage pulses.";
pub(crate) const RENDER_CARD_TITLE: &str = "SDF Anti-Aliased Vector Canvas";
pub(crate) const RENDER_CARD_SUB: &str =
    "Analytical SDF shapes, circles, and strokes rendered live with theme-reactive tokens.";
pub(crate) const RENDER_PIPELINE_CARD_TITLE: &str = "Widget-Scoped Pipeline Mode";
pub(crate) const RENDER_PIPELINE_CARD_SUB: &str = "Preview Auto, Software, Hardware, or Hybrid modes locally without mutating global RenderConfig.";
pub(crate) const RENDER_CONTROLS_CARD_TITLE: &str = "GPU Effect Inspector";
pub(crate) const RENDER_CONTROLS_CARD_SUB: &str =
    "Tune BackdropBlur radius, shadow elevation, gradient angle, and dirty-rect pulses.";
pub(crate) const MODE_AUTO: &str = "Auto";
pub(crate) const MODE_SOFTWARE: &str = "Software";
pub(crate) const MODE_HARDWARE: &str = "Hardware";
pub(crate) const MODE_HYBRID: &str = "Hybrid";
pub(crate) const CANVAS_LABEL: &str = "Retained 2D Vector Preview";
pub(crate) const RENDER_BLUR_CARD_TITLE: &str = "Dual-Kawase BackdropBlur";
pub(crate) const RENDER_BLUR_CARD_SUB: &str =
    "Frosted translucent glass surface composited over vector primitives.";
pub(crate) const RENDER_BLUR_GLASS_TITLE: &str = "Frosted Glass Layer";
pub(crate) const RENDER_SHADOW_CARD_TITLE: &str = "Elevation Shadow Ramp";
pub(crate) const RENDER_SHADOW_CARD_SUB: &str =
    "Theme-synchronized drop shadows from subtle card lift to modal elevation.";
pub(crate) const RENDER_SHADOW_SAMPLE_TITLE: &str = "Elevated Surface Tile";
pub(crate) const RENDER_GRADIENT_CARD_TITLE: &str = "Linear Gradient Shader";
pub(crate) const RENDER_GRADIENT_CARD_SUB: &str =
    "Two-stop GPU linear gradients parameterized by angle and palette roles.";
pub(crate) const RENDER_GRADIENT_SAMPLE_TITLE: &str = "Directional Gradient Fill";
pub(crate) const RENDER_DAMAGE_CARD_TITLE: &str = "Partial-Damage Dirty-Rect Pulse";
pub(crate) const RENDER_DAMAGE_CARD_SUB: &str =
    "Surgical DIRTY_PAINT invalidation repainting only the targeted canvas tile.";
pub(crate) const RENDER_BTN_PULSE_DIRTY: &str = "Pulse Dirty Rect";
pub(crate) const RENDER_LABEL_BLUR_RADIUS: &str = "BackdropBlur Radius";
pub(crate) const RENDER_LABEL_SHADOW_TIER: &str = "Shadow Elevation";
pub(crate) const RENDER_LABEL_GRADIENT_ANGLE: &str = "Gradient Angle";
pub(crate) const RENDER_BLUR_OPT_8: &str = "8px";
pub(crate) const RENDER_BLUR_OPT_16: &str = "16px";
pub(crate) const RENDER_BLUR_OPT_24: &str = "24px";
pub(crate) const RENDER_SHADOW_OPT_SM: &str = "Shadow SM";
pub(crate) const RENDER_SHADOW_OPT_MD: &str = "Shadow MD";
pub(crate) const RENDER_SHADOW_OPT_LG: &str = "Shadow LG";
pub(crate) const RENDER_ANGLE_0: &str = "0 deg";
pub(crate) const RENDER_ANGLE_45: &str = "45 deg";
pub(crate) const RENDER_ANGLE_90: &str = "90 deg";
pub(crate) const RENDER_ANGLE_135: &str = "135 deg";
pub(crate) const RENDER_VECTOR_CANVAS_HEIGHT: f32 = 180.0;
pub(crate) const RENDER_EFFECT_STAGE_HEIGHT: f32 = 148.0;