resonance 1.0.1
Loading...
Searching...
No Matches
hudtracklabel.h
Go to the documentation of this file.
1#pragma once
2
3class HxStr;
4
5namespace Rnd {
6class Mesh;
7class Text;
8} // namespace Rnd
9
17public:
25 HudTrackLabel(int nIndex);
26
36 void SetText(const HxStr &text);
37
38private:
39 Rnd::Mesh *mMesh; // `<layout> track<n>.mesh`
40 Rnd::Text *mText; // `<layout> track<n>.txt`
41};
void SetText(const HxStr &text)
Set the label's text.
HudTrackLabel(int nIndex)
Resolve the label's mesh and text, and show the mesh.
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Indexed triangle mesh with one material.
Definition mesh.h:46
Run of text drawn as a quad per glyph.
Definition text.h:57
The rendering engine.
Definition animhelper.h:3