📄 d3dconsolerenderingcontext.h
字号:
// --------------------------------------------------------------------------
// Dingus project - a collection of subsystems for game/graphics applications
// --------------------------------------------------------------------------
#ifndef __D3DCONSOLE_H
#define __D3DCONSOLE_H
#include "Console.h"
namespace dingus {
class CD3DFont;
class CD3DTextBoxConsoleRenderingContext : public IConsoleRenderingContext {
public:
CD3DTextBoxConsoleRenderingContext( CD3DFont& font, int x, int y, D3DCOLOR color1, D3DCOLOR color2 );
virtual void write( const std::string& message );
virtual void flush();
private:
CD3DFont& mFont;
int mX;
int mY;
D3DCOLOR mColor1, mColor2;
std::string mBuffer;
};
}; // namespace
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -