brewlogincanvas2.h

来自「象棋框架」· C头文件 代码 · 共 48 行

H
48
字号
// BrewLoginCanvas2.h: interface for the CBrewLoginCanvas2 class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_BREWLOGINCANVAS2_H__FD3F5DFC_1CA7_443F_9ADA_1D14920DC897__INCLUDED_)
#define AFX_BREWLOGINCANVAS2_H__FD3F5DFC_1CA7_443F_9ADA_1D14920DC897__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "brewlogincanvasbase.h"
#include "brewlogin.h"
#include "aeetext.h"

class CBrewLogin;

class CBrewLoginCanvas2 : public CBrewLoginCanvasBase  
{
public:
    CBrewLoginCanvas2();
    virtual ~CBrewLoginCanvas2();
	
public:
	CBrewLogin* frame;
	ITextCtl *m_pUser,*m_pPasswd;
	//IMenuCtl* m_pISoftKey;
	IStatic* m_pSep,*m_pIsSave;
	boolean m_bSave;
public:
    void setFrame(void *f);
    void paint(IDisplay *d, IGraphics *g);
    boolean keyPressed(UINT16 code, UINT32 param);
    boolean keyReleased(UINT16 code, UINT32 param);
    boolean keyRepeated(UINT16 code, UINT32 param);
    boolean key(UINT16 code, UINT32 param);  
	
	virtual void OnResume();
	virtual void onSuspend();
	void DisplayControl( IDisplay* pIDisplay, AECHAR* psTextBuf, IControl* pCtl, AEERect& rRect ,IGraphics* g);
	virtual void SetActiveCtrl(int8 pos); //0表示当前,-1上一个,1下一个	
	//virtual boolean onEvent(AEEEvent eCode, UINT16 wParam, UINT32 dwParam);
};

IBrewCanvas *CreateLoginCanvas2();

#endif // !defined(AFX_BREWLOGINCANVAS2_H__FD3F5DFC_1CA7_443F_9ADA_1D14920DC897__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?