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