#include <SDKmisc.h>
|
| CDXUTTextHelper (ID3DXFont *pFont9=NULL, ID3DXSprite *pSprite9=NULL, int nLineHeight=15) |
|
| CDXUTTextHelper (ID3D11Device *pd3d11Device, ID3D11DeviceContext *pd3dDeviceContext, CDXUTDialogResourceManager *pManager, int nLineHeight) |
|
| ~CDXUTTextHelper () |
|
void | Init (ID3DXFont *pFont9=NULL, ID3DXSprite *pSprite9=NULL, int nLineHeight=15) |
|
void | SetInsertionPos (int x, int y) |
|
void | SetForegroundColor (D3DXCOLOR clr) |
|
void | Begin () |
|
HRESULT | DrawFormattedTextLine (const CHAR *strMsg,...) |
|
HRESULT | DrawTextLine (const CHAR *strMsg) |
|
HRESULT | DrawFormattedTextLine (RECT &rc, DWORD dwFlags, const CHAR *strMsg,...) |
|
HRESULT | DrawTextLine (RECT &rc, DWORD dwFlags, const CHAR *strMsg) |
|
void | End () |
|
Definition at line 118 of file SDKmisc.h.
◆ CDXUTTextHelper() [1/2]
CDXUTTextHelper::CDXUTTextHelper |
( |
ID3DXFont * |
pFont9 = NULL , |
|
|
ID3DXSprite * |
pSprite9 = NULL , |
|
|
int |
nLineHeight = 15 |
|
) |
| |
◆ CDXUTTextHelper() [2/2]
CDXUTTextHelper::CDXUTTextHelper |
( |
ID3D11Device * |
pd3d11Device, |
|
|
ID3D11DeviceContext * |
pd3dDeviceContext, |
|
|
CDXUTDialogResourceManager * |
pManager, |
|
|
int |
nLineHeight |
|
) |
| |
◆ ~CDXUTTextHelper()
CDXUTTextHelper::~CDXUTTextHelper |
( |
| ) |
|
◆ Begin()
void CDXUTTextHelper::Begin |
( |
| ) |
|
◆ DrawFormattedTextLine() [1/2]
HRESULT CDXUTTextHelper::DrawFormattedTextLine |
( |
const CHAR * |
strMsg, |
|
|
|
... |
|
) |
| |
◆ DrawFormattedTextLine() [2/2]
HRESULT CDXUTTextHelper::DrawFormattedTextLine |
( |
RECT & |
rc, |
|
|
DWORD |
dwFlags, |
|
|
const CHAR * |
strMsg, |
|
|
|
... |
|
) |
| |
◆ DrawTextLine() [1/2]
HRESULT CDXUTTextHelper::DrawTextLine |
( |
const CHAR * |
strMsg | ) |
|
◆ DrawTextLine() [2/2]
HRESULT CDXUTTextHelper::DrawTextLine |
( |
RECT & |
rc, |
|
|
DWORD |
dwFlags, |
|
|
const CHAR * |
strMsg |
|
) |
| |
◆ End()
void CDXUTTextHelper::End |
( |
| ) |
|
◆ Init()
void CDXUTTextHelper::Init |
( |
ID3DXFont * |
pFont9 = NULL , |
|
|
ID3DXSprite * |
pSprite9 = NULL , |
|
|
int |
nLineHeight = 15 |
|
) |
| |
◆ SetForegroundColor()
void CDXUTTextHelper::SetForegroundColor |
( |
D3DXCOLOR |
clr | ) |
|
|
inline |
◆ SetInsertionPos()
void CDXUTTextHelper::SetInsertionPos |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inline |
◆ m_clr
D3DXCOLOR CDXUTTextHelper::m_clr |
|
protected |
◆ m_nLineHeight
int CDXUTTextHelper::m_nLineHeight |
|
protected |
◆ m_pd3d11Device
ID3D11Device* CDXUTTextHelper::m_pd3d11Device |
|
protected |
◆ m_pd3d11DeviceContext
ID3D11DeviceContext* CDXUTTextHelper::m_pd3d11DeviceContext |
|
protected |
◆ m_pFont9
ID3DXFont* CDXUTTextHelper::m_pFont9 |
|
protected |
◆ m_pManager
CDXUTDialogResourceManager* CDXUTTextHelper::m_pManager |
|
protected |
◆ m_pSprite9
ID3DXSprite* CDXUTTextHelper::m_pSprite9 |
|
protected |
◆ m_pt
POINT CDXUTTextHelper::m_pt |
|
protected |
The documentation for this class was generated from the following file: