1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//! OA branding constants and ASCII banners.
//!
//! Port provenance: `oa/core/constant.h`.
//!
//! Central location for OA/Realm Library branding, ASCII banners, and
//! application metadata. Used by CLI tools, viewer applications, and tutorials.
// ─── ASCII banners ────────────────────────────────────────────────────────────
/// Main Realm banner (centered for ~80-character terminal).
pub const REALM_BANNER: &str = r"
██████╗ ███████╗ █████╗ ██╗ ███╗ ███╗
██╔══██╗██╔════╝██╔══██╗██║ ████╗ ████║
██████╔╝█████╗ ███████║██║ ██╔████╔██║
██╔══██╗██╔══╝ ██╔══██║██║ ██║╚██╔╝██║
██║ ██║███████╗██║ ██║███████╗██║ ╚═╝ ██║
╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
";
/// Compact single-box banner for CLI tools.
pub const COMPACT_BANNER: &str = r"
╔═══════════════════════════════════════════════════════════════════════════════╗
║ oa::Library ║
║ The Library. Every Vendor. Vulkan Native. ║
╚═══════════════════════════════════════════════════════════════════════════════╝
";
// ─── Application titles ───────────────────────────────────────────────────────
/// Window / application title for the OA viewport.
pub const VIEWPORT_TITLE: &str = "OaViewport";
// ─── Branding helpers ─────────────────────────────────────────────────────────
/// Prepend [`VIEWPORT_TITLE`] to a custom window title.
///
/// - Empty `title` → returns `"OaViewport"`.
/// - Title already starts with `"OaViewport"` → returned unchanged (no double-prepend).
/// - Otherwise → `"OaViewport" + title`.
///
/// Port provenance: `oa::brandViewport` in `oa/core/constant.h`.