|
wavelength 1.0.0
|
Line of text on the head-up display, drawn on its own over the rest. More...
#include <hudtextnode.h>
Public Member Functions | |
| HudTextNode (const char *pszText, RndView *pHudView) | |
| Construct a hidden line. | |
| void | SetText (const char *pszText) |
| Show a line, or hide the line for a null or empty text. | |
| void | Hide () |
| Hide the line. | |
| void | Draw () |
| Draw the line opaque while it shows. | |
Line of text on the head-up display, drawn on its own over the rest.
The class is not polymorphic and emits no RTTI. The object is 4 bytes.
| HudTextNode::HudTextNode | ( | const char * | pszText, |
| RndView * | pHudView ) |
Construct a hidden line.
| pszText | The text object, such as HUD genmsg.txt. |
| pHudView | The view the text is removed from. |
| void HudTextNode::SetText | ( | const char * | pszText | ) |
Show a line, or hide the line for a null or empty text.
| pszText | The line, or null. |
| void HudTextNode::Hide | ( | ) |
Hide the line.
| void HudTextNode::Draw | ( | ) |
Draw the line opaque while it shows.