#include <text.h>
Collaboration diagram for hoa_video::RenderedLine:

Public Types | |
| enum | { MAIN_TEXTURE = 0, SHADOW_TEXTURE = 1, NUM_TEXTURES = 2 } |
| Num textures constant enum. More... | |
Public Member Functions | |
| RenderedLine (GLuint *tex, int32 lineWidth, int32 texWidth, int32 lineHeight, int32 texHeight, int32 xOffset, int32 yOffset) | |
| Create a RenderedLine. | |
| ~RenderedLine () | |
| Deletes textures. | |
Public Attributes | |
| int32 | height |
| The height of the line. | |
| GLuint | texture [NUM_TEXTURES] |
| The GL texture. | |
| float | u |
| U texture coordinate of the line. | |
| float | v |
| V texture coordinate of the line. | |
| int32 | width |
| The width of the line. | |
| int32 | x_offset |
| The X offset to draw on. | |
| int32 | y_offset |
| The Y offset to draw on. | |
Private Member Functions | |
| RenderedLine & | operator= (const RenderedLine &other) |
| Disabled assignment operator. | |
| RenderedLine (const RenderedLine &other) | |
| Disabled copy constructor. | |
****************************************************************************
Definition at line 103 of file text.h.
| anonymous enum |
| hoa_video::RenderedLine::RenderedLine | ( | const RenderedLine & | other | ) | [private] |
Disabled copy constructor.
| hoa_video::RenderedLine::RenderedLine | ( | GLuint * | tex, | |
| int32 | lineWidth, | |||
| int32 | texWidth, | |||
| int32 | lineHeight, | |||
| int32 | texHeight, | |||
| int32 | xOffset, | |||
| int32 | yOffset | |||
| ) |
Create a RenderedLine.
Definition at line 1025 of file text.cpp.
References NUM_TEXTURES, texture, u, and v.
| hoa_video::RenderedLine::~RenderedLine | ( | ) |
| RenderedLine& hoa_video::RenderedLine::operator= | ( | const RenderedLine & | other | ) | [private] |
Disabled assignment operator.
The height of the line.
Definition at line 118 of file text.h.
Referenced by hoa_video::GameVideo::Draw().
| GLuint hoa_video::RenderedLine::texture[NUM_TEXTURES] |
The GL texture.
Definition at line 126 of file text.h.
Referenced by hoa_video::GameVideo::Draw(), and RenderedLine().
U texture coordinate of the line.
Definition at line 124 of file text.h.
Referenced by hoa_video::GameVideo::Draw(), and RenderedLine().
V texture coordinate of the line.
Definition at line 120 of file text.h.
Referenced by hoa_video::GameVideo::Draw(), and RenderedLine().
The width of the line.
Definition at line 122 of file text.h.
Referenced by hoa_video::RenderedString::Add(), and hoa_video::GameVideo::Draw().
1.5.1