Engine
The Game Engine for Ian Parberry's "Introduction to Game Physics with Box2D"
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Pages
Engine
Text.h
Go to the documentation of this file.
1
2
3
4
#pragma once
5
6
#include <d3d9.h>
7
11
12
class
CTextManager
{
//screen text manager
13
private
:
14
HDC m_hdc;
15
IDirect3DSurface9* m_pSurface;
16
COLORREF m_cOldTextColor;
17
HFONT m_hFont;
18
public
:
19
void
GetDC
(IDirect3DSurface9* buffer, COLORREF color = RGB(255, 255, 255));
20
void
ReleaseDC
();
21
void
Write
(
char
*
string
);
22
};
//CTextManager
Generated on Tue Nov 20 2012 10:24:36 for Engine by
1.8.2