📄 2dframe.h
字号:
//--------------------------------------------------
// Desc: 2D Frame
// Date: 2007.3.27 /update
// Author: artsylee
//
// Copyright (C) 2007 artsylee
//
//--------------------------------------------------
#ifndef _2DFRAME_
#define _2DFRAME_
#include <Windows.h>
class ASE_DLL C2DFrame
{
public:
C2DFrame();
~C2DFrame();
bool Load(const char *pFileName);
void Render(void) const;
void SetPosition(const int &x, const int &y);
void SetScale(const float &fx, const float &fy);
private:
DWORD m_hTex;
int m_XPos;
int m_YPos;
float m_fXScale;
float m_fYScale;
};
#endif // _2DFRAME_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -