euv-example 0.39.0

Cross-platform native showcase application demonstrating euv fine-grained reactivity, multi-mode rendering, window controls, and euv-ui components.
Documentation
pub(crate) const LABEL_PLATFORM_ANDROID: &str = "Android";
pub(crate) const LABEL_PLATFORM_MACOS: &str = "macOS";
pub(crate) const LABEL_CALENDAR_MONTH: &str = "November 2026";
pub(crate) const OVERVIEW_TITLE: &str = "Cross-Platform Native Runtime";
pub(crate) const OVERVIEW_SUBTITLE: &str =
    "Unified retained scene graph and deterministic layout across 7 targets.";
pub(crate) const STAT_PLATFORMS_LABEL: &str = "Native Targets";
pub(crate) const STAT_PLATFORMS_VAL: &str = "7 OS / Web";
pub(crate) const STAT_PLATFORMS_CAP: &str = "Web, Android, iOS, iPadOS, macOS, Windows, Linux";
pub(crate) const STAT_SCHEMES_LABEL: &str = "Design Schemes";
pub(crate) const STAT_SCHEMES_VAL: &str = "17 Presets";
pub(crate) const STAT_SCHEMES_CAP: &str = "Zero-CSS compiled Light & Dark tokens";
pub(crate) const STAT_RENDER_LABEL: &str = "Render Modes";
pub(crate) const STAT_RENDER_VAL: &str = "Auto / SW / HW / Hybrid";
pub(crate) const STAT_RENDER_CAP: &str = "Bit-identical pixel parity";
pub(crate) const TABLE_COL_TARGET: &str = "Target";
pub(crate) const TABLE_COL_BACKEND: &str = "System API";
pub(crate) const TABLE_COL_GPU: &str = "GPU Shader";
pub(crate) const ROW_WEB: &str = "Web";
pub(crate) const ROW_WEB_API: &str = "DOM Canvas / WebGPU / WebGL2";
pub(crate) const ROW_WEB_GPU: &str = "WGSL / GLSL ES";
pub(crate) const ROW_MACOS: &str = "macOS";
pub(crate) const ROW_MACOS_API: &str = "AppKit / CoreGraphics / Metal";
pub(crate) const ROW_MACOS_GPU: &str = "MSL";
pub(crate) const ROW_IOS: &str = "iOS / iPadOS";
pub(crate) const ROW_IOS_API: &str = "UIKit / CAMetalLayer / Pencil";
pub(crate) const ROW_ANDROID: &str = "Android";
pub(crate) const ROW_ANDROID_API: &str = "NDK ANativeWindow / Vulkan";
pub(crate) const ROW_ANDROID_GPU: &str = "SPIR-V / GLES";
pub(crate) const ROW_WINDOWS: &str = "Windows";
pub(crate) const ROW_WINDOWS_API: &str = "Win32 / GDI / Direct3D 12";
pub(crate) const ROW_WINDOWS_GPU: &str = "HLSL";
pub(crate) const ROW_LINUX: &str = "Linux";
pub(crate) const ROW_LINUX_API: &str = "dlopen Wayland & X11 / Vulkan";
pub(crate) const CARD_PLATFORMS_TITLE: &str = "Platform Capability Matrix";
pub(crate) const CARD_PLATFORMS_SUB: &str = "Direct system API adapters with zero WebView wrappers";

pub(crate) const REACTIVE_TITLE: &str = "Fine-Grained Reactivity";
pub(crate) const REACTIVE_SUBTITLE: &str =
    "Glitch-free push-pull memos and surgical node patching.";
pub(crate) const REACTIVE_CARD_TITLE: &str = "Live Signal & Memo Graph";
pub(crate) const REACTIVE_CARD_SUB: &str =
    "Mutations update only subscribed text nodes without VDOM diffing.";
pub(crate) const BTN_INCREMENT: &str = "Increment (+1)";
pub(crate) const BTN_BATCH_TEN: &str = "Batch (+10)";
pub(crate) const BTN_RESET: &str = "Reset";
pub(crate) const PREFIX_COUNTER: &str = "Counter: ";
pub(crate) const PREFIX_DOUBLED: &str = "Memo (x2): ";

pub(crate) const RENDER_TITLE: &str = "Multi-Mode Rendering";
pub(crate) const RENDER_SUBTITLE: &str =
    "Switch cleanly between Auto, Software, Hardware, and Hybrid pipelines.";
pub(crate) const RENDER_CARD_TITLE: &str = "Pipeline Mode & Vector Canvas";
pub(crate) const RENDER_CARD_SUB: &str =
    "Analytical SDF software rasterizer paired with instanced GPU shaders.";
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 Canvas Preview";

pub(crate) const WINDOW_TITLE: &str = "Window & Platform Inspector";
pub(crate) const WINDOW_SUBTITLE: &str =
    "Unified window configuration, DPI scale, and safe area insets.";
pub(crate) const WINDOW_CARD_TITLE: &str = "Runtime Platform Telemetry";
pub(crate) const WINDOW_CARD_SUB: &str =
    "Identical API surface across desktop, tablet, mobile, and browser.";
pub(crate) const SWITCH_FULLSCREEN: &str = "Request Fullscreen Mode";
pub(crate) const CODE_WINDOW_SNIPPET: &str = "let mut w: WindowConfig = WindowConfig::default();\nw.set_title(\"euv\".into()).set_size(1280, 800);\nw.set_render(RenderConfig::default());";

pub(crate) const FORMS_TITLE: &str = "Interactive Form Controls";
pub(crate) const FORMS_SUBTITLE: &str =
    "Reactive text inputs, toggles, checkboxes, tabs, and button variants.";
pub(crate) const FORMS_CARD_TITLE: &str = "Profile Preferences";
pub(crate) const FORMS_CARD_SUB: &str =
    "Two-way signal bindings with focus ring and hit-tested keyboard input.";
pub(crate) const FIELD_USERNAME: &str = "Developer Handle";
pub(crate) const PLACEHOLDER_USERNAME: &str = "Enter handle...";
pub(crate) const SWITCH_HW_LABEL: &str = "Prefer Hardware GPU Pipeline";
pub(crate) const CHECKBOX_TERMS_LABEL: &str = "Enable deterministic frame telemetry";
pub(crate) const TAB_GENERAL: &str = "General";
pub(crate) const TAB_GRAPHICS: &str = "Graphics";
pub(crate) const TAB_SECURITY: &str = "Security";
pub(crate) const BTN_PRIMARY_LABEL: &str = "Save Changes";
pub(crate) const BTN_SECONDARY_LABEL: &str = "Secondary";
pub(crate) const BTN_OUTLINE_LABEL: &str = "Outline";
pub(crate) const BTN_DESTRUCTIVE_LABEL: &str = "Reset Profile";

pub(crate) const THEMES_TITLE: &str = "17 Compiled Design Schemes";
pub(crate) const THEMES_SUBTITLE: &str =
    "Zero-CSS compile-time palettes with Light and Dark theme tokens.";
pub(crate) const THEMES_CARD_TITLE: &str = "Active Theme Controls";
pub(crate) const THEMES_CARD_SUB: &str =
    "Switch design system presets or toggle Light/Dark mode dynamically.";
pub(crate) const BTN_NEXT_SCHEME: &str = "Cycle Design Scheme";
pub(crate) const BTN_TOGGLE_MODE: &str = "Toggle Light / Dark";
pub(crate) const PREFIX_ACTIVE_SCHEME: &str = "Active Scheme: ";

pub(crate) const DATA_TITLE: &str = "Virtualized Lists & Data Display";
pub(crate) const DATA_SUBTITLE: &str =
    "O(visible) virtualization for 10,000 rows plus progress and badges.";
pub(crate) const DATA_CARD_TITLE: &str = "10,000-Row Virtual Viewport";
pub(crate) const DATA_CARD_SUB: &str =
    "Only rows intersecting the scroll viewport plus overscan are mounted.";
pub(crate) const ROW_PREFIX: &str = "Virtual Row #";
pub(crate) const BADGE_READY: &str = "Deterministic";
pub(crate) const BADGE_LIVE: &str = "60-120 FPS";
pub(crate) const BTN_SCROLL_DOWN: &str = "Scroll Down (+160px)";
pub(crate) const BTN_SCROLL_TOP: &str = "Back to Top";

pub(crate) const GAME_TITLE: &str = "Real-Time Game Engine & HUD";
pub(crate) const GAME_SUBTITLE: &str = "Fixed-timestep FrameClock, InputState polling, GameScene viewport, and declarative HUD overlay.";
pub(crate) const GAME_CARD_TITLE: &str = "Embedded 60Hz Physics Arena";
pub(crate) const GAME_CARD_SUB: &str = "Step deterministic physics frames or overlay transparent euv HUD panels on top of any 2D/3D engine.";
pub(crate) const BTN_STEP_PHYSICS: &str = "Step Physics (+3 Frames)";
pub(crate) const GAME3D_TITLE: &str = "AAA 3D Open-World Engine & Ray Tracing";
pub(crate) const GAME3D_SUBTITLE: &str = "BVH ray-traced shadows, glossy reflections, GI, LOD streaming, .OBJ/.glTF model import, and live runtime quality tuning.";
pub(crate) const GAME3D_CARD_TITLE: &str = "Vice Boulevard 3D Sandbox";
pub(crate) const GAME3D_CARD_SUB: &str = "Drive with WASD/Arrows or mobile controls; adjust preset, ray tracing, resolution scale, sun hour, or import 3D models live.";

pub(crate) const OVERLAYS_TITLE: &str = "Overlays, Modals & Toasts";
pub(crate) const OVERLAYS_SUBTITLE: &str =
    "Portal-mounted fixed layers with z-index stacking and scrim backdrops.";
pub(crate) const OVERLAYS_CARD_TITLE: &str = "Overlay Triggers";
pub(crate) const OVERLAYS_CARD_SUB: &str =
    "Toggle reactive portal layers without re-mounting the scene tree.";
pub(crate) const BTN_OPEN_MODAL: &str = "Open Dialog Modal";
pub(crate) const BTN_CLOSE_MODAL: &str = "Close Modal";
pub(crate) const BTN_TOGGLE_TOAST: &str = "Toggle Toast Banner";
pub(crate) const MODAL_TITLE: &str = "Cross-Platform Native Dialog";
pub(crate) const MODAL_BODY_TEXT: &str =
    "Rendered via euv retained portal layer with consistent geometry across all 7 platforms.";
pub(crate) const TOAST_TEXT: &str = "Render pipeline synchronized cleanly.";
pub(crate) const ALERT_TITLE: &str = "Zero-WebView Native Architecture";
pub(crate) const ALERT_DESC: &str = "Every pixel is computed by the unified Rust layout engine and rasterized or GPU-batched directly.";

pub(crate) const DYNAMIC_TITLE: &str = "Dynamic Component & Page OTA Updates";
pub(crate) const DYNAMIC_SUBTITLE: &str = "Surgical component-level hot updates, page-level live swaps, atomic JSON bundles, and runtime route injection.";
pub(crate) const DYNAMIC_COMP_CARD_TITLE: &str = "Component-Level Dynamic Slots";
pub(crate) const DYNAMIC_COMP_CARD_SUB: &str = "Update individual named slots via signed JSON or native Rust closures without resetting sibling state.";
pub(crate) const DYNAMIC_PAGE_CARD_TITLE: &str = "Page-Level Dynamic Updates & Route Injection";
pub(crate) const DYNAMIC_PAGE_CARD_SUB: &str = "Hot-swap entire page layouts, apply atomic multi-target bundles, or inject brand-new routes at runtime.";
pub(crate) const BTN_INC_SIBLING: &str = "Increment Sibling (+1)";
pub(crate) const BTN_PUSH_BANNER_V1: &str = "Push Banner v1 (JSON)";
pub(crate) const BTN_PUSH_BANNER_V2: &str = "Push Banner v2 (Native)";
pub(crate) const BTN_ROLLBACK_BANNER: &str = "Rollback Banner";
pub(crate) const BTN_PATCH_METRICS: &str = "Patch Metrics Widget";
pub(crate) const BTN_ROLLBACK_METRICS: &str = "Rollback Metrics";
pub(crate) const BTN_UPDATE_PAGE_V1: &str = "Hot-Update Page (v1)";
pub(crate) const BTN_APPLY_BUNDLE: &str = "Apply Atomic Bundle";
pub(crate) const BTN_ROLLBACK_PAGE: &str = "Rollback Page";
pub(crate) const BTN_INJECT_ROUTE: &str = "Inject & Visit /promo-live";
pub(crate) const BTN_CLAIM_OFFER: &str = "Claim Dynamic Offer";
pub(crate) const BTN_RETURN_DYNAMIC: &str = "Return to Dynamic OTA";
#[cfg(not(debug_assertions))]
pub(crate) const AI_SCHEMA_RELEASE_STRIPPED: &str = "stripped-in-release";
pub(crate) const AI_BRIDGE_STATUS_ACTIVE: &str = "dev-active";
pub(crate) const AI_BRIDGE_STATUS_OFF: &str = "0B-release";
pub(crate) const TOUCH_PAD_READY_TEXT: &str =
    "Multi-Touch Pad Ready: place 1, 2, or more fingers inside the pad (sidebar & scroll isolated)";
pub(crate) const TOUCH_PAD_CANVAS_HINT: &str = "Touch or drag with 1-5 fingers here";
pub(crate) const FORMS_EXT_CARD_SUB: &str =
    "ToggleGroup, InputOTP, ColorPicker, TimePicker, TagInput, Calendar, and Collapsible";
pub(crate) const TAG_INPUT_PLACEHOLDER: &str = "Add feature tag...";
pub(crate) const TREE_NODE_WORKSPACE: &str = "Workspace";
pub(crate) const TREE_NODE_CORE: &str = "euv-core";
pub(crate) const TREE_NODE_UI: &str = "euv-ui";
pub(crate) const TREE_NODE_PERF: &str = "euv-performance";
pub(crate) const TREE_NODE_RENDER: &str = "Renderer (SW/GPU)";
pub(crate) const TREE_NODE_REACTIVE: &str = "Reactive Signals";
pub(crate) const TREE_NONE_SELECTED: &str = "None";
pub(crate) const TREE_SELECTED_PREFIX: &str = "Selected Tree Node";