oa::core::constant

Module published by the oa::core module.

MdRust public API

Public Functions

pub fn brand_viewport(title: &str) -> String

Public Constants & Variables

pub const COMPACT_BANNER: &str = r" ╔═══════════════════════════════════════════════════════════════════════════════╗ ║ oa::Library ║ ║ The Library. Every Vendor. Vulkan Native. ║ ╚═══════════════════════════════════════════════════════════════════════════════╝ ";
pub const REALM_BANNER: &str = r" ██████╗ ███████╗ █████╗ ██╗ ███╗ ███╗ ██╔══██╗██╔════╝██╔══██╗██║ ████╗ ████║ ██████╔╝█████╗ ███████║██║ ██╔████╔██║ ██╔══██╗██╔══╝ ██╔══██║██║ ██║╚██╔╝██║ ██║ ██║███████╗██║ ██║███████╗██║ ╚═╝ ██║ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ";
pub const VIEWPORT_TITLE: &str = "OaViewport";

Function Documentation

pub fn brand_viewport( title: &str ) -> String
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.