outlinefont.h
来自「这是整套横扫千军3D版游戏的源码」· C头文件 代码 · 共 27 行
H
27 行
#ifndef __OUTLINE_FONT_H__
#define __OUTLINE_FONT_H__
// OutlineFont.h: interface for the COutlineFont class.
//
//////////////////////////////////////////////////////////////////////
class COutlineFont {
public:
COutlineFont();
~COutlineFont();
void print(float xPixelSize, float yPixelSize,
const float color[4], const char* text) const;
void Enable(bool value) { enabled = value; }
bool IsEnabled() const { return enabled; }
private:
bool enabled;
};
extern COutlineFont outlineFont;
#endif // __OUTLINE_FONT_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?