?? 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 + -