font.h
来自「骨骼动画....把魔兽模型解出的代码..」· C头文件 代码 · 共 52 行
H
52 行
//+-----------------------------------------------------------------------------
//| Inclusion guard
//+-----------------------------------------------------------------------------
#ifndef MAGOS_FONT_H
#define MAGOS_FONT_H
//+-----------------------------------------------------------------------------
//| Included files
//+-----------------------------------------------------------------------------
#include "Misc.h"
//+-----------------------------------------------------------------------------
//| Font class
//+-----------------------------------------------------------------------------
class FONT
{
public:
CONSTRUCTOR FONT();
DESTRUCTOR ~FONT();
LPD3DXFONT GetFont();
BOOL Setup();
VOID Shutdown();
VOID OnLostDevice();
VOID OnResetDevice();
protected:
LPD3DXFONT Font;
};
//+-----------------------------------------------------------------------------
//| Post-included files
//+-----------------------------------------------------------------------------
#include "Graphics.h"
//+-----------------------------------------------------------------------------
//| Global objects
//+-----------------------------------------------------------------------------
extern FONT Font;
//+-----------------------------------------------------------------------------
//| End of inclusion guard
//+-----------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?