Epok Engine

EPOK RUNTIME

Text

text.hpp · native text data and HUD text components

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Module

native text data and HUD text components.

Header
text.hpp
Include
#include "text.hpp"
Stability
Epok runtime API

Include this module

C++ include
#include "text.hpp"

Types

Functions and methods

Fields, variables and values

alignExposes `align` on `epok::Text` for native text data and HUD text components.FieldapplyExposes `apply` on `epok::Localization` for native text data and HUD text components.FieldCenterNamed value `Center` in `epok::TextAlign`.Enum valuecolorExposes `color` on `epok::Text` for native text data and HUD text components.FielddroppedExposes `dropped` on `epok::HudStats` for native text data and HUD text components.FieldenabledExposes `enabled` on `epok::Text` for native text data and HUD text components.Fieldfont-1 is the built-in 8x16 atlas; anything else indexes the cooked fonts.FieldglyphsExposes `glyphs` on `epok::HudStats` for native text data and HUD text components.Fieldhud_statsExposes `hud_stats` on the `epok` namespace for native text data and HUD text components.VariableimagesExposes `images` on `epok::HudStats` for native text data and HUD text components.FieldkeyThe string table key this text shows, or -1 for its own text.FieldkeysExposes `keys` on `epok::Localization` for native text data and HUD text components.FieldlanguageExposes `language` on `epok::Localization` for native text data and HUD text components.FieldlanguagesExposes `languages` on `epok::Localization` for native text data and HUD text components.FieldLeftNamed value `Left` in `epok::TextAlign`.Enum valuelocalizationExposes `localization` on the `epok` namespace for native text data and HUD text components.VariablerectanglesExposes `rectangles` on `epok::HudStats` for native text data and HUD text components.FieldRightNamed value `Right` in `epok::TextAlign`.Enum valuerotatedExposes `rotated` on `epok::HudStats` for native text data and HUD text components.FieldstringsExposes `strings` on `epok::Localization` for native text data and HUD text components.FieldtextsExposes `texts` on `epok::HudStats` for native text data and HUD text components.FieldvalueUTF-8, verbatim.Fieldvisible_glyphsUses existing alignment padding.FieldwrapExposes `wrap` on `epok::Text` for native text data and HUD text components.Field