Engine
The Game Engine for Ian Parberry's "Introduction to Game Physics with Box2D"
|
The text manager. More...
#include <Text.h>
Public Member Functions | |
void | GetDC (IDirect3DSurface9 *buffer, COLORREF color=RGB(255, 255, 255)) |
Get device context. | |
void | ReleaseDC () |
Release device context. | |
void | Write (char *string) |
Write string at cursor position. | |
The text manager.
Provides an interface for drawing text to a surface.
void CTextManager::GetDC | ( | IDirect3DSurface9 * | buffer, |
COLORREF | color = RGB(255, 255, 255) |
||
) |
Get device context.
Get a device context for a surface and set its text color.
buffer | D3D surface pointer. |
color | Default color for text. |
void CTextManager::Write | ( | char * | string | ) |
Write string at cursor position.
string | Text string. |